mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
fix(bt): Fix incorrect type returned when searching SAP record
This commit is contained in:
@ -303,7 +303,7 @@ static void bta_create_sap_sdp_record(bluetooth_sdp_record *record, tSDP_DISC_RE
|
|||||||
tSDP_PROTOCOL_ELEM pe;
|
tSDP_PROTOCOL_ELEM pe;
|
||||||
UINT16 pversion = -1;
|
UINT16 pversion = -1;
|
||||||
|
|
||||||
record->sap.hdr.type = SDP_TYPE_MAP_MAS;
|
record->sap.hdr.type = SDP_TYPE_SAP_SERVER;
|
||||||
record->sap.hdr.service_name_length = 0;
|
record->sap.hdr.service_name_length = 0;
|
||||||
record->sap.hdr.service_name = NULL;
|
record->sap.hdr.service_name = NULL;
|
||||||
record->sap.hdr.rfcomm_channel_number = 0;
|
record->sap.hdr.rfcomm_channel_number = 0;
|
||||||
|
Reference in New Issue
Block a user