AWS_IoT_Publisher.h file

Contains the AWS_IoT_Publisher subclass of dataPublisher for publishing data to AWS IoT Core using the MQTT protocol.

This publisher is meant for a generic AWS IoT Core MQTT connection. It is NOT for a specific AWS IoT Core channel or for any specific website or application that uses IoT Core. See the ReadMe and AWS IoT Core example for more documentation on how to set up an AWS IoT Core instance to receive data from this publisher.

Your loggerID will be used as your Thing Name, primary topic, and client name for connection. This publisher expects that you use a connection/publish policy that is tied to your thing name. An example policy is in the extras/AWS_IoT_SetCertificates folder.

All messages are published with QoS 0 and no messages are retained. All connections are made with a clean session.

Classes

class AWS_IoT_Publisher
The AWS_IoT_Publisher subclass of dataPublisher for publishing data to AWS IoT Core using the MQTT protocol.