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/ |
| D | test_magic_addr.py | 17 dut.write(str.encode('A')) 20 dut.write(str.encode('B'))
|
| /Zephyr-4.2.1/scripts/utils/ |
| D | tls_creds_installer.py | 62 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/ |
| D | index.rst | 6 Zephyr has support for several data serialization subsystems. These can be used to encode/decode
|
| D | json.rst | 6 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/ |
| D | Kconfig.cts | 12 bool "Helper APIs to encode and decode CTS formatted time"
|
| /Zephyr-4.2.1/soc/intel/intel_adsp/tools/ |
| D | cavstool_client.py | 48 self.sock.sendall(cmd.encode("utf-8")) 71 values = (fsize, fname.encode('utf-8'), md5_tx.encode('utf-8'))
|
| D | remote-fw-service.py | 117 self.request.sendall("success".encode('utf-8')) 120 self.request.sendall("failed".encode('utf-8'))
|
| /Zephyr-4.2.1/drivers/gpio/ |
| D | gpio_max149x6.h | 30 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/ |
| D | llext_slidlib.py | 40 m.update(symbol_name.encode("utf-8"))
|
| D | file2hex.py | 76 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/ |
| D | intel_adsp.py | 93 hash_object = hashlib.md5(self.bin_fw.encode(), usedforsecurity=False) 94 random_str = f"{random.getrandbits(64)}".encode()
|
| /Zephyr-4.2.1/scripts/tracing/ |
| D | trace_capture_uart.py | 41 ser.write("enable\r".encode())
|
| D | trace_capture_usb.py | 91 file_desc.write(chr(buff[index]).encode('latin1'))
|
| /Zephyr-4.2.1/drivers/interrupt_controller/ |
| D | Kconfig.clic | 56 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/ |
| D | test_blockwise.py | 86 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()
|
| D | conftest.py | 141 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/ |
| D | README.rst | 12 The structured data to encode/decode is presented as follows:
|
| /Zephyr-4.2.1/scripts/pylib/power-twister-harness/stm32l562e_dk/ |
| D | SerialHandler.py | 55 self.serial_connection.write((cmd + "\r\n").encode('ascii'))
|
| /Zephyr-4.2.1/scripts/pylib/pytest-twister-harness/tests/resources/ |
| D | fifo_mock.py | 72 wf.write(f'{line}\n'.encode('utf-8'))
|
| /Zephyr-4.2.1/boards/microchip/mec172xevb_assy6906/support/ |
| D | mec172x_remote_flasher.py | 76 sha256.update(now.encode("utf-8"))
|
| /Zephyr-4.2.1/samples/drivers/modem/at_client/script/ |
| D | hl78xx_firmware_update_xmodem_1k.py | 142 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/ |
| D | Kconfig | 44 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/ |
| D | tls_credentials_shell.rst | 260 … 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/ |
| D | shell.py | 67 self._device.write(command_ext.encode())
|
| /Zephyr-4.2.1/scripts/coredump/gdbstubs/ |
| D | gdbstub.py | 89 pkt += format(checksum, "02X").encode() 128 pkt += format(self.gdb_signal, "02X").encode()
|
123