This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
|
oak:tutorials:api_reference [2016/10/27 19:11] pfeerick [SoftAP Protocol] Added note on how to get out of SoftAP |
oak:tutorials:api_reference [2016/11/11 22:03] pfeerick [ESP8266 API] |
||
|---|---|---|---|
| Line 33: | Line 33: | ||
| All of the [[http://esp8266.github.io/Arduino/versions/2.0.0/doc/libraries.html|ESP8266 2.0.0 APIs are available]] | All of the [[http://esp8266.github.io/Arduino/versions/2.0.0/doc/libraries.html|ESP8266 2.0.0 APIs are available]] | ||
| - | Some ESP8266 libraries that change the WiFi connection settings or state may break your Oak. So be prepared to break out a 3.3v USB to Serial adapter, and follow the recovery instructions to [[https://github.com/digistump/OakRestore|restore your Oak]] if you mess with those! | + | Some ESP8266 libraries that change the WiFi connection settings or state may break your Oak, or simply prevent your code from compiling (if you are lucky!). Be prepared to break out a 3.3v USB to Serial adapter, and follow the recovery instructions to [[https://github.com/digistump/OakRestore|restore your Oak]] if you mess with those! |
| Line 71: | Line 71: | ||
| Commands are available via http, tcp, and serial. | Commands are available via http, tcp, and serial. | ||
| - | |||
| - | You can get out of SoftAP and back to the user sketch by rebooting the Oak or by connecting to the Oak's AP and sending a post request to 192.168.0.1/connect-ap with a raw body of {"idx":0} | ||
| Full list of commands implemented on the Oak are here: [[oak:tutorials:internalurls|Oak Internal URLs]] | Full list of commands implemented on the Oak are here: [[oak:tutorials:internalurls|Oak Internal URLs]] | ||