goep_client: add goep_client_version_20_or_higher

This commit is contained in:
Matthias Ringwald 2021-12-21 13:14:24 +01:00
parent 7c7befac01
commit 3ffc2a09a4
3 changed files with 16 additions and 1 deletions

View File

@ -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

View File

@ -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;

View File

@ -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