6. Introduction to Mongoose OS (MOS)
●
An Open source OS for IoT
●
Started as embedded web server. Expanded to an IoT OS
●
Dual License, Apache or Commercial
●
Development in C / C++ / JS
●
Tool chain support on Windows, Linux, MacOS
11. MOS Networking Library
●
Swiss army knife for embedded network programming
●
Event-driven, non-blocking, single-threaded, asynchronous API
●
Built-in protocols: TCP, UDP, HTTP, WebSocket, MQTT, DNS, ...
for client and server mode
●
Cross-platform
●
Tiny static and runtime footprint
●
Very easy to integrate
12. MOS – IoT Cloud Integration
●
Amazon AWS IoT
●
Microsoft Azure IoT
●
Google IoT Core
●
IBM Watson IoT
●
Private MQTT / Rest Backends
13. MOS – Components
●
Mos application – Device Management, Firmware build/flash/debug
●
Build Options
– Online Build (Mongoose cloud build)
– Local Build: Docker Image with vendor’s SDK and MOS Sources
●
Libraries and apps
16. MOS APIs and extras
●
Cron/Crontab
●
Device location (lat/lon)
●
File logger
●
JSON store
●
mJS JavaScript engine
●
Sensor utilities
●
Drivers for many devices
●
Arduino Compatibility Layer
17. MOS Networking APIs
●
BLE, Ethernet, WiFi (AP/STA), PPPoS
●
HTTP Client/Server, MQTT Client, DNS-SD, SNTP
●
TLS 1.2
●
Cloud services (AWS IoT, Google IoT, Microsoft Azure, IBM Watson)
●
RPC
●
Reliable OTA firmware update
18. MOS RPC
●
JSON-RPC 2.0 (almost compliant)
●
API for writing RPC handlers (in C or JS)
●
Built-in MOS services available via RPC:
– Config, Cron, FS, GATT client, GPIO, I2C, OTA, WiFi
●
RPC over UART, MQTT, WS, REST, BLE, loopback
22. Want to get hand-on?
Workshop: Developing a Complete Embedded IoT Solution Using Mongoose OS (WS14AD - Mongoose
OS)
Understand the IoT Architecture and Build an end to end IoT solution using Mongoose OS, NodeMCU
ESP32 and Amazon AWS IoT Cloud.
Speaker: Mr. Mubeen (Technology Head) and Mr. Adil (HW design Head), Emertxe.
Date: 14/02/2020
Time: 03:15PM – 05:45PM
Venue: Workshop Hall D, KTPO, Bangalore