Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
--esp-baud-rate
to set higher.mos watson-iot-setup
, watson
library, RPC channel support (mos call --port watson://...
). See library README for details.mos debug-core-dump
, automatic core dump analysis from mos console
: https://github.com/cesanta/mos-tool/commit/9991c589bbaac33e293d671892987b747066e20d
apply()
mgos_uart_config_set_tx_params
mgos_azure_send_d2c_msgf
shadow.ota_enable
knob, per AWS requestmos azure-iot-setup
) and a library Cloud-to-Device and Device-to-Cloud messaging, Device Twin shadow support, Direct Method invocation and RPC over Direct Method (including mos call
support).String.indexOf
s2o()
, a way to convert structs to objs (see here)mg_url_encode_opt()
- a parametrized version of mg_url_encode()
json_{sprintf,vsprintf}()
mgos_mqtt_pubf()
- a helper to pub JSON messagesmgos_dns_sd_advertise()
, mgos_dns_sd_goodbye()
mg_http_parse_header()
: treat ";" as a delimiter.shadow.enable
knob to control the shadow libMongoose OS 2.0 introduces license change:
See Licensing section for details.
Firmware
mgos_dash_callf_noreply()
API to dash librarymgos_rlock_*
functions publicmake debug_coredump
for esp32 and esp8266mJS:
Mongoose Web Server:
nonce
argument to mg_http_create_digest_auth_header()
: clients should use the value received from the server's authentication request.mg_bind
or mg_bind_opt
.mg_http_parse_header()
and implement mg_http_parse_header2()
instead, which allocates a new buffer if the client-provided one is not large enough (similarly to asprintf
).mos tool:
Mongoose OS:
esp_bd_addr_t
with generic mgos_bt_addr
Mos tool:
Mos tool:
Firmware:
mgos_event_add_group_handler()
in C and
Event.addGroupHandler()
in mJSmgos_net_add_event_handler()
is deprecated in favor of mgos_event
-based
API. See comment for MGOS_EVENT_GRP_NET
for the example.Fix brew build: mos shouldn't check for updates because when installed via brew it should be updated also via brew
Mos tool:
<arch>_<mac>
Firmware:
wifi.ap.hostname
: e.g. if it's set to foo.com
, then all clients connected to the device's wifi AP
would be able to use the hostname foo.com
instead of the device's IP 192.168.4.1
.This is a bugfix release.
--libs-dir
didn't work correctly for libs which aren't git repositories.