mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 05:42:49 +00:00
pbap_client: reset request_number before get card list
This commit is contained in:
parent
906fa6fc6d
commit
4c8da81858
@ -855,6 +855,7 @@ uint8_t pbap_lookup_by_number(uint16_t pbap_cid, const char * phone_number){
|
||||
if (pbap_client->state != PBAP_CONNECTED) return BTSTACK_BUSY;
|
||||
pbap_client->state = PBAP_W2_GET_CARD_LIST;
|
||||
pbap_client->phone_number = phone_number;
|
||||
pbap_client->request_number = 0;
|
||||
goep_client_request_can_send_now(pbap_client->goep_cid);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user