User Tools

Site Tools


oak:tutorials:internalurls

Oak Internal URLs

When you are connected to the ACORN-XXXXX Access Point (AP) that your OAK creates, there are a number of web addresses or URLs which you can access using your web browser, which provide information about different aspects of the configuration of your Oak, or instruct it to do certain things.

URL Purpose
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/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/connect-ap Connects to the current wifi settings and reboots to the user rom (if available)
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/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/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-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

oak/tutorials/internalurls.txt · Last modified: 2016/10/27 19:14 by pfeerick