Perform OTA Update
[TCP <--> InvisOutlet]
Performing updates to the latest firmware for either InvisOutlet or InvisDeco.
Request
packetID: Represents the ID of the packet. This can be any six digit number, no leading zeros.payload:callbackName: 21callbackArgs:0: Specifies which device to update; 1 - InvisOutlet, 2 - InvisDeco.1: Specifies which method to update InvisDeco; 0 - via Wi-Fi, 1 - via InvisOutlet
{
"packetID": 414883,
"payload":
{
"callbackName": 21,
"callbackArgs": [1,0]
}
}Response (revB, synchronous)
sn: The serial number of the InvisOutlet.packetID: Represents the ID of the packet based on requestpacketID.payload:callbackName: 21callbackArgs:0: Specifies which device is performing the update; 1 - InvisOutlet, 2 - InvisDeco.1: Specifies whether the OTA is performed successfully or not; 1 - OTA will continue to perform, 0 - Fail
Last updated