Morse Micro IoT SDK  2.9.7

Detailed Description

Command arguments structure for mqtt_publish.

Definition at line 5527 of file mmagic_controller.h.

#include <mmagic_controller.h>

Data Fields

uint8_t stream_id
 Stream ID of the MQTT connection. More...
 
struct string254 topic
 MQTT topic to publish to. More...
 
struct raw1536 payload
 Contents of the message. More...
 
uint8_t qos
 MQTT quality of service (0-2). More...
 

Field Documentation

◆ payload

struct raw1536 mmagic_core_mqtt_publish_cmd_args::payload

Contents of the message.

Definition at line 5534 of file mmagic_controller.h.

◆ qos

uint8_t mmagic_core_mqtt_publish_cmd_args::qos

MQTT quality of service (0-2).

Only 0 is supported for now.

Definition at line 5536 of file mmagic_controller.h.

◆ stream_id

uint8_t mmagic_core_mqtt_publish_cmd_args::stream_id

Stream ID of the MQTT connection.

Definition at line 5530 of file mmagic_controller.h.

◆ topic

struct string254 mmagic_core_mqtt_publish_cmd_args::topic

MQTT topic to publish to.

Definition at line 5532 of file mmagic_controller.h.


The documentation for this struct was generated from the following file: