add old SDP_HSP for HSP_HS following erratum #3507

This commit is contained in:
Matthias Ringwald 2015-11-10 14:00:39 +01:00
parent 83d0b0a548
commit deea8616fe

View File

@ -171,9 +171,10 @@ void hsp_hs_create_service(uint8_t * service, int rfcomm_channel_nr, const char
de_add_number(service, DE_UINT, DE_SIZE_16, SDP_ServiceClassIDList);
attribute = de_push_sequence(service);
{
// "UUID for PAN Service"
de_add_number(attribute, DE_UUID, DE_SIZE_16, SDP_Headset_HS);
de_add_number(attribute, DE_UUID, DE_SIZE_16, SDP_GenericAudio);
// "UUID for PAN Service" / see Bluetooth Erratum #3507
de_add_number(attribute, DE_UUID, DE_SIZE_16, SDP_HSP); // 0x1108
de_add_number(attribute, DE_UUID, DE_SIZE_16, SDP_Headset_HS); // 0x1131
de_add_number(attribute, DE_UUID, DE_SIZE_16, SDP_GenericAudio); // 0x1203
}
de_pop_sequence(service, attribute);