mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 12:40:42 +00:00
example/ancs_demo: register for both hci and sm events
This commit is contained in:
parent
89860bac6e
commit
77a5a3586d
@ -147,7 +147,7 @@ int btstack_main(int argc, const char * argv[]){
|
||||
|
||||
// register for SM events
|
||||
sm_event_callback_registration.callback = &app_packet_handler;
|
||||
hci_add_event_handler(&sm_event_callback_registration);
|
||||
sm_add_event_handler(&sm_event_callback_registration);
|
||||
|
||||
// setup ATT server
|
||||
att_server_init(profile_data, NULL, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user