SPL File alldevices.spl

Content

Operators
  • AllDevices: Composite that produces streams for all devices in an organization.

Composites

composite AllDevices(output stream<DeviceStatus> Statuses, stream<DeviceEvent> Events, stream<DeviceCmd> Commands)

Composite that produces streams for all devices in an organization.

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 IBM Cloud.
  • 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.

Output Ports

  • Statuses: Device status events
  • Events: Device events
  • Commands: Device commands events