Home
last modified time | relevance | path

Searched refs:tlv_type (Results 1 – 4 of 4) sorted by relevance

/openthread-latest/tools/tcat_ble_client/cli/
Dcommand.py86 tlv_type = TcatTLVType.from_value(tlv.type)
88 if tlv_type is not None:
93 if tlv_type == TcatTLVType.APPLICATION:
Dtlv_commands.py54 tlv_type = TcatTLVType(int(args[0], 16))
60 data = TLV(tlv_type.value, tlv_value).to_bytes()
Dbase_commands.py191 tlv_type = None
194 tlv_type = TcatTLVType.PRESENT_PSKD_HASH.value
197 tlv_type = TcatTLVType.PRESENT_PSKC_HASH.value
200 tlv_type = TcatTLVType.PRESENT_INSTALL_CODE_HASH.value
214 data = TLV(tlv_type, hash.digest()).to_bytes()
/openthread-latest/tests/scripts/thread-cert/
Dcommand.py436 def contains_tlv(sub_tlvs, tlv_type): argument
439 return any(isinstance(sub_tlv, tlv_type) for sub_tlv in sub_tlvs)
445 … return all((any(isinstance(sub_tlv, tlv_type) for sub_tlv in sub_tlvs)) for tlv_type in tlv_types)
530 def get_sub_tlv(tlvs, tlv_type): argument
532 if isinstance(sub_tlv, tlv_type):
583 def assert_contains_tlv(tlvs, check_type, tlv_type): argument
586 tlvs = [tlv for tlv in tlvs if isinstance(tlv, tlv_type)]