Home
last modified time | relevance | path

Searched refs:command (Results 26 – 50 of 853) sorted by relevance

12345678910>>...35

/Zephyr-4.1.0/doc/services/device_mgmt/
Dec_host_cmd.rst8 The host command protocol defines the interface for a host, or application processor, to
9 communicate with a target embedded controller (EC). The EC Host command subsystem implements the
10 target side of the protocol, generating responses to commands sent by the host. The host command
25 The general handler validates data from the backend e.g. check sizes, checksum, etc. If the command
26 is valid and the user has provided a handler for a received command id, the command handler is
40 communication. The main issues are unknown command size sent by the host (the SPI transaction
44 can be changed in the future once the SPI API is extended to host command needs. Please check `the
67 The STM32 SPI host command backend driver supports the :dtcompatible:`st,stm32h7-spi` and
96 initializes the host command subsystem by calling :c:func:`ec_host_cmd_init`:
110 The host command communication requires buffers for rx and tx. The buffers are be provided by the
[all …]
/Zephyr-4.1.0/subsys/mgmt/ec_host_cmd/
DKconfig.logging1 # Host command logging configs
10 Every command is logged with the debug logging level. Use this config
12 other command parameters.
18 Suppressed commands are not logged on host command reception. Set
/Zephyr-4.1.0/scripts/pylib/shell-twister-harness/
Dtest_shell.py29 for command, expected in get_next_commands(testdata_path):
30 logger.info('send command: %s', command)
31 lines = shell.exec_command(command)
/Zephyr-4.1.0/scripts/west_commands/runners/
Dnios2.py52 def do_run(self, command, **kwargs): argument
53 if command == 'flash':
56 self.debug_debugserver(command, **kwargs)
75 def debug_debugserver(self, command, **kwargs): argument
90 if command == 'debugserver':
Dmdb.py48 def mdb_do_run(mdb_runner, command): argument
75 if command == 'flash':
80 elif command == 'debug':
152 def do_run(self, command, **kwargs): argument
153 mdb_do_run(self, command)
201 def do_run(self, command, **kwargs): argument
202 mdb_do_run(self, command)
Dnative.py55 def do_run(self, command: str, **kwargs):
56 if command == 'flash':
58 elif command == 'debug':
60 elif command == 'debugserver':
Drenode.py49 def do_run(self, command, **kwargs): argument
61 for command in self.renode_command:
63 cmd.append(command)
/Zephyr-4.1.0/drivers/i2c/
Di2c_cc13xx_cc26xx.c53 uint32_t command = I2C_MCTRL_RUN; in i2c_cc13xx_cc26xx_transmit() local
56 command |= I2C_MCTRL_START; in i2c_cc13xx_cc26xx_transmit()
60 command |= I2C_MCTRL_STOP; in i2c_cc13xx_cc26xx_transmit()
64 I2CMasterControl(base, command); in i2c_cc13xx_cc26xx_transmit()
68 if ((command & I2C_MCTRL_STOP) == 0) { in i2c_cc13xx_cc26xx_transmit()
88 uint32_t command = I2C_MCTRL_RUN; in i2c_cc13xx_cc26xx_receive() local
91 command |= I2C_MCTRL_START; in i2c_cc13xx_cc26xx_receive()
95 command |= I2C_MCTRL_STOP; in i2c_cc13xx_cc26xx_receive()
97 command |= I2C_MCTRL_ACK; in i2c_cc13xx_cc26xx_receive()
100 I2CMasterControl(base, command); in i2c_cc13xx_cc26xx_receive()
[all …]
/Zephyr-4.1.0/subsys/modem/
Dmodem_cmux.c79 static int modem_cmux_wrap_command(struct modem_cmux_command **command, const uint8_t *data, in modem_cmux_wrap_command() argument
86 (*command) = (struct modem_cmux_command *)data; in modem_cmux_wrap_command()
88 if (((*command)->length.ea == 0) || ((*command)->type.ea == 0)) { in modem_cmux_wrap_command()
92 if ((*command)->length.value != (data_len - 2)) { in modem_cmux_wrap_command()
224 static void modem_cmux_log_transmit_command(const struct modem_cmux_command *command) in modem_cmux_log_transmit_command() argument
226 LOG_DBG("ea:%u,cr:%u,type:%s", command->type.ea, command->type.cr, in modem_cmux_log_transmit_command()
227 modem_cmux_command_type_to_str(command->type.value)); in modem_cmux_log_transmit_command()
228 LOG_HEXDUMP_DBG(command->value, command->length.value, "data:"); in modem_cmux_log_transmit_command()
231 static void modem_cmux_log_received_command(const struct modem_cmux_command *command) in modem_cmux_log_received_command() argument
233 LOG_DBG("ea:%u,cr:%u,type:%s", command->type.ea, command->type.cr, in modem_cmux_log_received_command()
[all …]
/Zephyr-4.1.0/subsys/mgmt/mcumgr/grp/os_mgmt/
DKconfig26 int "Delay before executing reset command (ms)"
30 When a reset command is received, the system waits this many milliseconds
40 command has been issued via an MCUmgr command. With this option
41 disabled, modules will reboot when the command is received without
43 application will be notified that a reset command has been received
50 bool "Support for taskstat command"
101 The length of the string that is sent in response to taskstat command,
123 Enabling this option adds stack information into "taskstat" command
134 bool "Support for echo command"
139 bool "Support for datetime command"
[all …]
/Zephyr-4.1.0/samples/subsys/shell/devmem_load/
DREADME.md1 # Zephyr devmem load command
2 This module add a `devmem load` command that allows data to be loaded into device memory.
3 The `devmem load` command is supported by every transport the shell can run on.
5 After using a command in the Zephyr shell, the device reads all transferred data and writes to an a…
9 Note: when using the devmem load command over UART it is recommended to use interrupts whenever pos…
30 The `devmem load` command can now be used (`devmem load [option] [address]`):
51 Currently, the `devmem load` command supports the following argument:
/Zephyr-4.1.0/boards/common/
Drenode.board.cmake5 board_runner_args(renode "--renode-command=$elf=@${PROJECT_BINARY_DIR}/${KERNEL_ELF_NAME}")
6 board_runner_args(renode "--renode-command=include @${RENODE_SCRIPT}")
/Zephyr-4.1.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dbinary_adapter.py42 if not self.command:
46 log_command(logger, 'Running command', self.command, level=logging.DEBUG)
48 self._process = subprocess.Popen(self.command, **self.process_kwargs)
122 self.command = [str(self.device_config.app_build_dir / 'zephyr' / 'zephyr.exe')]
130 self.command = [str(self.device_config.app_build_dir / 'testbinary')]
136 … self.command = [self.west, 'build', '-d', str(self.device_config.app_build_dir), '-t', 'run']
/Zephyr-4.1.0/samples/net/secure_mqtt_sensor_actuator/src/
Ddevice.h32 const char *command; member
54 void device_command_handler(uint8_t *command);
/Zephyr-4.1.0/samples/application_development/code_relocation_nocopy/boards/
Dnrf54h20dk_nrf54h20_cpuapp.overlay11 read-command = <0xEC13>;
12 command-length = "INSTR_2_BYTE";
/Zephyr-4.1.0/drivers/auxdisplay/
Dauxdisplay_serlcd.c99 const enum auxdisplay_serlcd_command command) in auxdisplay_serlcd_send_command() argument
102 const uint8_t buffer[2] = {SERLCD_BEGIN_COMMAND, command}; in auxdisplay_serlcd_send_command()
112 const enum auxdisplay_serlcd_special_command command) in auxdisplay_serlcd_send_special_command() argument
115 const uint8_t buffer[2] = {SERLCD_BEGIN_SPECIAL_COMMAND, command}; in auxdisplay_serlcd_send_special_command()
126 uint8_t command = SERLCD_SPECIAL_DISPLAY_CONTROL; in auxdisplay_serlcd_send_display_state() local
129 command |= SERLCD_DISPLAY_CONTROL_POWER_BIT; in auxdisplay_serlcd_send_display_state()
132 command |= SERLCD_DISPLAY_CONTROL_CURSOR_BIT; in auxdisplay_serlcd_send_display_state()
135 command |= SERLCD_DISPLAY_CONTROL_BLINKING_BIT; in auxdisplay_serlcd_send_display_state()
138 return auxdisplay_serlcd_send_special_command(dev, command); in auxdisplay_serlcd_send_display_state()
349 const uint8_t command = SERLCD_COMMAND_WRITE_CUSTOM_CHAR + in auxdisplay_serlcd_write() local
[all …]
/Zephyr-4.1.0/lib/posix/shell/
DKconfig.uname7 bool "Support for `uname` command"
11 Support for `uname` command in the terminal.
/Zephyr-4.1.0/drivers/modem/
DKconfig.at_shell5 bool "AT command shell based on modem modules"
21 int "Timeout waiting for response to AT command in seconds"
25 int "Maximum size of AT command"
/Zephyr-4.1.0/samples/drivers/mspi/mspi_flash/boards/
Dapollo3p_evb.overlay45 read-command = <0xEB>;
46 write-command = <0x38>;
47 command-length = "INSTR_1_BYTE";
66 read-command = <0x0B>;
67 write-command = <0x02>;
68 command-length = "INSTR_1_BYTE";
/Zephyr-4.1.0/subsys/bluetooth/audio/
Dmpl.c1350 static uint8_t inactive_state_command_handler(const struct mpl_cmd *command) in inactive_state_command_handler() argument
1354 LOG_DBG("Command opcode: %d", command->opcode); in inactive_state_command_handler()
1356 if (command->use_param) { in inactive_state_command_handler()
1357 LOG_DBG("Command parameter: %d", command->param); in inactive_state_command_handler()
1360 switch (command->opcode) { in inactive_state_command_handler()
1398 if (command->use_param) { in inactive_state_command_handler()
1399 do_goto_track(&media_player, command->param); in inactive_state_command_handler()
1422 if (command->use_param) { in inactive_state_command_handler()
1423 do_full_goto_group(&media_player, command->param); in inactive_state_command_handler()
1431 LOG_DBG("Invalid command: %d", command->opcode); in inactive_state_command_handler()
[all …]
/Zephyr-4.1.0/subsys/shell/
DKconfig82 int "Shell command buffer size"
86 Maximum command size in bytes. One byte is reserved for the string
116 int "Maximum arguments in shell command"
121 Maximum number of arguments that can build a command.
145 printed on the terminal and passed to the command handler.
155 bool "': command not found' message in the shell"
220 Shell parses command to find '-h' or '--help' string. If the shell
222 for a command.
256 bool "Resize command"
262 characters. Each time terminal screen width is changed resize command
[all …]
/Zephyr-4.1.0/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dmcumgr.py49 command = f'{self.mcumgr_exec} {self.conn_opts} {cmd}'
51 return check_output(shlex.split(command), text=True)
57 command = f'-t {timeout} image upload {image}'
59 command += f' -e -n {slot}'
60 self.run_command(command)
/Zephyr-4.1.0/samples/subsys/modbus/tcp_server/
DREADME.rst40 On the client side, PC or laptop, the following command connects PyModbus
48 For example, to set LED0 on use FC01 command (write_coil).
64 To set LED0 off but LED1 and LED2 on use FC15 command (write_coils).
70 To read LED0, LED1, LED2 state FC05 command (read_coils) can be used.
92 To write single holding registers use FC06 command (write_register),
98 or FC16 command (write_registers).
104 To read holding registers use FC03 command (read_holding_registers).
/Zephyr-4.1.0/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/
Dmain.c347 uint16_t command; in main() local
374 edtt_read((uint8_t *)&command, sizeof(command), EDTTT_BLOCK); in main()
375 command = sys_le16_to_cpu(command); in main()
379 command, size); in main()
381 switch (command) { in main()
/Zephyr-4.1.0/boards/nxp/ucans32k1sic/support/
Dstartup.cmm8 ; - command operation to execute *
26 &command=STRing.SCANAndExtract("&args","command=","")
97 IF ("&command"=="flash")
103 ELSE IF ("&command"=="debug")
118 PRINT %ERROR "Invalid command: &command"

12345678910>>...35