Searched refs:attributeLength (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_server.c | 37 uint16_t attributeLength; member 70 uint32_t handle, uint16_t attributeId, uint8_t attributeType, uint32_t attributeLength, const uint8_t *value); 983 uint32_t handle, uint16_t attributeId, uint8_t attributeType, uint32_t attributeLength, const uint8_t *value) in SdpAddAttributeToServiceRecord() 1001 MEM_MALLOC.alloc(attributeLength + SDP_SERVICE_RECORD_OTHER); in SdpAddAttributeToServiceRecord() 1003 attributeLength + SDP_SERVICE_RECORD_OTHER, in SdpAddAttributeToServiceRecord() 1005 attributeLength + SDP_SERVICE_RECORD_OTHER); in SdpAddAttributeToServiceRecord() 1021 if (attributeLength > SDP_MAX_ATTRIBUTE_LEN) { in SdpAddAttributeToServiceRecord() 1022 attributeLength = SDP_MAX_ATTRIBUTE_LEN; in SdpAddAttributeToServiceRecord() 1024 if (attributeLength > 0xFF) { in SdpAddAttributeToServiceRecord() 1025 *(uint16_t *)(attributeValue + offset) = H2BE_16(attributeLength); in SdpAddAttributeToServiceRecord() 982 SdpAddAttributeToServiceRecord( uint32_t handle, uint16_t attributeId, uint8_t attributeType, uint32_t attributeLength, const uint8_t *value) SdpAddAttributeToServiceRecord() argument [all...] |
H A D | sdp_client_parse.c | 423 uint32_t attributeLength = 0; in SdpParseSingleAttributeList() local 459 pos = SdpGetLengthFromType(bufferInfo->buffer + offset, type, &attributeLength); in SdpParseSingleAttributeList() 460 if (bufferInfo->length < attributeLength) { in SdpParseSingleAttributeList() 465 uint8_t *bufferEnd = bufferInfo->buffer + attributeLength; in SdpParseSingleAttributeList()
|
Completed in 5 milliseconds