File tree 5 files changed +14
-2
lines changed
5 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,6 @@ chip_config_network_layer_ble = false
34
34
35
35
chip_max_discovered_ip_addresses = 20
36
36
37
+ chip_max_device_name_len = 128
38
+
37
39
enable_rtti = true
Original file line number Diff line number Diff line change @@ -38,3 +38,5 @@ chip_enable_rotating_device_id = true
38
38
chip_config_network_layer_ble = false
39
39
40
40
chip_max_discovered_ip_addresses = 20
41
+
42
+ chip_max_device_name_len = 128
Original file line number Diff line number Diff line change @@ -32,4 +32,6 @@ chip_enable_rotating_device_id = true
32
32
33
33
chip_max_discovered_ip_addresses = 20
34
34
35
+ chip_max_device_name_len = 128
36
+
35
37
matter_enable_tracing_support = true
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ struct OperationalNodeData
200
200
void Reset () { peerId = PeerId (); }
201
201
};
202
202
203
- inline constexpr size_t kMaxDeviceNameLen = 32 ;
203
+ inline constexpr size_t kMaxDeviceNameLen = CHIP_DEVICE_CONFIG_MAX_DEVICE_NAME_LEN ;
204
204
inline constexpr size_t kMaxRotatingIdLen = 50 ;
205
205
inline constexpr size_t kMaxPairingInstructionLen = 128 ;
206
206
Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ if (chip_device_platform != "none" && chip_device_platform != "external") {
81
81
# Define the default number of ip addresses to discover
82
82
chip_max_discovered_ip_addresses = 5
83
83
84
+ # Maximum length of the deviceName in the node discovery data
85
+ chip_max_device_name_len = 32
86
+
84
87
# Allows enabling dynamic setting of the local MRP configuration, for
85
88
# devices with multiple radios that have different sleep behavior for
86
89
# different radios.
@@ -380,7 +383,10 @@ if (chip_device_platform != "none" && chip_device_platform != "external") {
380
383
defines += [ " CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID=${ chip_device_config_device_product_id } " ]
381
384
}
382
385
383
- defines += [ " CHIP_DEVICE_CONFIG_MAX_DISCOVERED_IP_ADDRESSES=${ chip_max_discovered_ip_addresses } " ]
386
+ defines += [
387
+ " CHIP_DEVICE_CONFIG_MAX_DISCOVERED_IP_ADDRESSES=${ chip_max_discovered_ip_addresses } " ,
388
+ " CHIP_DEVICE_CONFIG_MAX_DEVICE_NAME_LEN=${ chip_max_device_name_len } " ,
389
+ ]
384
390
385
391
visibility = [
386
392
" :platform_config_header" ,
You can’t perform that action at this time.
0 commit comments