mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 06:32:43 +00:00
pbap_client: emit vCard entry data as PBAP_DATA_PACKET
This commit is contained in:
parent
ebb9bbfb00
commit
c79e33a22c
@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Fixed
|
||||
- PBAP CLient: support disconnect while operation is ongoing
|
||||
- PBAP Client: use SRM only if GOEP v2.0 or higher connection
|
||||
- PBAP Client: emit vCard entry data as PBAP_DATA_PACKET
|
||||
- L2CAP: limit remote MTU by local tx configuration in ERTM
|
||||
|
||||
### Changed
|
||||
|
@ -538,6 +538,7 @@ static void pbap_client_parser_callback_get_operation(void * user_data, uint8_t
|
||||
case OBEX_HEADER_END_OF_BODY:
|
||||
switch(pbap_client->state){
|
||||
case PBAP_W4_PHONEBOOK:
|
||||
case PBAP_W4_GET_CARD_ENTRY_COMPLETE:
|
||||
client->client_handler(PBAP_DATA_PACKET, client->cid, (uint8_t *) data_buffer, data_len);
|
||||
if (data_offset + data_len == total_len){
|
||||
client->flow_wait_for_user = true;
|
||||
@ -546,9 +547,6 @@ static void pbap_client_parser_callback_get_operation(void * user_data, uint8_t
|
||||
case PBAP_W4_GET_CARD_LIST_COMPLETE:
|
||||
pbap_client_process_vcard_list_body(data_buffer, data_len);
|
||||
break;
|
||||
case PBAP_W4_GET_CARD_ENTRY_COMPLETE:
|
||||
// TODO: not implemented yet
|
||||
break;
|
||||
default:
|
||||
btstack_unreachable();
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user