Home
last modified time | relevance | path

Searched refs:SDP_UINT16_LENGTH (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_client.c72 pos += SDP_UINT16_LENGTH; in SdpBuildAttributeList()
74 pos += SDP_UINT16_LENGTH; in SdpBuildAttributeList()
76 pos += SDP_UINT16_LENGTH; in SdpBuildAttributeList()
90 buffer[offset] = attributeIdList.attributeIdList.attributeIdNumber * (SDP_UINT16_LENGTH + 1); in SdpBuildAttributeList()
99 offset += SDP_UINT16_LENGTH; in SdpBuildAttributeList()
112 offset += SDP_UINT16_LENGTH; in SdpCreateSearchRequest()
118 buffer[1] = offset - SDP_UINT16_LENGTH; in SdpCreateSearchRequest()
121 offset += SDP_UINT16_LENGTH; in SdpCreateSearchRequest()
135 offset += SDP_UINT16_LENGTH; in SdpCreateAttributeRequest()
149 offset += SDP_UINT16_LENGTH; in SdpCreateSearchAttributeRequest()
[all...]
H A Dsdp_server.c330 buffer[pos + 1] = offset - pos - SDP_UINT16_LENGTH; in SdpAddProtocolDescriptorList()
364 offset += SDP_UINT16_LENGTH; in SdpAddAdditionalProtocolDescriptorList()
383 buffer[pos + 1] = offset - pos - SDP_UINT16_LENGTH; in SdpAddAdditionalProtocolDescriptorList()
385 buffer[posAdditional + 1] = offset - posAdditional - SDP_UINT16_LENGTH; in SdpAddAdditionalProtocolDescriptorList()
412 if ((offset + SDP_UUID16_LENGTH + SDP_UINT16_LENGTH + 1) > SDP_MAX_ATTRIBUTE_LEN) { in SdpAddBrowseGroupList()
417 if ((offset + SDP_UUID32_LENGTH + SDP_UINT16_LENGTH + 1) > SDP_MAX_ATTRIBUTE_LEN) { in SdpAddBrowseGroupList()
422 if ((offset + SDP_UUID128_LENGTH + SDP_UINT16_LENGTH + 1) > SDP_MAX_ATTRIBUTE_LEN) { in SdpAddBrowseGroupList()
467 offset += SDP_UINT16_LENGTH; in SdpAddLanguageBaseAttributeIdList()
473 offset += SDP_UINT16_LENGTH; in SdpAddLanguageBaseAttributeIdList()
479 offset += SDP_UINT16_LENGTH; in SdpAddLanguageBaseAttributeIdList()
[all...]
H A Dsdp_util.c100 offset = SDP_UINT16_LENGTH; in SdpGetLengthFromType()
101 *length = SDP_UINT16_LENGTH; in SdpGetLengthFromType()
120 offset = SDP_UINT16_LENGTH; in SdpGetLengthFromType()
H A Dsdp_client_parse.c329 offset += SDP_UINT16_LENGTH; in SdpParseServerResponse()
478 offset += SDP_UINT16_LENGTH; in SdpParseSingleAttributeList()
653 if (PacketSize(packet) != parameterLength || parameterLength != SDP_UINT16_LENGTH) { in SdpParseErrorResponse()
679 PacketExtractHead(packet, buffer, SDP_UINT16_LENGTH); in SdpParseSearchResponse()
686 PacketExtractHead(packet, buffer, SDP_UINT16_LENGTH); in SdpParseSearchResponse()
878 case SDP_UINT16_LENGTH: in SdpGetALLValue()
999 offset = offset + length + SDP_UINT16_LENGTH; in SdpGetCommonProtocolDescriptorEachList()
1000 currentLength = currentLength - length - SDP_UINT16_LENGTH; in SdpGetCommonProtocolDescriptorEachList()
1227 offset += SDP_UINT16_LENGTH; in SdpGetLanguageBaseAttributeIdList()
1238 offset += SDP_UINT16_LENGTH; in SdpGetLanguageBaseAttributeIdList()
[all...]
H A Dsdp_connect.c1207 packet = PacketMalloc(SDP_PDU_HEADER_LENGTH, 0, SDP_UINT16_LENGTH); in SdpSendErrorResponse()
1209 PacketPayloadWrite(packet, buffer, 0, SDP_UINT16_LENGTH); in SdpSendErrorResponse()
1217 offset += SDP_UINT16_LENGTH; in SdpSendErrorResponse()
1219 *(uint16_t *)(header + offset) = H2BE_16(SDP_UINT16_LENGTH); in SdpSendErrorResponse()
1275 offset += SDP_UINT16_LENGTH; in SdpBuildSearchFragmentResponse()
1278 offset += SDP_UINT16_LENGTH; in SdpBuildSearchFragmentResponse()
1281 offset += SDP_UINT16_LENGTH; in SdpBuildSearchFragmentResponse()
1391 pos += SDP_UINT16_LENGTH; in SdpSendSearchResponse()
1394 pos += SDP_UINT16_LENGTH; in SdpSendSearchResponse()
1397 pos += SDP_UINT16_LENGTH; in SdpSendSearchResponse()
[all...]
H A Dsdp_util.h115 #define SDP_UINT16_LENGTH 2 macro
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_defines.h192 static constexpr uint8_t SDP_UINT16_LENGTH = 2; member
H A Dhid_host_sdp_client.cpp106 offset = SDP_UINT16_LENGTH + 1; in ParseHidDescInfo()

Completed in 9 milliseconds