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

Request Available Updates

[TCP <--> InvisOutlet]

Check available firmware updates (Over-the-Air updates) for InvisOutlet and InvisDeco.

Request

  • packetID: Represents the ID of the packet. This can be any six digit number, no leading zeros.

  • payload:

    • callbackName: 20

{
  "packetID": 221040,
  "payload":
  {
    "callbackName": 20
  }
}

Response

Success:

  • sn: The serial number of the InvisOutlet.

  • packetID: Represents the ID of the packet based on request packetID.

  • PUBACK : If the request is successfully processed; 1 - Successful.

    • callbackName: 20

      • callbackArgs:

        • IM:

          • fw_rev: The current running firmware version of the InvisOutlet.

          • available_fw_rev: The available firmware version for the InvisOutlet; if the available firmware revision matches the current firmware revision, indicating that there is no available updates.

        • PM :

          • fw_rev: The current running firmware version of the InvisDeco.

          • available_fw_rev: The available firmware version for the InvisDeco; if the available firmware revision matches the current firmware revision, indicating that there is no available updates.

Fail:

  • sn: The serial number of the InvisOutlet.

  • packetID: Represents the ID of the packet based on request packetID.

  • PUBACK : If the request is successfully processed; 0 - Failed.

Last updated