lwm2m ota for esp8266

Post on 13-Apr-2017

1.307 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

OTAXMOver The Air (OTA)Arduino firmware upgrade for ESP8266via cloud platform (leshan/hawkbit)

by Manolis Nikiforakismanolis @ weatherxm.com

ESP8266 revolution

2014

● Arduino UNO + Wifi Shield ~50€● Arduino Yun ~50€● TI CC3200 launchpad ~ 30€● Spark Core ~ 30€● Econais WiSmart ~ 30€

..yet wifi dongles exist with 2€ (?)

2015

● Espressif ESP8266 (ESP-1) ~3€

ESP8266 Hardware Mutations

NodeMCU v0.9

NodeMCU v1.0

HUZZAH

ESP-3

ESP-12E

ESP-1deep sleepenabled

ESP8266 Firmwares

● AT+ commands○ with help libraries for arduino

● NodeMCU○ LUA scripts

● Espressif ESP8266 RTOS SDK● ESP open sdk ● Kaa IoT platform ● Smart.js - Cesanta● Sming, ESPduino, SLIP.. ● …● Arduino

Arduino OTA for ESP8266

OTA may be done using

● Arduino IDE

● Web Browser

● HTTP Server○ This is the only NAT friendly approach, through periodic server polling

Eclipse IoT

LightWeight M2M functional overview

LightWeight M2M functional overview

mbed example

MBED LPC1768

ARM Cortex M3

96MHz

32KB RAM

512KB FLASH

Eclipse Hawkbit

https://projects.eclipse.org/projects/iot.hawkbit

Eclipse IoT Challenge

OTAXM

1. Port Wakaama (lwM2M) to ESP8266○ some coap enpoints○ attempt merging with ArduinoOTA (?)

2. Make it an Arduino Library○ enrich coap endpoints○ improve ArduinoOTA - Wakaama merge

3. Control ESP8266 from Leshan○ and Hawkbit in the future

Alternative approach: enrich Arduino microcoap with wakaama enpoints and modify ArduinoOTA to include lwM2M compatibility

Let’s share the glory (and the $$$)

Deadline 26 February

Thank you!Manolis Nikiforakis

manolis @ weatherxm.com

top related