Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 43) sorted by relevance

12

/hal_espressif-2.7.6/tools/mass_mfg/
Dmfg_gen.py51 config_data = config_data.encode('utf-8')
79 data = data.encode('utf-8')
99 data = data.encode('utf-8')
136 values_file_line = values_file_line.encode('utf-8')
173 data = data.encode('utf-8')
269 values = values.encode('utf-8')
276 line = line.encode('utf-8')
300 line = line.encode('utf-8')
323 line = line.encode('utf-8')
347 line = line.encode('utf-8')
[all …]
/hal_espressif-2.7.6/tools/ci/python_packages/idf_iperf_test_util/
DPowerControl.py32 telnet.write(choice.encode() + b'\r\n')
37 telnet.read_until(check_str.encode())
38 telnet.write(action.encode() + b'\r\n')
/hal_espressif-2.7.6/tools/ci/python_packages/idf_http_server_test/
Dtest.py161 self.client.sendall(request.encode())
163 self.client.sendall(data.encode())
745 s.client.sendall((case['request']).encode())
769 …o HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: ' + str(content_len) + '\r\n\r\nABCD').encode())
784 s.client.sendall(('ABC ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
803 s.client.sendall(('GET ' + path + ' HTTP/2.0\r\nHost: ' + dut + '\r\n\r\n').encode())
818 s.client.sendall(('XYZ ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
833 s.client.sendall(('GET ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
848 s.client.sendall(('POST ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
862 …nt.sendall(('POST /echo HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: 10\r\n\r\nABCD').encode())
[all …]
/hal_espressif-2.7.6/examples/protocols/http_server/advanced_tests/scripts/
Dtest.py172 self.client.sendall(request.encode())
174 self.client.sendall(data.encode())
756 s.client.sendall((case['request']).encode())
780 …o HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: ' + str(content_len) + '\r\n\r\nABCD').encode())
795 s.client.sendall(('ABC ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
814 s.client.sendall(('GET ' + path + ' HTTP/2.0\r\nHost: ' + dut + '\r\n\r\n').encode())
829 s.client.sendall(('XYZ ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
844 s.client.sendall(('GET ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
859 s.client.sendall(('POST ' + path + ' HTTP/1.1\r\nHost: ' + dut + '\r\n\r\n').encode())
873 …nt.sendall(('POST /echo HTTP/1.1\r\nHost: ' + dut + '\r\nContent-Length: 10\r\n\r\nABCD').encode())
[all …]
/hal_espressif-2.7.6/tools/
Dmkdfu.py77 return '{:08x}'.format(val).encode('ascii')
170 name=filename.encode('utf-8'),
179 filename_b = filename.encode('utf-8') + b'\x00'
/hal_espressif-2.7.6/components/coap/
Dcomponent.mk7 …src/coap_session.o libcoap/src/coap_time.o port/coap_debug.o libcoap/src/encode.o libcoap/src/mem.…
DCMakeLists.txt12 "libcoap/src/encode.c"
/hal_espressif-2.7.6/examples/system/ota/otatool/
Dget_running_partition.py47 pattern = re.compile(pattern.encode())
/hal_espressif-2.7.6/components/protocomm/python/
Dconstants_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
Dsession_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
Dsec0_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
/hal_espressif-2.7.6/examples/protocols/sockets/tcp_server/
Dexample_test.py40 sock.sendall(payload.encode())
/hal_espressif-2.7.6/examples/protocols/sockets/udp_server/
Dexample_test.py35 sock.sendto(payload.encode(), addr)
/hal_espressif-2.7.6/components/coap/port/
Dcoap_debug.c477 int encode = 0, have_options = 0, i; in coap_show_pdu() local
591 encode = 0; in coap_show_pdu()
593 encode = 1; in coap_show_pdu()
598 buf, sizeof(buf), encode); in coap_show_pdu()
/hal_espressif-2.7.6/examples/protocols/modbus/serial/
Dexample_test.py120 pattern = pattern.encode('utf-8')
123 data = data.encode('utf-8')
/hal_espressif-2.7.6/tools/ci/python_packages/tiny_test_fw/
DDUT.py442 data = data.encode('utf-8')
773 formatted_data = timestamp.encode() + b'\r\n' + data + b'\r\n'
790 data = data.encode()
/hal_espressif-2.7.6/tools/test_apps/protocols/pppos/
Dapp_test.py104 conn.send(data.encode())
/hal_espressif-2.7.6/examples/protocols/http_server/ws_echo_server/
Dws_server_example_test.py50 return self.ws.send_binary(data.encode())
/hal_espressif-2.7.6/examples/protocols/cbor/
DREADME.md6 … to JSON but with smaller footprint. This example will illustrate how to encode and decode CBOR da…
/hal_espressif-2.7.6/examples/provisioning/legacy/custom_config/components/custom_provisioning/python/
Dcustom_config_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
/hal_espressif-2.7.6/examples/protocols/sockets/udp_client/
Dexample_test.py73 self.socket.sendto(reply.encode(), addr)
/hal_espressif-2.7.6/examples/protocols/sockets/tcp_client/
Dexample_test.py79 conn.send(reply.encode())
/hal_espressif-2.7.6/components/lwip/weekend_test/
Dnet_suite_test.py54 dut1.write(str.encode(packet))
/hal_espressif-2.7.6/tools/ci/python_packages/tiny_test_fw/Utility/
DCaseConfig.py68 output = item.encode().lower()
/hal_espressif-2.7.6/tools/unit-test-app/
Dunit_test.py377 expected_signal = data[0].encode('utf-8')
396 'name': data[0].encode('utf-8'),
397 'parameter': '' if data[2] is None else data[2].encode('utf-8')

12