mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 03:40:16 +00:00
goep_client: add goep_client_version_20_or_higher
This commit is contained in:
parent
7c7befac01
commit
3ffc2a09a4
@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
## Release v1.5.1
|
||||
|
||||
### Added
|
||||
- GOEP Client: add goep_client_version_20_or_higher
|
||||
|
||||
### Fixed
|
||||
- pbap_client: support disconnect while operation is ongoing
|
||||
- L2CAP: limit remote MTU by local tx configuration in ERTM
|
||||
|
@ -406,6 +406,12 @@ uint32_t goep_client_get_pbap_supported_features(uint16_t goep_cid){
|
||||
return context->pbap_supported_features;
|
||||
}
|
||||
|
||||
bool goep_client_version_20_or_higher(uint16_t goep_cid){
|
||||
UNUSED(goep_cid);
|
||||
goep_client_t * context = goep_client;
|
||||
return context->l2cap_psm != 0;
|
||||
}
|
||||
|
||||
uint8_t goep_client_disconnect(uint16_t goep_cid){
|
||||
UNUSED(goep_cid);
|
||||
goep_client_t * context = goep_client;
|
||||
|
@ -97,10 +97,16 @@ void goep_client_request_can_send_now(uint16_t goep_cid);
|
||||
uint8_t goep_client_get_request_opcode(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* brief Get PBAP Supported Features found in SDP record during connect
|
||||
* @brief Get PBAP Supported Features found in SDP record during connect
|
||||
*/
|
||||
uint32_t goep_client_get_pbap_supported_features(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* @brief Check if GOEP 2.0 or higher features can be used
|
||||
* @return true if GOEP Version 2.0 or higher
|
||||
*/
|
||||
bool goep_client_version_20_or_higher(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* @brief Set Connection ID used for newly created requests
|
||||
* @param goep_cid
|
||||
|
Loading…
x
Reference in New Issue
Block a user