Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the exhibit connection to the Gumband Cloud is pending or unstable, the following connections are added to a “Waiting for Authentication” queue until the SDK receives the connected hardware list from the Gumband Cloud. If the SDK does not receive that list within 10 sec of the hardware connection, the SDK initiates a disconnection at which point the hardware would will back off and retry. That cycle would continue continues until the SDK had has the required hardware info and the hardware is able to successfully connect.

...

SDK HARDWARE_ONLINE & HARDWARE_OFFLINE Callbacks

I added There is a HARDWARE_ONLINE callback for the SDK that is used when the token is accepted and the SDK sends back true on hardwareId/authenticate. I also added a hardware There is also an "expiry" timeout that triggers a HARDWARE_OFFLINE event in the SDK if the heartbeat for a particular harwareId isn’t received within 20s. The hardware currently sends a heartbeat every 16s