Lines Matching refs:bytes
103 return TLV(TcatTLVType.APPLICATION.value, bytes('Hello world!', 'ascii')).to_bytes()
129 return TLV(TcatTLVType.DECOMMISSION.value, bytes()).to_bytes()
141 return TLV(TcatTLVType.GET_DEVICE_ID.value, bytes()).to_bytes()
153 return TLV(TcatTLVType.GET_EXT_PAN_ID.value, bytes()).to_bytes()
165 return TLV(TcatTLVType.GET_PROVISIONING_URL.value, bytes()).to_bytes()
177 return TLV(TcatTLVType.GET_NETWORK_NAME.value, bytes()).to_bytes()
193 code = bytes(args[1], 'utf-8')
196 code = bytes.fromhex(args[1])
199 code = bytes(args[1], 'utf-8')
236 pskd = bytes(args[0], 'utf-8')
269 data = TLV(TcatTLVType.GET_RANDOM_NUMBER_CHALLENGE.value, bytes()).to_bytes()
325 return TLV(TcatTLVType.THREAD_START.value, bytes()).to_bytes()
337 return TLV(TcatTLVType.THREAD_STOP.value, bytes()).to_bytes()