added description of json file structure
This commit is contained in:
parent
ee14a37ee4
commit
5f6c4d62b3
|
|
@ -21,6 +21,18 @@
|
|||
* \copyright Apache License, Version 2.0
|
||||
*/
|
||||
|
||||
/*!
|
||||
* Structure of JSON data for system MQTT API
|
||||
* {
|
||||
* "messid":12345, //uint32_t message id for request/response context
|
||||
* "api":"2.0", //string of current API version
|
||||
* "request":"GET", //string request type - "GET" or "POST" allowed
|
||||
* "url":"iotronic.cloud", //string url of resource
|
||||
* "postdata":"param1=value¶m2=value", //string of POST data payload (required if request is POST)
|
||||
* "reload":"true" //string "true" or "false" is needed reload page after POST request (required if request is POST)
|
||||
* }
|
||||
*/
|
||||
|
||||
#include "MQTT.h"
|
||||
#include "jWrite.h"
|
||||
#include "jRead.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user