From 2eb5c29059f7d76d00bd7f0240a28ac57a5e5526 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 9 Oct 2023 15:29:20 +0200 Subject: [PATCH] hfp: report 1.9 in SDP record --- CHANGELOG.md | 1 + src/classic/hfp.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ab0b492c..0e07d5572 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/classic/hfp.c b/src/classic/hfp.c index 185047a08..69e8ac6bb 100644 --- a/src/classic/hfp.c +++ b/src/classic/hfp.c @@ -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); }