For the complete documentation index, see llms.txt. This page is also available as Markdown.

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: 23

  • payload.callbackArgs[0]: Partition or device whose OTA completed.

    • 1 — InvisOutlet application partition

    • 2 — InvisDeco application partition

    • 3 — 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:

  1. Wait for the InvisDeco result: [2, 1] or [2, 0].

  2. If the result is [2, 1], the InvisOutlet stage starts next.

  3. Wait for the InvisOutlet application result: [1, 1] or [1, 0].

  4. If a WWW partition update is performed, also process its role-3 updates.

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