From c1b01f87ff9aa777fb41bfc7b08a9ef105f0cd79 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 6 Oct 2017 18:03:31 +0200 Subject: [PATCH] device_id: fix BLUETOOTH_ATTRIBUTE_PRIMARY_RECORD type to BOOL --- src/classic/device_id_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classic/device_id_server.c b/src/classic/device_id_server.c index 2c47119e9..d1f6b8737 100644 --- a/src/classic/device_id_server.c +++ b/src/classic/device_id_server.c @@ -96,9 +96,9 @@ void device_id_create_sdp_record(uint8_t *service, uint32_t service_record_handl // 0x0204 "PrimaryRecord" de_add_number(service, DE_UINT, DE_SIZE_16, BLUETOOTH_ATTRIBUTE_PRIMARY_RECORD); - de_add_number(service, DE_UINT, DE_SIZE_16, 1); // yes, this is the primary record - there are no others + de_add_number(service, DE_BOOL, DE_SIZE_8, 1); // yes, this is the primary record - there are no others // 0x0205 "VendorIDSource" de_add_number(service, DE_UINT, DE_SIZE_16, BLUETOOTH_ATTRIBUTE_VENDOR_ID_SOURCE); de_add_number(service, DE_UINT, DE_SIZE_16, vendor_id_source); -} \ No newline at end of file +}