User Tools

Site Tools


oak:tutorials:internalurls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
oak:tutorials:internalurls [2016/04/08 13:07]
digistump
oak:tutorials:internalurls [2016/10/27 19:14]
pfeerick Note on how to remotely get out of config mode added
Line 6: Line 6:
 ^ URL                                ^ Purpose ​ ^ ^ URL                                ^ Purpose ​ ^
 | http://​192.168.0.1/​version ​        | Returns the version of this setup protocol being used| | http://​192.168.0.1/​version ​        | Returns the version of this setup protocol being used|
-| http://​192.168.0.1/​device-id ​      | Displays the unique device identification number for your Oak, and it's claim status on Particle, with a 0 for no claim, and a 1 for a successful claim.+| http://​192.168.0.1/​device-id ​      | Displays the unique device identification number for your Oak, and it's claim status on Particle, with a 0 for no claim, and a 1 for a successful claim.|
 | http://​192.168.0.1/​scan-ap ​        | Returns the available WiFi networks| | http://​192.168.0.1/​scan-ap ​        | Returns the available WiFi networks|
 | http://​192.168.0.1/​configure-ap ​   | Allows setting the WiFi connection settings| | http://​192.168.0.1/​configure-ap ​   | Allows setting the WiFi connection settings|
Line 18: Line 18:
 | http://​192.168.0.1/​system-update ​  | Forces the Oak to try to update the system - do not use| | http://​192.168.0.1/​system-update ​  | Forces the Oak to try to update the system - do not use|
  
 +
 +You can get out of config mode 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}
  
 More info on the SoftAP Protocol: https://​github.com/​spark/​firmware/​blob/​845a5b489924d6953f966c8b6bb02b915d7f66ae/​hal/​src/​photon/​soft-ap.md More info on the SoftAP Protocol: https://​github.com/​spark/​firmware/​blob/​845a5b489924d6953f966c8b6bb02b915d7f66ae/​hal/​src/​photon/​soft-ap.md
oak/tutorials/internalurls.txt · Last modified: 2016/10/27 19:14 by pfeerick