mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
a2dp-forwarding: use gap_pin_code_response
This commit is contained in:
parent
9b8cf64ebe
commit
350da86233
@ -335,7 +335,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
||||
// inform about pin code request
|
||||
printf("Pin code request - using '0000'\n");
|
||||
hci_event_pin_code_request_get_bd_addr(packet, event_addr);
|
||||
hci_send_cmd(&hci_pin_code_request_reply, &event_addr, 4, "0000");
|
||||
gap_pin_code_response(event_addr, "0000");
|
||||
break;
|
||||
case HCI_EVENT_CONNECTION_COMPLETE:
|
||||
hci_event_connection_complete_get_bd_addr(packet, event_addr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user