1. 28 Nov, 2017 1 commit
  2. 24 Nov, 2017 1 commit
  3. 23 Nov, 2017 2 commits
    • Бобби's avatar
      Document mg_match_prefix · 0a0852b5
      Бобби authored
      PUBLISHED_FROM=b85fe1ee1e7bae4528c1240d8531c410728d0709
      0a0852b5
    • Deomid Ryabkov's avatar
      Compatibility with LwIP 2.0 · 90716417
      Deomid Ryabkov authored
      2.0 redefined LWIP_VERSION in a way that is no longer compatible with use by preprocessor (boo).
      also, tcp_pcb.acked is gone, but we only use it for debug, so it doesn't matter.
      
      PUBLISHED_FROM=776f90a08bd5024fa8a61dae257af6c60ec6710d
      90716417
  4. 21 Nov, 2017 1 commit
    • Deomid Ryabkov's avatar
      Use weaker but faster cipher suites · 101afbc9
      Deomid Ryabkov authored
      ECDHE is way too slow on ESP8266 w/o cryptochip, this sometimes results in WiFi STA deauths.
      Disable DHE completely because it's just hopelessly slow.
      
      PUBLISHED_FROM=d9c8e95b7d5c992f9e127726c569f187b1e0b453
      101afbc9
  5. 09 Nov, 2017 1 commit
  6. 08 Nov, 2017 1 commit
  7. 31 Oct, 2017 1 commit
  8. 30 Oct, 2017 2 commits
  9. 24 Oct, 2017 1 commit
  10. 21 Oct, 2017 1 commit
    • Deomid Ryabkov's avatar
      Fix timer handling · 9b268b6c
      Deomid Ryabkov authored
      ev_timer_time may remain the same for legit reason, so to prevent looping, instead, reset it before invoking the handler.
      To let user know what the initial setting was, pass it as the argument instead of current time (which is kind of pointless).
      
      PUBLISHED_FROM=fa328009f097f9b49b5b0dd13a38ee6d6e6518de
      9b268b6c
  11. 19 Oct, 2017 4 commits
  12. 18 Oct, 2017 2 commits
  13. 16 Oct, 2017 1 commit
  14. 11 Oct, 2017 1 commit
    • Dmitry Frank's avatar
      BREAKING: Sys config API change · f0c6630a
      Dmitry Frank authored
      Now apps should use getters and setters instead of accessing struct
      fields directly, e.g. instead of `get_cfg()->update.timeout` it should
      be `mgos_sys_config_get_update_timeout()` to get the current value, and
      `mgos_sys_config_set_update_timeout(123)` to update the value.
      
      For now, the config structs are public, but they will be made private
      soon, so use accessors to keep your code working.
      
      PUBLISHED_FROM=f7d582421a8d7e4d1ed50a280f2670d8b62f8d45
      f0c6630a
  15. 14 Sep, 2017 2 commits
    • Deomid Ryabkov's avatar
      Do not double-count recved bytes · 1db747da
      Deomid Ryabkov authored
      Mongoose would report consumed bytes twice if mg_call is invoked recursively (e.g. proto_handler uses mg_call to invoke user's handler).
      Reporting twice as much recved as was delivered effectively disables LwIP's TCP throttling and causes buffers to grow too big.
      
      PUBLISHED_FROM=4ad5cd5db4dd54623bd6de2d50d32ddcc9e2b08a
      1db747da
    • Deomid Ryabkov's avatar
      Acquire lock when manipulating rx in SSL recv path · 8065439f
      Deomid Ryabkov authored
      PUBLISHED_FROM=a34cfa3ebc12daf75d7f24c8d3f3707dcc33d9a2
      8065439f
  16. 13 Sep, 2017 4 commits
  17. 12 Sep, 2017 1 commit
  18. 07 Sep, 2017 1 commit
  19. 06 Sep, 2017 6 commits
  20. 01 Sep, 2017 1 commit
  21. 31 Aug, 2017 2 commits
  22. 30 Aug, 2017 3 commits
    • Deomid Ryabkov's avatar
      CC3220: GPIO, sys_config and mgos_init support · 20230095
      Deomid Ryabkov authored
      ```
      Using port /dev/ttyACM0
      [Aug 30 19:33:02.105]
      [Aug 30 19:33:02.114] cc32xx_init          c_no_libs 1.0 (20170830-163205/mos8@6587ffd6+)
      [Aug 30 19:33:02.123] cc32xx_init          Mongoose OS 2017083016 (20170830-163205/mos8@6587ffd6+)
      [Aug 30 19:33:02.130] cc32xx_init          RAM: 253588 total, 240044 free
      [Aug 30 19:33:04.430] cc32xx_start_nwp     NWP v3.4.0.0 started, host driver v2.0.1.19
      [Aug 30 19:33:04.437] mgos_vfs_dev_open    slfs_container ({"prefix": "spiffs.img.0"}) -> 20005a64
      [Aug 30 19:33:04.450] cc32xx_vfs_dev_slfs_ 20005a64 spiffs.img.0.0 262144 0xfffffffffffffffe
      [Aug 30 19:33:04.457] mgos_vfs_mount       Mount SPIFFS @ / (dev 20005a64, opts ) -> 20005a74
      [Aug 30 19:33:06.102] mgos_vfs_mount       /: size 233681, used: 4016, free: 229665
      [Aug 30 19:33:06.108] mgos_vfs_mount       Mount SLFS @ /slfs (dev 0, opts ) -> 20005ed4
      [Aug 30 19:33:06.114] mgos_vfs_mount       /slfs: size 0, used: 0, free: 0
      [Aug 30 19:33:06.718] mgos_sys_config_init MAC: 04A316459442
      [Aug 30 19:33:06.720] mgos_sys_config_init WDT: 30 seconds
      [Aug 30 19:33:06.724] Hello, world!
      [Aug 30 19:33:06.728] mgos_init            Init done, RAM: 253588 total, 236544 free, 235864 min free
      ```
      
      PUBLISHED_FROM=7e83c9ddcc642bd324a40e125d6636ece824fb18
      20230095
    • Deomid Ryabkov's avatar
      CC3220 FS support · c7bea65a
      Deomid Ryabkov authored
      For now, we only support SPIFFS-in-a-box, same as CC3200.
      On CC3200SF it should be possible to have SPIFFS on built-in flash, but that is left for later.
      
      PUBLISHED_FROM=dee337c8cd8ed288c22abe9960eef81e6e90cc4a
      c7bea65a
    • Deomid Ryabkov's avatar
      Harden MQTT parser some more · d5a9000d
      Deomid Ryabkov authored
      PUBLISHED_FROM=5e7fcc7bf145aa8e1045e8d627b1c0731bb4341b
      d5a9000d