OTA Result Update (Synchronous)
[InvisOutlet -> TCP/WebSocket]
Reports the final result of an InvisOutlet or InvisDeco OTA stage.
Response
sn: InvisOutlet serial number.packetID: A newly generated packet ID for this synchronous update.payload.callbackName:23payload.callbackArgs[0]: Partition or device whose OTA completed.1— InvisOutlet application partition2— InvisDeco application partition3— InvisOutlet WWW partition
payload.callbackArgs[1]: Result.1— Stage succeeded.0— Stage failed.
{
"sn": "0003D44076",
"packetID": 301552,
"payload": {
"callbackName": 23,
"callbackArgs": [2, 1]
}
}Full update result sequence
For callback 21 update target 3, evaluate the results as an ordered transaction:
Wait for the InvisDeco result:
[2, 1]or[2, 0].If the result is
[2, 1], the InvisOutlet stage starts next.Wait for the InvisOutlet application result:
[1, 1]or[1, 0].If a WWW partition update is performed, also process its role-
3updates.
A result of [2, 0] ends the full update. The InvisOutlet stage will not run. A successful InvisOutlet application update may reboot the device immediately, so the client should tolerate disconnection and reconnect when necessary.
Last updated