Home
last modified time | relevance | path

Searched refs:tlv_bytes (Results 1 – 3 of 3) sorted by relevance

/hardware/nxp/uwb/halimpl/utils/
DphNxpUciHal_utils.cc545 decodeTlvBytes(const std::vector<uint8_t> &ext_ids, const uint8_t *tlv_bytes, size_t tlv_len) in decodeTlvBytes() argument
554 uint8_t byte0 = tlv_bytes[i++]; in decodeTlvBytes()
555 uint8_t byte1 = tlv_bytes[i++]; in decodeTlvBytes()
562 len = tlv_bytes[i++]; in decodeTlvBytes()
571 ret[tag] = std::vector(&tlv_bytes[i], &tlv_bytes[i + len]); in decodeTlvBytes()
DphNxpUciHal_utils.h225 decodeTlvBytes(const std::vector<uint8_t> &ext_ids, const uint8_t *tlv_bytes, size_t tlv_len);
/hardware/nxp/uwb/halimpl/hal/
DphNxpUciHal_ext.cc1015 auto tlv_bytes = encodeTlvBytes(tlvs); in phNxpUciHal_handle_get_caps_info() local
1016 if ((tlv_bytes.size() + UCI_MSG_CORE_GET_CAPS_INFO_TLV_OFFSET) > sizeof(packet)) { in phNxpUciHal_handle_get_caps_info()
1019 uint8_t packet_len = UCI_MSG_CORE_GET_CAPS_INFO_TLV_OFFSET + tlv_bytes.size(); in phNxpUciHal_handle_get_caps_info()
1021 memcpy(&packet[UCI_MSG_CORE_GET_CAPS_INFO_TLV_OFFSET], tlv_bytes.data(), tlv_bytes.size()); in phNxpUciHal_handle_get_caps_info()