1. 18 Oct, 2017 2 commits
  2. 16 Oct, 2017 1 commit
  3. 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
  4. 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
  5. 13 Sep, 2017 4 commits
  6. 12 Sep, 2017 1 commit
  7. 07 Sep, 2017 1 commit
  8. 06 Sep, 2017 6 commits
  9. 01 Sep, 2017 1 commit
  10. 31 Aug, 2017 2 commits
  11. 30 Aug, 2017 4 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
    • Deomid Ryabkov's avatar
      Fix subscription parsing in MQTT broker · f6201845
      Deomid Ryabkov authored
      Also, do not accept PUBLISH and SUBSCRIBE before a sucessful CONNECT.
      
      PUBLISHED_FROM=b5096cdc2ec5da1358244c428efbbb2e20be1a05
      f6201845
  12. 29 Aug, 2017 1 commit
  13. 27 Aug, 2017 1 commit
  14. 26 Aug, 2017 1 commit
    • Deomid Ryabkov's avatar
      CC3220 first steps · 38e984a0
      Deomid Ryabkov authored
      Achievement unlocked: CC3220 port prints a boot banner.
      Then locks up.
      
      Included in this PR is refactoring to pull out common parts to be shared with CC3200.
      
      PUBLISHED_FROM=5fb9d9a00bb9ce7f63dde20bc1876076b76d5257
      38e984a0
  15. 24 Aug, 2017 1 commit
    • Our CI Bot's avatar
      Add mqtt_over_websocket_server example · 09e42547
      Our CI Bot authored
      Fixed bug in websocket handshake:
      now adding Sec-WebSocket-Protocol header in handshake response.
      
      PUBLISHED_FROM=e4a71ff9dc4aeec63db40cb7f356dc5b25c1215a
      09e42547
  16. 22 Aug, 2017 1 commit
  17. 21 Aug, 2017 2 commits
  18. 17 Aug, 2017 2 commits
  19. 16 Aug, 2017 1 commit
  20. 27 Jul, 2017 1 commit
  21. 21 Jul, 2017 2 commits
  22. 20 Jul, 2017 1 commit
  23. 17 Jul, 2017 1 commit