update sdp_util to create SPP v1.2 compliant record

This commit is contained in:
Matthias Ringwald 2015-05-10 22:07:54 +02:00
parent be74c046e1
commit dd7b6f613f

View File

@ -751,7 +751,7 @@ void sdp_create_spp_service(uint8_t *service, int service_id, const char *name){
uint8_t *sppProfile = de_push_sequence(attribute);
{
de_add_number(sppProfile, DE_UUID, DE_SIZE_16, 0x1101);
de_add_number(sppProfile, DE_UINT, DE_SIZE_16, 0x0100);
de_add_number(sppProfile, DE_UINT, DE_SIZE_16, 0x0102);
}
de_pop_sequence(attribute, sppProfile);
}