IBM Streams 4.2.1

SPL File devicesubscribe.spl

Content

Operators

Composites

composite SubscribeDeviceCommands

Subsribes to device commands to be sent to devices for an organization.

Subscribes to the topic streamsx/iot/device/commands/send with a tuple type of DeviceCmd.

Parameters

  • org: Organization identifier.
  • domain: Service domain, used to define the host for the MQTT message hub host, which will be org.messaging.domain. Defaults to internetofthings.ibmcloud.com supporting IBM Watson IoT Platform hosted on Bluemix.
  • authKey: Application key.
  • authToken: Application authorization token.
  • encrypted: True to use encrypted connections to IBM Watson IoT Platform, false to use unencrypted , defaults to true.