Mongoose OS 2.10.0
New features
- wifi: CC3220: Enterprise auth support (cesanta/mjs@be72be0 cesanta/mongoose-os@a7c59d1 mongoose-os-apps/demo-c@cf86628 mongoose-os-libs/boards@1f005bd mongoose-os-libs/mongoose@641a970 mongoose-os-libs/vfs-common@9ac59e5 mongoose-os-libs/wifi@91be660)
API changes
- Refactored BT GATTS API, added mJS bindings (mongoose-os-libs/bt-common@c4f1f32 mongoose-os-libs/bt-service-config@de7840b mongoose-os-libs/bt-service-debug@e7ba798 mongoose-os-libs/bt-service-time@23b5136 mongoose-os-libs/rpc-gatts@43d30d9)
- mJS wrapper for GATTC API (mongoose-os-libs/bt-common@565a159 mongoose-os-libs/bt-service-config@1c74696 mongoose-os-libs/bt-service-debug@b1465e0 mongoose-os-libs/bt-service-time@dfc7a9d mongoose-os-libs/rpc-gatts@95ce01c)
- mos: Add create-fw-bundle command (cesanta/mjs@b148135 cesanta/mongoose-os@b940db6 cesanta/mos-tool@81a0e52)
- mg: Add ability for multipart data handler to provide pushback (mongoose-os-libs/mongoose@5253685)
- Add mbuf_append_and_free() and mbuf_move() (cesanta/mjs@89971bc cesanta/mongoose-os@85c9309 mongoose-os-libs/mongoose@8695560)
- ESP32: Provide ability to set ESP32 ADC width and channel attenuation (mongoose-os-libs/adc@66859b0)
- Refactor BLE scanning API, add mJS interface (mongoose-os-libs/bt-common@ece95b0)
- wifi: Add reason to STA disconnection event (ESP8266 and ESP32 only) (mongoose-os-libs/wifi@e5a1fd4 mongoose-os-libs/wifi-ism43xxx@9c15b9e)
Notable changes
- Update ESP-IDF to 3.2 @ 1c4d9f2 (cesanta/mongoose-os@baddd53)
- OTA refactoring (cesanta/mongoose-os@d16405d mongoose-os-libs/core@b713e39 mongoose-os-libs/ota-common@3755aab mongoose-os-libs/ota-http-client@8ea3c59)
Other stuff
- Squash warnings (cesanta/mongoose-os@e8c4d56 mongoose-os-libs/rpc-common@5a5aba2)
- bt-service-config: Fix printing a NULL string (mongoose-os-libs/bt-service-config@0567a96)
- mos: Add --rpc-uart-no-delay (cesanta/mos-tool@f214e74)
- Add Status and StatusOr classes to util (cesanta/mongoose-os@d7a4628)
- mos: Fix printing output if build fails (cesanta/mos-tool@0c43441)
- mos: Fix writing of ZIP firmware bundles (cesanta/mos-tool@b530c0f)
- Simplify polling logic (cesanta/mongoose-os@e4788c0)
- Adjust BLE response size (mongoose-os-libs/rpc-gatts@665e064)
- Introduce update.extra_http_headers tunable (mongoose-os-libs/ota-http-client@4d6473a)
- mos: Send offset in FS.Put requests (cesanta/mos-tool@ab8a56b)
- mos: Make fsOpAttempts a flag (--fs-op-attempts, default 3) (cesanta/mos-tool@6179fd0)
- Make MG_CTL_MSG_MESSAGE_SIZE overridable (mongoose-os-libs/mongoose@bc683a5)
- FS.Put: use the offset argument, if provided (mongoose-os-libs/rpc-service-fs@d51b368)
- mos: Fall back to fetching assets via public URLs if API returns an error (cesanta/mos-tool@fb4ff28)
- mg: Ensure that user sees all the data before connection is closed (cesanta/mjs@d492fc2 cesanta/mongoose-os@464db89 mongoose-os-libs/mongoose@e59d0b8)
- mjs: Support for nested structs and < 32 bit types in s2o() (cesanta/mjs@c49c7e6 mongoose-os-libs/azure@c8008b6)
- mjs: Add user-specified field value conversion function (MJS_STRUCT_FIELD_TYPE_CUSTOM) (cesanta/mjs@a38b71b)
- Don't build demo-js for 1M and 2M esp8266 - not enoug FS space (cesanta/mos-tool@35c712c)
- Set default LED pin to 13 for ESP32 (mongoose-os-libs/boards@a8289a4)
- Check for NULL in tcp_recved_tcpip() (cesanta/mjs@031e22b cesanta/mongoose-os@b344cb8)
- mos licensing implementation (cesanta/mongoose-os@c314a13 cesanta/mos-tool@36ec968 mongoose-os-apps/demo-c@f7b7511 mongoose-os-libs/http-server@3854855 mongoose-os-libs/rpc-common@a20f1fa)