mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-22 15:40:16 +00:00
hsp_ag doesn't need l2cap events
This commit is contained in:
parent
0004d4c0f7
commit
61cb7e8b2a
@ -272,9 +272,6 @@ void hsp_ag_init(uint8_t rfcomm_channel_nr){
|
|||||||
hci_event_callback_registration.callback = &packet_handler;
|
hci_event_callback_registration.callback = &packet_handler;
|
||||||
hci_add_event_handler(&hci_event_callback_registration);
|
hci_add_event_handler(&hci_event_callback_registration);
|
||||||
|
|
||||||
// init L2CAP
|
|
||||||
l2cap_register_packet_handler(packet_handler);
|
|
||||||
|
|
||||||
rfcomm_register_service(packet_handler, rfcomm_channel_nr, 0xffff); // reserved channel, mtu limited by l2cap
|
rfcomm_register_service(packet_handler, rfcomm_channel_nr, 0xffff); // reserved channel, mtu limited by l2cap
|
||||||
|
|
||||||
hsp_ag_reset_state();
|
hsp_ag_reset_state();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user