Home
last modified time | relevance | path

Searched refs:currentServiceRecordCount (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_connect.c1236 uint16_t currentServiceRecordCount, Packet *fragmentPacket) in SdpBuildSearchFragmentResponse()
1250 length = currentServiceRecordCount * SDP_UINT32_LENGTH + SDP_UINT32_LENGTH + SDP_PACKET_TAIL_ONE_BYTE; in SdpBuildSearchFragmentResponse()
1257 length = currentServiceRecordCount * SDP_UINT32_LENGTH + SDP_UINT32_LENGTH + SDP_PACKET_TAIL_TWO_BYTE; in SdpBuildSearchFragmentResponse()
1264 length = currentServiceRecordCount * SDP_UINT32_LENGTH + SDP_UINT32_LENGTH + SDP_PACKET_TAIL_THREE_BYTE; in SdpBuildSearchFragmentResponse()
1283 *(uint16_t *)(header + offset) = H2BE_16(currentServiceRecordCount); in SdpBuildSearchFragmentResponse()
1292 uint16_t currentServiceRecordCount; in SdpSendSearchFragmentResponse() local
1313 currentServiceRecordCount = SdpGetCurrentServiceRecordCount(connect->mtu, maxCount, totalServiceRecordCount); in SdpSendSearchFragmentResponse()
1316 size = PacketFragment(packet, fragmentPacket, currentServiceRecordCount * SDP_SERVICE_RECORD_HANDLE_BYTE); in SdpSendSearchFragmentResponse()
1317 currentServiceRecordCount = PacketSize(fragmentPacket) / SDP_SERVICE_RECORD_HANDLE_BYTE; in SdpSendSearchFragmentResponse()
1320 transactionId, size, totalServiceRecordCount, currentServiceRecordCount, fragmentPacke in SdpSendSearchFragmentResponse()
1235 SdpBuildSearchFragmentResponse(uint16_t transactionId, size_t size, uint16_t totalServiceRecordCount, uint16_t currentServiceRecordCount, Packet *fragmentPacket) SdpBuildSearchFragmentResponse() argument
[all...]
H A Dsdp_client_parse.c672 uint16_t currentServiceRecordCount; in SdpParseSearchResponse() local
687 currentServiceRecordCount = BE2H_16(*(uint16_t *)buffer); in SdpParseSearchResponse()
689 if ((currentServiceRecordCount > totalServiceRecordCount) || in SdpParseSearchResponse()
690 ((currentServiceRecordCount * SDP_SERVICE_RECORD_HANDLE_BYTE) >= length)) { in SdpParseSearchResponse()
692 totalServiceRecordCount, currentServiceRecordCount, length); in SdpParseSearchResponse()
699 length = length - currentServiceRecordCount * SDP_SERVICE_RECORD_HANDLE_BYTE; in SdpParseSearchResponse()

Completed in 9 milliseconds