Mettre à jour 'README.md'
This commit is contained in:
parent
634faad650
commit
ca0b355690
22
README.md
22
README.md
@ -147,6 +147,12 @@ Here is a list of the available api calls for the board :
|
|||||||
* Response format : JSON
|
* Response format : JSON
|
||||||
* OK : { "status" : "ok", "date" : "xx/xx/xxxx", "time" "xx:xx:xx" }
|
* OK : { "status" : "ok", "date" : "xx/xx/xxxx", "time" "xx:xx:xx" }
|
||||||
* FAIL : { "status" : "failed", "message" : "REASON" }
|
* FAIL : { "status" : "failed", "message" : "REASON" }
|
||||||
|
* /sab/sdcard/size
|
||||||
|
* HTTP request method : GET
|
||||||
|
* Description : Show SD Card size in GByte
|
||||||
|
* Response format : JSON
|
||||||
|
* OK : { "status" : "ok", "card" : "present", "size" : "xx.xx", "unit" : "GByte" }
|
||||||
|
* OK : { "status" : "ok", "card" : "not present", "size" : "0" }
|
||||||
* /sab/sdcard/unmount
|
* /sab/sdcard/unmount
|
||||||
* HTTP request method : GET
|
* HTTP request method : GET
|
||||||
* Description : Unmount the SD Card in order to remove it
|
* Description : Unmount the SD Card in order to remove it
|
||||||
@ -161,11 +167,23 @@ Here is a list of the available api calls for the board :
|
|||||||
* /esp/restart
|
* /esp/restart
|
||||||
* HTTP request method : GET
|
* HTTP request method : GET
|
||||||
* Description : Restart the UC, this one is recommended compared to the reset call
|
* Description : Restart the UC, this one is recommended compared to the reset call
|
||||||
* Response format : NOTHING
|
* Response format : JSON
|
||||||
|
* OK : { "status" : "ok", "message" : "module restarting in 10 seconds" }
|
||||||
* /esp/reset
|
* /esp/reset
|
||||||
* HTTP request method : GET
|
* HTTP request method : GET
|
||||||
* Description : Reset the UC
|
* Description : Reset the UC
|
||||||
* Response format : NOTHING
|
* Response format : JSON
|
||||||
|
* OK : { "status" : "ok", "message" : "module resetting in 10 seconds" }
|
||||||
|
* /sab/wifi/stainfo
|
||||||
|
* HTTP request method : GET
|
||||||
|
* Description : Get the module's station information
|
||||||
|
* Response format : JSON
|
||||||
|
* OK : { "status" : "ok", "RSSI" : "-XX", "RSSI2" : "X", "local IP" : "XXX.XXX.X.XX", "mac" : "XX:XX:XX:XX:XX:XX" }
|
||||||
|
* /sab/systeminfo
|
||||||
|
* HTTP request method : GET
|
||||||
|
* Description : Get the module's system information (free memory, heap frag etc...)
|
||||||
|
* Response format : JSON
|
||||||
|
* OK : { "status" : "ok", "CPU freq" : "XX", "free RAM" : "XXXXX", "heap frag" : "X", "max block" : "XXXXX", "nb views" : "X" }
|
||||||
|
|
||||||
|
|
||||||
### Things to do :
|
### Things to do :
|
||||||
|
Loading…
Reference in New Issue
Block a user