mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 03:40:16 +00:00
pbap_client: use SRM only if GOEP v2.0 or higher connection
This commit is contained in:
parent
3ffc2a09a4
commit
ebb9bbfb00
@ -18,7 +18,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
- GOEP Client: add goep_client_version_20_or_higher
|
- GOEP Client: add goep_client_version_20_or_higher
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- pbap_client: support disconnect while operation is ongoing
|
- PBAP CLient: support disconnect while operation is ongoing
|
||||||
|
- PBAP Client: use SRM only if GOEP v2.0 or higher connection
|
||||||
- L2CAP: limit remote MTU by local tx configuration in ERTM
|
- L2CAP: limit remote MTU by local tx configuration in ERTM
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -650,7 +650,7 @@ static void pbap_client_add_application_parameters(const pbap_client_t * client,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void pbap_client_prepare_srm_header(const pbap_client_t * client){
|
static void pbap_client_prepare_srm_header(const pbap_client_t * client){
|
||||||
if (!client->flow_control_enabled){
|
if (!client->flow_control_enabled && goep_client_version_20_or_higher(client->goep_cid)){
|
||||||
goep_client_header_add_srm_enable(client->goep_cid);
|
goep_client_header_add_srm_enable(client->goep_cid);
|
||||||
pbap_client->srm_state = SRM_W4_CONFIRM;
|
pbap_client->srm_state = SRM_W4_CONFIRM;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user