diff --git a/README.md b/README.md index 422e98c..28880c5 100644 --- a/README.md +++ b/README.md @@ -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...) * Response format : JSON * 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 :