IBM Streams 4.2.1
SPL File devicepublish.spl
SPL standard and specialized toolkits > com.ibm.streamsx.iot 1.1.0.commit_67acf7a > com.ibm.streamsx.iot.watson > devicepublish.spl
Content
- Operators
- PublishDeviceCommands: Publishes all device commands for an organization.
- PublishDeviceEvents: Publishes all device events for an organization.
- PublishDeviceStatuses: Publishes all device statuses for an organization.
Composites
composite PublishDeviceStatuses
Publishes all device statuses for an organization.
Publishes to the topic streamsx/iot/device/statuses with a tuple type of DeviceStatus.
Parameters
- org: Organization identifier.
- domain: Service domain, used to define the host for the MQTT service, 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.
- allowFilter: True to use allow subscribers to push tuple filtering to this composite, defaults to true.
composite PublishDeviceEvents
Publishes all device events for an organization.
Publishes to the topic streamsx/iot/device/events with a tuple type of DeviceEvent.
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.
- allowFilter: True to use allow subscribers to push tuple filtering to this composite, defaults to true.
composite PublishDeviceCommands
Publishes all device commands for an organization.
Publishes to the topic streamsx/iot/device/commands/sent with a tuple type of DeviceCmd.
Parameters
- org: Organization identifier.
- domain: Service domain, used to define the host for the MQTT service, 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.
- allowFilter: True to use allow subscribers to push tuple filtering to this composite, defaults to true.