Home
last modified time | relevance | path

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

123

/Zephyr-4.2.1/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/pytest/
Dtest_magic_addr.py17 dut.write(str.encode('A'))
20 dut.write(str.encode('B'))
/Zephyr-4.2.1/scripts/utils/
Dtls_creds_installer.py62 encoded = base64.b64encode(cred_text.encode()).decode()
127 cred_hash = hashlib.sha256(cred_text.encode('utf-8') + b'\x00')
151 ser.write(bytes((line + CMD_TERM_DICT[cmd_term_key]).encode('utf-8')))
164 val1 = val1.encode()
167 val2 = val2.encode()
170 store = store.encode()
/Zephyr-4.2.1/doc/services/serialization/
Dindex.rst6 Zephyr has support for several data serialization subsystems. These can be used to encode/decode
Djson.rst6 Zephyr provides a JSON library that can be used to encode and decode JSON data.
34 To encode a C structure into a JSON string, use :c:func:`json_obj_encode_buf`.
/Zephyr-4.2.1/subsys/bluetooth/services/
DKconfig.cts12 bool "Helper APIs to encode and decode CTS formatted time"
/Zephyr-4.2.1/soc/intel/intel_adsp/tools/
Dcavstool_client.py48 self.sock.sendall(cmd.encode("utf-8"))
71 values = (fsize, fname.encode('utf-8'), md5_tx.encode('utf-8'))
Dremote-fw-service.py117 self.request.sendall("success".encode('utf-8'))
120 self.request.sendall("failed".encode('utf-8'))
/Zephyr-4.2.1/drivers/gpio/
Dgpio_max149x6.h30 static uint8_t max149x6_crc(uint8_t *data, bool encode) in max149x6_crc() argument
46 for (i = (encode) ? 0 : 2; i < 8; i++) { in max149x6_crc()
/Zephyr-4.2.1/scripts/build/
Dllext_slidlib.py40 m.update(symbol_name.encode("utf-8"))
Dfile2hex.py76 hexdata = codecs.encode(chunk, 'hex').decode("utf-8")
82 hexdata = codecs.encode(chunk, 'hex').decode("utf-8")
/Zephyr-4.2.1/scripts/west_commands/runners/
Dintel_adsp.py93 hash_object = hashlib.md5(self.bin_fw.encode(), usedforsecurity=False)
94 random_str = f"{random.getrandbits(64)}".encode()
/Zephyr-4.2.1/scripts/tracing/
Dtrace_capture_uart.py41 ser.write("enable\r".encode())
Dtrace_capture_usb.py91 file_desc.write(chr(buff[index]).encode('latin1'))
/Zephyr-4.2.1/drivers/interrupt_controller/
DKconfig.clic56 int "The number of bits in CLICINTCTLBITS to encode the interrupt level"
61 encode the interrupt level at machine mode.
/Zephyr-4.2.1/tests/net/lib/lwm2m/interop/pytest/
Dtest_blockwise.py86 data = ''.join(random.choice(string.ascii_letters) for i in range(4096)).encode()
117 data = ''.join(random.choice(string.ascii_letters) for i in range(4096)).encode()
Dconftest.py141 logger.debug('Bootstrap PSK: %s', binascii.b2a_hex(bs_passwd.encode()).decode())
142 logger.debug('PSK: %s', binascii.b2a_hex(passwd.encode()).decode())
/Zephyr-4.2.1/samples/modules/nanopb/
DREADME.rst12 The structured data to encode/decode is presented as follows:
/Zephyr-4.2.1/scripts/pylib/power-twister-harness/stm32l562e_dk/
DSerialHandler.py55 self.serial_connection.write((cmd + "\r\n").encode('ascii'))
/Zephyr-4.2.1/scripts/pylib/pytest-twister-harness/tests/resources/
Dfifo_mock.py72 wf.write(f'{line}\n'.encode('utf-8'))
/Zephyr-4.2.1/boards/microchip/mec172xevb_assy6906/support/
Dmec172x_remote_flasher.py76 sha256.update(now.encode("utf-8"))
/Zephyr-4.2.1/samples/drivers/modem/at_client/script/
Dhl78xx_firmware_update_xmodem_1k.py142 cmd_bytes = (command + '\r\n').encode('ascii')
160 if expected_response.encode() in buffer:
359 if expected.encode() in buffer:
456 cmd_bytes = (f"AT+WDSD={file_size}" + '\r\n').encode('ascii')
/Zephyr-4.2.1/subsys/mgmt/mcumgr/grp/fs_mgmt/
DKconfig44 Files that have size up to 64KB require 1 to 3 bytes to encode
50 Files that have size up to 4GB require 1 to 5 bytes to encode
147 figure out how to encode map depending on its predicted size.
/Zephyr-4.2.1/doc/connectivity/networking/api/
Dtls_credentials_shell.rst260 … be used to install credentials of any type, since base64 can be used to encode any concievable bi…
267 …tes (or other raw-binary credentials, such as non-printable PSKs) base64-encode the binary and use…
268 - To install PEM-formatted X.509 certificates or certificate chains, base64 encode the full PEM str…
271 It is possible to use ``BIN`` instead if you manually encode a NULL terminator into the base64.
/Zephyr-4.2.1/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py67 self._device.write(command_ext.encode())
/Zephyr-4.2.1/scripts/coredump/gdbstubs/
Dgdbstub.py89 pkt += format(checksum, "02X").encode()
128 pkt += format(self.gdb_signal, "02X").encode()

123