mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
mesh: register for mesh beacons to avoid crash, temp enable adv bearer
This commit is contained in:
parent
c7dcf8185f
commit
51ae8f0aee
@ -21,7 +21,7 @@
|
||||
#define ENABLE_MICRO_ECC_P256
|
||||
|
||||
// Mesh Config
|
||||
// #define ENABLE_MESH_ADV_BEARER
|
||||
#define ENABLE_MESH_ADV_BEARER
|
||||
#define ENABLE_MESH_GATT_BEARER
|
||||
// #define ENABLE_MESH_PB_ADV
|
||||
#define ENABLE_MESH_PB_GATT
|
||||
|
@ -1018,6 +1018,7 @@ int btstack_main(void)
|
||||
// Setup GATT bearer
|
||||
gatt_bearer_init();
|
||||
gatt_bearer_register_for_mesh_network_pdu(&mesh_proxy_packet_handler_network_pdu);
|
||||
gatt_bearer_register_for_mesh_beacon(&mesh_proxy_packet_handler_network_pdu);
|
||||
|
||||
gatt_bearer_register_for_mesh_proxy_configuration(&packet_handler_for_mesh_proxy_configuration);
|
||||
mesh_network_set_proxy_message_handler(proxy_configuration_message_handler);
|
||||
|
Loading…
x
Reference in New Issue
Block a user