93 MQTT_SN_MSG_TYPE_ADVERTISE = 0x00,
94 MQTT_SN_MSG_TYPE_SEARCHGW = 0x01,
95 MQTT_SN_MSG_TYPE_GWINFO = 0x02,
96 MQTT_SN_MSG_TYPE_CONNECT = 0x04,
97 MQTT_SN_MSG_TYPE_CONNACK = 0x05,
98 MQTT_SN_MSG_TYPE_WILLTOPICREQ = 0x06,
99 MQTT_SN_MSG_TYPE_WILLTOPIC = 0x07,
100 MQTT_SN_MSG_TYPE_WILLMSGREQ = 0x08,
101 MQTT_SN_MSG_TYPE_WILLMSG = 0x09,
102 MQTT_SN_MSG_TYPE_REGISTER = 0x0A,
103 MQTT_SN_MSG_TYPE_REGACK = 0x0B,
104 MQTT_SN_MSG_TYPE_PUBLISH = 0x0C,
105 MQTT_SN_MSG_TYPE_PUBACK = 0x0D,
106 MQTT_SN_MSG_TYPE_PUBCOMP = 0x0E,
107 MQTT_SN_MSG_TYPE_PUBREC = 0x0F,
108 MQTT_SN_MSG_TYPE_PUBREL = 0x10,
109 MQTT_SN_MSG_TYPE_SUBSCRIBE = 0x12,
110 MQTT_SN_MSG_TYPE_SUBACK = 0x13,
111 MQTT_SN_MSG_TYPE_UNSUBSCRIBE = 0x14,
112 MQTT_SN_MSG_TYPE_UNSUBACK = 0x15,
113 MQTT_SN_MSG_TYPE_PINGREQ = 0x16,
114 MQTT_SN_MSG_TYPE_PINGRESP = 0x17,
115 MQTT_SN_MSG_TYPE_DISCONNECT = 0x18,
116 MQTT_SN_MSG_TYPE_WILLTOPICUPD = 0x1A,
117 MQTT_SN_MSG_TYPE_WILLTOPICRESP = 0x1B,
118 MQTT_SN_MSG_TYPE_WILLMSGUPD = 0x1C,
119 MQTT_SN_MSG_TYPE_WILLMSGRESP = 0x1D,
120 MQTT_SN_MSG_TYPE_ENCAPSULATED = 0xFE
130 MQTT_SN_RETURN_CODE_ACCEPTED = 0,
131 MQTT_SN_RETURN_CODE_REJECTED_CONGESTION = 1,
132 MQTT_SN_RETURN_CODE_REJECTED_INVALID_TOPIC_ID = 2,
133 MQTT_SN_RETURN_CODE_REJECTED_NOT_SUPPORTED = 3