Mettre à jour 'README.md'

This commit is contained in:
Th3maz1ng 2019-09-01 23:07:00 +02:00
parent 634faad650
commit ca0b355690

View File

@ -147,6 +147,12 @@ Here is a list of the available api calls for the board :
* Response format : JSON
* OK : { "status" : "ok", "date" : "xx/xx/xxxx", "time" "xx:xx:xx" }
* 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
* HTTP request method : GET
* 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
* HTTP request method : GET
* 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
* HTTP request method : GET
* 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 :