hfp: report 1.9 in SDP record

This commit is contained in:
Matthias Ringwald 2023-10-09 15:29:20 +02:00
parent 75b056dc9a
commit 2eb5c29059
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- HCI: simplified implicit SCO flow control
- AVRCP: shorten default SDP Service and Provider Names
- HFP: report 1.9 in SDP record
- btstack_crypto: allow MBEDTLS config via MBEDTLS_CONFIG_FILE
- remove old Zephyr 1.9 port

View File

@ -744,7 +744,7 @@ void hfp_create_sdp_record(uint8_t * service, uint32_t service_record_handle, ui
uint8_t *sppProfile = de_push_sequence(attribute);
{
de_add_number(sppProfile, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_HANDSFREE);
de_add_number(sppProfile, DE_UINT, DE_SIZE_16, 0x0108); // Verision 1.8
de_add_number(sppProfile, DE_UINT, DE_SIZE_16, 0x0109); // Version 1.9
}
de_pop_sequence(attribute, sppProfile);
}