File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ set(BTSTACK_EXAMPLES_ADDITIONAL
358358 gatt_browser
359359 gatt_device_information_query
360360 le_streamer_client
361+ mesh_node_demo
361362)
362363
363364# These examples will only be built if pico-extras exists
Original file line number Diff line number Diff line change 2626#define ENABLE_CROSS_TRANSPORT_KEY_DERIVATION
2727#endif
2828
29+ // Mesh Configuration
30+ #ifdef ENABLE_MESH // defined by pico_btstack_mesh
31+ #define ENABLE_MESH_ADV_BEARER
32+ #define ENABLE_MESH_GATT_BEARER
33+ #define ENABLE_MESH_PB_ADV
34+ #define ENABLE_MESH_PB_GATT
35+ #define ENABLE_MESH_PROVISIONER
36+ #define ENABLE_MESH_PROXY_SERVER
37+ #endif
38+
2939// BTstack configuration. buffers, sizes, ...
3040#define HCI_OUTGOING_PRE_BUFFER_SIZE 4
3141#define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
5060#define MAX_NR_SM_LOOKUP_ENTRIES 3
5161#define MAX_NR_WHITELIST_ENTRIES 16
5262#define MAX_NR_LE_DEVICE_DB_ENTRIES 16
63+ #define MAX_NR_MESH_SUBNETS 2
64+ #define MAX_NR_MESH_TRANSPORT_KEYS 16
65+ #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16
66+
67+ // allow for one NetKey update
68+ #define MAX_NR_MESH_NETWORK_KEYS (MAX_NR_MESH_SUBNETS+1)
5369
5470// Limit number of ACL/SCO Buffer to use by stack to avoid cyw43 shared bus overrun
5571#define MAX_NR_CONTROLLER_ACL_BUFFERS 3
Original file line number Diff line number Diff line change 1+ picow_bt_example(mesh_node_demo pico_btstack_mesh)
You can’t perform that action at this time.
0 commit comments