Skip to content

Commit 0dc0f0f

Browse files
committed
Corrected the maximum length of a MQTT-SN packet (in this tool)
1 parent 52c31c7 commit 0dc0f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mqtt-sn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#endif
1111

1212

13-
#define MQTT_SN_MAX_PACKET_LENGTH (256)
13+
#define MQTT_SN_MAX_PACKET_LENGTH (255)
1414
#define MQTT_SN_MAX_TOPIC_LENGTH (MQTT_SN_MAX_PACKET_LENGTH-6)
1515

1616
#define MQTT_SN_TYPE_ADVERTISE (0x00)

0 commit comments

Comments
 (0)