Skip to content

Commit 3feeea6

Browse files
committed
net: mqtt_sn: increase MQTT_SN_LIB_MAX_ADDR_SIZE to support IPv6
On IPv6, MQTT_SN_LIB_MAX_ADDR_SIZE needs to be at least 24 bytes instead of the current 21 bytes default. Increase the default to 24 bytes so that the MQTT-SN implementation works out of the box on IPv6. Signed-off-by: Aurelien Jarno <[email protected]>
1 parent 9b5bbb2 commit 3feeea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/lib/mqtt_sn/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ config MQTT_SN_LIB_MAX_GATEWAYS
3838

3939
config MQTT_SN_LIB_MAX_ADDR_SIZE
4040
int "Maximum address size for the transport"
41-
default 21
41+
default 24
4242
range 1 $(UINT8_MAX)
4343
help
4444
The MQTT_SN library stores addresses internally and thus

0 commit comments

Comments
 (0)