File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
features/nanostack/mbed-mesh-api Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 6
6
"help" : " Nanostack's heap size [bytes: 0-4294967295]" ,
7
7
"value" : 32500
8
8
},
9
+ "mac-neigh-table-size" : {
10
+ "help" : " Number of devices stored to the SW MAC neighbour table" ,
11
+ "value_min" : 5 ,
12
+ "value_max" : 255 ,
13
+ "value" : 32
14
+ },
9
15
"use-malloc-for-heap" : {
10
16
"help" : " Use `malloc()` for reserving the Nanostack's internal heap." ,
11
17
"value" : false
Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ int8_t nd_tasklet_network_init(int8_t device_id)
425
425
{
426
426
// TODO, read interface name from configuration
427
427
mac_description_storage_size_t storage_sizes ;
428
- storage_sizes .device_decription_table_size = 32 ;
428
+ storage_sizes .device_decription_table_size = MBED_CONF_MBED_MESH_API_MAC_NEIGH_TABLE_SIZE ;
429
429
storage_sizes .key_description_table_size = 3 ;
430
430
storage_sizes .key_lookup_size = 1 ;
431
431
storage_sizes .key_usage_size = 3 ;
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ int8_t thread_tasklet_network_init(int8_t device_id)
461
461
{
462
462
// TODO, read interface name from configuration
463
463
mac_description_storage_size_t storage_sizes ;
464
- storage_sizes .device_decription_table_size = 32 ;
464
+ storage_sizes .device_decription_table_size = MBED_CONF_MBED_MESH_API_MAC_NEIGH_TABLE_SIZE ;
465
465
storage_sizes .key_description_table_size = 6 ;
466
466
storage_sizes .key_lookup_size = 1 ;
467
467
storage_sizes .key_usage_size = 3 ;
Original file line number Diff line number Diff line change 39
39
#include MBED_CONF_MBED_MESH_API_CERTIFICATE_HEADER
40
40
#endif
41
41
42
+
42
43
// For tracing we need to define flag, have include and define group
43
44
//#define HAVE_DEBUG
44
45
#define TRACE_GROUP "WSND"
@@ -526,7 +527,7 @@ int8_t wisun_tasklet_network_init(int8_t device_id)
526
527
{
527
528
// TODO, read interface name from configuration
528
529
mac_description_storage_size_t storage_sizes ;
529
- storage_sizes .device_decription_table_size = 32 ;
530
+ storage_sizes .device_decription_table_size = MBED_CONF_MBED_MESH_API_MAC_NEIGH_TABLE_SIZE ;
530
531
storage_sizes .key_description_table_size = 4 ;
531
532
storage_sizes .key_lookup_size = 1 ;
532
533
storage_sizes .key_usage_size = 3 ;
You can’t perform that action at this time.
0 commit comments