Subscribe

Create a subscription to a device's messages.

Create a subscription to a device's messages. Subscribe tries to subscribe the connection to every message type. To limit subscriptions, use the types attribute.

Event: "subscribe", params

  • params
    • uuid UUID of the device to subscribe to.
    • types Array of strings of types to subscribe to. Valid types are:
      • broadcast broadcast messages sent by the device and messages the device receives as a result of it being subscribed to some other device's broadcasts.
      • received messages received by the device and messages the device receives as a result of it being subscribed to some other device's received messages.
      • sent messages sent by the device and messages the device receives as a result of it being subscribed to some other device's sent messages.