-->
Page 1 of 3

does anyone have OTA sample code for arduino ide ?

PostPosted: Thu Apr 30, 2015 2:50 am
by chenjeff622
i don't know how to start OTA process. does it use the feature on Arduino ide possible ?

Re: does anyone have OTA sample code for arduino ide ?

PostPosted: Thu Apr 30, 2015 1:49 pm
by AcmeUK
It would have helped if you had told us OTA was Over The Air! :?

Re: does anyone have OTA sample code for arduino ide ?

PostPosted: Fri May 01, 2015 10:12 am
by chenjeff622
hi AcmeUK!
yes! it is. i know esp8266 sdk release those function. but i don't know how to start with arduino ide environment.
3.5. Upgrade (FOTA) APIs
1. system_upgrade_userbin_check .............................................................52
2. system_upgrade_flag_set .......................................................................52
3. system_upgrade_flag_check ...................................................................52
4. system_upgrade_start ............................................................................53
5. system_upgrade_reboot .........................................................................53

Re: does anyone have OTA sample code for arduino ide ?

PostPosted: Fri May 01, 2015 10:51 am
by AcmeUK
If the SDK has the required functions you may be able to call them from the Arduino IDE. See this post http://www.esp8266.com/viewtopic.php?f=29&t=2228