This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
oak:tutorials:internalurls [2016/03/05 03:49] pfeerick created |
oak:tutorials:internalurls [2016/10/27 19:14] (current) pfeerick Note on how to remotely get out of config mode added |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ^ URL ^ Purpose ^ | ^ URL ^ Purpose ^ | ||
| - | | http://192.168.0.1/version | ?| | + | | 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| | + | | 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 | ?| | + | | http://192.168.0.1/scan-ap | Returns the available WiFi networks| |
| - | | http://192.168.0.1/configure-ap | ?| | + | | http://192.168.0.1/configure-ap | Allows setting the WiFi connection settings| |
| - | | http://192.168.0.1/connect-ap | ?| | + | | http://192.168.0.1/connect-ap | Connects to the current wifi settings and reboots to the user rom (if available)| |
| - | | http://192.168.0.1/public-key | ?| | + | | http://192.168.0.1/public-key | Returns the Oaks public key (hex encoded)| |
| | http://192.168.0.1/set | Allows setting of key configuration values| | | http://192.168.0.1/set | Allows setting of key configuration values| | ||
| - | | http://192.168.0.1/hello | ?| | + | | http://192.168.0.1/hello | Just a static page - no use| |
| | http://192.168.0.1/info | Provides all sorts of information such as whether the Oak has been successfully registered on Particle, what the system firmware version is, etc.| | | http://192.168.0.1/info | Provides all sorts of information such as whether the Oak has been successfully registered on Particle, what the system firmware version is, etc.| | ||
| - | | http://192.168.0.1/particle | ?| | + | | http://192.168.0.1/particle | Displays whether the Oak is connected to the Particle cloud or not| |
| | http://192.168.0.1/system-version | Displays the system firmware version number| | | http://192.168.0.1/system-version | Displays the system firmware version number| | ||
| - | | http://192.168.0.1/system-update | ?| | + | | http://192.168.0.1/system-update | Forces the Oak to try to update the system - do not use| |
| - | //Note: If someone has a better name for this page, or wishes to combine it into another, by all means do so!// | + | 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 | ||