1.2.3.8 SYS_MQTT_PublishTopicCfg Struct
C
typedef struct { //Qos (0/ 1/ 2) uint8_t qos; //Retain (0/1) - Message needs to be retained by the Broker till every subscriber receives it uint8_t retain; //Topic on which to Publish the message char topicName[SYS_MQTT_TOPIC_NAME_MAX_LEN]; //Topic Length uint16_t topicLength; } SYS_MQTT_PublishTopicCfg;
Summary
Used for publishing a message on a topic. It contains the config related to the Topic
Remarks
This Message is passed from the Application to the MQTT servuce via the SYS_MQTT_Publish() function