expliot.plugins.mqtt.awsiotsub¶
Plugin to subscribe to a topic on an AWS IoT endpoint.
Classes¶
Subscribe to a topic on an AWS IoT endpoint. |
Module Contents¶
- class expliot.plugins.mqtt.awsiotsub.AwsIotSub¶
Bases:
expliot.core.tests.test.Test
Subscribe to a topic on an AWS IoT endpoint.
Output Format: [
- {
“topic”: “foobar/topic”, “payload”: “Foobar payload”
}, # … May be zero or more entries
]
- subcb(client, userdata, message)¶
Execute a callback method when a message arrives.
On the subscribed topic from an AWS IoT endpoint.
- execute()¶
Execute the plugin.