mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
example: fix le_data_channel_server
This commit is contained in:
parent
9885fb2da1
commit
018f389495
@ -127,7 +127,7 @@ static void le_data_channel_setup(void){
|
|||||||
|
|
||||||
// register for L2CAP events
|
// register for L2CAP events
|
||||||
l2cap_event_callback_registration.callback = &packet_handler;
|
l2cap_event_callback_registration.callback = &packet_handler;
|
||||||
l2cap_add_event_handler(&sm_event_callback_registration);
|
l2cap_add_event_handler(&l2cap_event_callback_registration);
|
||||||
|
|
||||||
// le data channel setup
|
// le data channel setup
|
||||||
l2cap_le_register_service(&packet_handler, TSPX_le_psm, LEVEL_0);
|
l2cap_le_register_service(&packet_handler, TSPX_le_psm, LEVEL_0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user