mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 03:32:49 +00:00
bap_client: fix PBAP UUID len on connect message
This commit is contained in:
parent
07f151d6de
commit
a0506975eb
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
### Fixed
|
||||
- hfp_hf, hsp_hs: use eSCO params in accept sco connection only for incoming eSCO connections
|
||||
- pbap_client: fix PBAP UUID len on connect message
|
||||
|
||||
### Added
|
||||
- example/le_mitm: MITM implementation that forwards ATT PDUs and allows for pairing
|
||||
|
@ -281,7 +281,7 @@ static void pbap_handle_can_send_now(void){
|
||||
switch (pbap_client->state){
|
||||
case PBAP_W2_SEND_CONNECT_REQUEST:
|
||||
goep_client_request_create_connect(pbap_client->goep_cid, OBEX_VERSION, 0, OBEX_MAX_PACKETLEN_DEFAULT);
|
||||
goep_client_header_add_target(pbap_client->goep_cid, pbap_uuid, 18);
|
||||
goep_client_header_add_target(pbap_client->goep_cid, pbap_uuid, 16);
|
||||
// Mandatory if the PSE advertises a PbapSupportedFeatures attribute in its SDP record, else excluded.
|
||||
if (goep_client_get_pbap_supported_features(pbap_client->goep_cid) != PBAP_FEATURES_NOT_PRESENT){
|
||||
application_parameters[0] = PBAP_APPLICATION_PARAMETER_PBAP_SUPPORTED_FEATURES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user