Packet format
This is the sample packet format that is sent from the device, its a JSON array, there will be multiple fields depending on the updates, you can disable or enable what you want in the code.
The array can single object as above or have multiple objects like below
Acknowledgment : The device firmware expects an acknowledgement string "logid" by default, because thats what we use in our server. You can change it to whatever value you like. Its in XHTTP_Request function. For google scripts it expects response value as "Moved" . If it doesn't receive the acknowledgement text, it will keep repeating the packets.
Last updated