31#ifndef _MQTT_SN_DEBUG_H
32#define _MQTT_SN_DEBUG_H
44error_t mqttSnDumpMessage(
const uint8_t *message,
size_t length);
46error_t mqttSnDumpAdvertise(
const MqttSnAdvertise *message,
size_t length);
47error_t mqttSnDumpSearchGw(
const MqttSnSearchGw *message,
size_t length);
48error_t mqttSnDumpGwInfo(
const MqttSnGwInfo *message,
size_t length);
49error_t mqttSnDumpConnect(
const MqttSnConnect *message,
size_t length);
50error_t mqttSnDumpConnAck(
const MqttSnConnAck *message,
size_t length);
52error_t mqttSnDumpWillTopic(
const MqttSnWillTopic *message,
size_t length);
55error_t mqttSnDumpRegister(
const MqttSnRegister *message,
size_t length);
56error_t mqttSnDumpRegAck(
const MqttSnRegAck *message,
size_t length);
57error_t mqttSnDumpPublish(
const MqttSnPublish *message,
size_t length);
58error_t mqttSnDumpPubAck(
const MqttSnPubAck *message,
size_t length);
59error_t mqttSnDumpPubRec(
const MqttSnPubRec *message,
size_t length);
60error_t mqttSnDumpPubRel(
const MqttSnPubRel *message,
size_t length);
61error_t mqttSnDumpPubComp(
const MqttSnPubComp *message,
size_t length);
62error_t mqttSnDumpSubscribe(
const MqttSnSubscribe *message,
size_t length);
63error_t mqttSnDumpSubAck(
const MqttSnSubAck *message,
size_t length);
64error_t mqttSnDumpUnsubscribe(
const MqttSnUnsubscribe *message,
size_t length);
65error_t mqttSnDumpUnsubAck(
const MqttSnUnsubAck *message,
size_t length);
68error_t mqttSnDumpDisconnect(
const MqttSnDisconnect *message,
size_t length);
69error_t mqttSnDumpWillTopicUpd(
const MqttSnWillTopicUpd *message,
size_t length);
70error_t mqttSnDumpWillTopicResp(
const MqttSnWillTopicResp *message,
size_t length);
72error_t mqttSnDumpWillMsgResp(
const MqttSnWillMsgResp *message,
size_t length);
74void mqttSnDumpFlags(MqttSnFlags flags);
76const char_t *mqttSnGetMessageName(uint16_t msgType);
77const char_t *mqttSnGetReturnCodeDesc(uint16_t returnCode);
error_t
Error codes.
Definition error.h:43
Definitions common to MQTT-SN client and gateway.
void MqttSnPingResp
PINGRESP message.
Definition mqtt_sn_common.h:423
void MqttSnWillMsgUpd
WILLMSGUPD message.
Definition mqtt_sn_common.h:461
void MqttSnWillTopicReq
WILLTOPICREQ message.
Definition mqtt_sn_common.h:258
void MqttSnWillMsg
WILLMSG message.
Definition mqtt_sn_common.h:283
void MqttSnWillMsgReq
WILLMSGREQ message.
Definition mqtt_sn_common.h:276
void MqttSnPingReq
PINGREQ message.
Definition mqtt_sn_common.h:416