mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 06:39:53 +00:00
don't perform remote name requests automatically after inquiry
This commit is contained in:
parent
20c4af341f
commit
a78b3d5582
@ -172,12 +172,13 @@ static void inquiry_packet_handler (uint8_t packet_type, uint8_t *packet, uint16
|
||||
break;
|
||||
|
||||
case HCI_EVENT_INQUIRY_COMPLETE:
|
||||
for (i=0;i<deviceCount;i++) {
|
||||
// retry remote name request
|
||||
if (devices[i].state == REMOTE_NAME_INQUIRED)
|
||||
devices[i].state = REMOTE_NAME_REQUEST;
|
||||
}
|
||||
continue_remote_names();
|
||||
// don't get remote names for testing
|
||||
// for (i=0;i<deviceCount;i++) {
|
||||
// // retry remote name request
|
||||
// if (devices[i].state == REMOTE_NAME_INQUIRED)
|
||||
// devices[i].state = REMOTE_NAME_REQUEST;
|
||||
// }
|
||||
// continue_remote_names();
|
||||
break;
|
||||
|
||||
case BTSTACK_EVENT_REMOTE_NAME_CACHED:
|
||||
|
Loading…
x
Reference in New Issue
Block a user