Mettre à jour 'README.md'

This commit is contained in:
Th3maz1ng 2019-09-01 23:16:11 +02:00
parent ca0b355690
commit 308bd4cbb6

View File

@ -184,6 +184,17 @@ Here is a list of the available api calls for the board :
* Description : Get the module's system information (free memory, heap frag etc...) * Description : Get the module's system information (free memory, heap frag etc...)
* Response format : JSON * Response format : JSON
* OK : { "status" : "ok", "CPU freq" : "XX", "free RAM" : "XXXXX", "heap frag" : "X", "max block" : "XXXXX", "nb views" : "X" } * OK : { "status" : "ok", "CPU freq" : "XX", "free RAM" : "XXXXX", "heap frag" : "X", "max block" : "XXXXX", "nb views" : "X" }
* /sab/power/info
* HTTP request method : GET
* Description : Get the module's power information
* Response format : JSON
* OK : { "status" : "ok", "power type" : "USB", "level" : "0", "unit" : "%" }
* /sab/io/get/level
* /sab/io/get/level?P0&P2&PX...
* HTTP request method : GET
* Description : Get the module's I/O logic levels, it is possible to check the level of specific pins
* Response format : JSON
* OK : { "status" : "ok", "P0" : "1", "P1" : "1", "P2" : "0", "P3" : "1", "P4" : "1", "P5" : "1", "P6" : "1", "P7" : "1" }
### Things to do : ### Things to do :