Home
last modified time | relevance | path

Searched refs:shell (Results 101 – 125 of 1489) sorted by relevance

12345678910>>...60

/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dshell.c14 psa_shell_invalid_arg(const struct shell *sh, char *arg_name) in psa_shell_invalid_arg()
22 psa_shell_cmd_version(const struct shell *sh, size_t argc, char **argv) in psa_shell_cmd_version()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dhas_client.c74 static int cmd_has_client_init(const struct shell *sh, size_t argc, char **argv) in cmd_has_client_init()
86 static int cmd_has_client_discover(const struct shell *sh, size_t argc, char **argv) in cmd_has_client_discover()
103 static int cmd_has_client_read_presets(const struct shell *sh, size_t argc, char **argv) in cmd_has_client_read_presets()
132 static int cmd_has_client_preset_set(const struct shell *sh, size_t argc, char **argv) in cmd_has_client_preset_set()
174 static int cmd_has_client_preset_next(const struct shell *sh, size_t argc, char **argv) in cmd_has_client_preset_next()
209 static int cmd_has_client_preset_prev(const struct shell *sh, size_t argc, char **argv) in cmd_has_client_preset_prev()
244 static int cmd_has_client(const struct shell *sh, size_t argc, char **argv) in cmd_has_client()
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dtest_upgrade.py52 def test_upgrade_with_confirm(dut: DeviceAdapter, shell: Shell, mcumgr: MCUmgr):
87 check_with_shell_command(shell, new_version, swap_type='test')
101 check_with_shell_command(shell, new_version)
104 def test_upgrade_with_revert(dut: DeviceAdapter, shell: Shell, mcumgr: MCUmgr):
143 check_with_shell_command(shell, new_version, swap_type='test')
157 check_with_shell_command(shell, origin_version)
166 def test_upgrade_signature(dut: DeviceAdapter, shell: Shell, mcumgr: MCUmgr, key_file):
/Zephyr-latest/drivers/pm_cpu_ops/
Dpsci_shell.c13 static int cmd_reboot_warm(const struct shell *shctx, size_t argc, char **argv) in cmd_reboot_warm()
28 static int cmd_reboot_cold(const struct shell *shctx, size_t argc, char **argv) in cmd_reboot_cold()
43 static int cmd_psci_cpuon(const struct shell *shctx, size_t argc, char **argv) in cmd_psci_cpuon()
/Zephyr-latest/arch/common/
Disr_tables_shell.c11 static void dump_isr_table_entry(const struct shell *sh, int idx, struct _isr_table_entry *entry) in dump_isr_table_entry()
26 static int cmd_sw_isr_table(const struct shell *sh, size_t argc, char **argv) in cmd_sw_isr_table()
38 static int cmd_shared_sw_isr_table(const struct shell *sh, size_t argc, char **argv) in cmd_shared_sw_isr_table()
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_portfolio.py27 def test_LightweightM2M_1_1_int_1630(shell: Shell, leshan: Leshan, endpoint: str, configuration_C13…
51 shell.exec_command('lwm2m delete /16/1')
55 def test_LightweightM2M_1_1_int_1635(shell: Shell, leshan: Leshan, endpoint: str, configuration_C13…
/Zephyr-latest/subsys/dfu/boot/
Dmcuboot_shell.c87 static int cmd_mcuboot_erase(const struct shell *sh, size_t argc, in cmd_mcuboot_erase()
119 static int cmd_mcuboot_confirm(const struct shell *sh, size_t argc, in cmd_mcuboot_confirm()
132 static int cmd_mcuboot_request_upgrade(const struct shell *sh, size_t argc, in cmd_mcuboot_request_upgrade()
156 static int cmd_mcuboot_serial_recovery(const struct shell *sh, size_t argc, in cmd_mcuboot_serial_recovery()
179 static int cmd_mcuboot_info_area(const struct shell *sh, in cmd_mcuboot_info_area()
225 static int cmd_mcuboot_info(const struct shell *sh, size_t argc, in cmd_mcuboot_info()
/Zephyr-latest/doc/hardware/peripherals/
Dcomparator.rst35 Comparator shell
38 The comparator shell provides the ``comp`` command with a set of subcommands for the
39 :ref:`shell <shell_api>` module.
41 The ``comp`` shell command provides the following subcommands:
60 The power management shell can optionally be enabled alongside the comparator shell.
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_shell.c30 static const struct shell *cb_shell;
32 static int cmd_ieee802154_ack(const struct shell *sh, in cmd_ieee802154_ack()
78 static int cmd_ieee802154_associate(const struct shell *sh, in cmd_ieee802154_associate()
131 static int cmd_ieee802154_disassociate(const struct shell *sh, in cmd_ieee802154_disassociate()
223 static int cmd_ieee802154_scan(const struct shell *sh, in cmd_ieee802154_scan()
301 static int cmd_ieee802154_set_chan(const struct shell *sh, in cmd_ieee802154_set_chan()
334 static int cmd_ieee802154_get_chan(const struct shell *sh, in cmd_ieee802154_get_chan()
363 static int cmd_ieee802154_set_pan_id(const struct shell *sh, in cmd_ieee802154_set_pan_id()
398 static int cmd_ieee802154_get_pan_id(const struct shell *sh, in cmd_ieee802154_get_pan_id()
427 static int cmd_ieee802154_set_ext_addr(const struct shell *sh, in cmd_ieee802154_set_ext_addr()
[all …]
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c97 const struct shell *sh;
124 static int cmd_wifi_set_enterprise_creds(const struct shell *sh, struct net_if *iface) in cmd_wifi_set_enterprise_creds()
154 static bool parse_number(const struct shell *sh, long *param, char *str, in parse_number()
192 const struct shell *sh = context.sh; in handle_wifi_scan_result()
265 const struct shell *sh = context.sh; in handle_wifi_raw_scan_result()
298 const struct shell *sh = context.sh; in handle_wifi_scan_done()
315 const struct shell *sh = context.sh; in handle_wifi_connect_result()
330 const struct shell *sh = context.sh; in handle_wifi_disconnect_result()
350 const struct shell *sh = context.sh; in print_twt_params()
377 const struct shell *sh = context.sh; in handle_wifi_twt_event()
[all …]
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
Dlist.c14 static void rt_stats_dump(const struct shell *sh, struct k_thread *thread) in rt_stats_dump()
65 const struct shell *sh = (const struct shell *)user_data; in shell_tdata_dump()
110 static int cmd_kernel_thread_list(const struct shell *sh, size_t argc, char **argv) in cmd_kernel_thread_list()
/Zephyr-latest/samples/drivers/flash_shell/
DREADME.rst1 .. zephyr:code-sample:: flash-shell
2 :name: Flash shell
5 Explore a flash device using shell commands.
10 This is a simple shell module that allows arbitrary boards with flash
/Zephyr-latest/drivers/i3c/
Di3c_shell.c149 static int i3c_parse_args(const struct shell *sh, char **argv, const struct device **dev, in i3c_parse_args()
172 static int cmd_i3c_info(const struct shell *sh, size_t argc, char **argv) in cmd_i3c_info()
302 static int cmd_i3c_speed(const struct shell *sh, size_t argc, char **argv) in cmd_i3c_speed()
335 static int cmd_i3c_recover(const struct shell *sh, size_t argc, char **argv) in cmd_i3c_recover()
355 static int i3c_write_from_buffer(const struct shell *sh, char *s_dev_name, char *s_tdev_name, in i3c_write_from_buffer()
412 static int cmd_i3c_write(const struct shell *sh, size_t argc, char **argv) in cmd_i3c_write()
419 static int cmd_i3c_write_byte(const struct shell *sh, size_t argc, char **argv) in cmd_i3c_write_byte()
425 static int i3c_read_to_buffer(const struct shell *sh, char *s_dev_name, char *s_tdev_name, in i3c_read_to_buffer()
467 static int cmd_i3c_read_byte(const struct shell *sh, size_t argc, char **argv) in cmd_i3c_read_byte()
481 static int cmd_i3c_read(const struct shell *sh, size_t argc, char **argv) in cmd_i3c_read()
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_shell.c67 static int cmd_send(const struct shell *sh, size_t argc, char **argv) in cmd_send()
107 static int cmd_exec(const struct shell *sh, size_t argc, char **argv) in cmd_exec()
150 static int cmd_read(const struct shell *sh, size_t argc, char **argv) in cmd_read()
301 static int cmd_write(const struct shell *sh, size_t argc, char **argv) in cmd_write()
389 static int cmd_create_or_delete(const struct shell *sh, bool delete, size_t argc, char **argv) in cmd_create_or_delete()
438 static int cmd_create(const struct shell *sh, size_t argc, char **argv) in cmd_create()
443 static int cmd_delete(const struct shell *sh, size_t argc, char **argv) in cmd_delete()
448 static int cmd_start(const struct shell *sh, size_t argc, char **argv) in cmd_start()
490 static int cmd_stop(const struct shell *sh, size_t argc, char **argv) in cmd_stop()
521 static int cmd_update(const struct shell *sh, size_t argc, char **argv) in cmd_update()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dvirtual.c23 const struct shell *sh = data->sh; in virtual_iface_cb()
52 const struct shell *sh = data->sh; in attached_iface_cb()
89 static int cmd_virtual_show(const struct shell *sh, size_t argc, char *argv[]) in cmd_virtual_show()
118 static int cmd_virtual_attach(const struct shell *sh, size_t argc, char *argv[]) in cmd_virtual_attach()
148 static int cmd_virtual_detach(const struct shell *sh, size_t argc, char *argv[]) in cmd_virtual_detach()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dutils.c30 int bt_mesh_shell_mdl_instance_set(const struct shell *sh, const struct bt_mesh_model **mod, in bt_mesh_shell_mdl_instance_set()
53 int bt_mesh_shell_mdl_print_all(const struct shell *sh, uint16_t mod_id) in bt_mesh_shell_mdl_print_all()
70 int bt_mesh_shell_mdl_cmds_help(const struct shell *sh, size_t argc, char **argv) in bt_mesh_shell_mdl_cmds_help()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server_shell.c12 static int cmd_list(const struct shell *sh, size_t argc, char **argv) in cmd_list()
41 static int cmd_start(const struct shell *sh, size_t argc, char **argv) in cmd_start()
64 static int cmd_stop(const struct shell *sh, size_t argc, char **argv) in cmd_stop()
/Zephyr-latest/subsys/shell/
Dshell_utils.h82 void z_shell_cmd_trim(const struct shell *sh);
86 static inline void z_transport_buffer_flush(const struct shell *sh) in z_transport_buffer_flush()
91 static inline bool z_shell_in_select_mode(const struct shell *sh) in z_shell_in_select_mode()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_shell.rst6 Network shell provides helpers for figuring out network status,
8 Note that ``net-shell`` should probably not be used in production code
9 as it will require extra memory. See also :ref:`generic shell <shell_api>`
10 for detailed shell information.
12 The following net-shell commands are implemented:
14 .. csv-table:: net-shell commands
/Zephyr-latest/doc/develop/west/
Dalias.rst11 full text and parsed as a new shell argument list (using the Python function
20 .. code-block:: shell
31 .. code-block:: shell
46 .. code-block:: shell
53 .. code-block:: shell
59 .. code-block:: shell
/Zephyr-latest/samples/subsys/shell/devmem_load/
DREADME.md3 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…
15 …al platforms, the following commands build and run the application with a shell for the FRDM-K64F …
17 west build -b frdm_k64f samples/subsys/shell/devmem_load
23 west build -b native_sim -- -DCONF_FILE=prj_poll.conf samples/subsys/shell/devmem_load
44 It will print the number of the bytes read and return to the shell:
/Zephyr-latest/lib/posix/options/getopt/
DREADME15 [This library is going to be used by the shell module. Some shell users
23 by all instances of the shell at the same time.
28 to getopt function. In proposed implementation each shell backend has its
31 This module is intended to be used inside the shell command handler
41 Zephyr project will only need this component if the user configures a shell
/Zephyr-latest/subsys/llext/
Dshell.c44 static int cmd_llext_list_symbols(const struct shell *sh, size_t argc, char *argv[]) in cmd_llext_list_symbols()
108 const struct shell *sh;
119 static int cmd_llext_list(const struct shell *sh, size_t argc, char *argv[]) in cmd_llext_list()
129 static int cmd_llext_load_hex(const struct shell *sh, size_t argc, char *argv[]) in cmd_llext_load_hex()
164 static int cmd_llext_unload(const struct shell *sh, size_t argc, char *argv[]) in cmd_llext_unload()
179 static int cmd_llext_call_fn(const struct shell *sh, size_t argc, char *argv[]) in cmd_llext_call_fn()
194 static int cmd_llext_load_fs(const struct shell *sh, size_t argc, char *argv[]) in cmd_llext_load_fs()
/Zephyr-latest/doc/services/shell/
Dindex.rst13 This module allows you to create and handle a shell with a user-defined command
15 interaction is required. This module is a Unix-like shell with these features:
22 * Built-in commands: :command:`clear`, :command:`shell`, :command:`colors`,
65 as a shell backend. Connecting to it can be done using PuTTY or any ``telnet`` client.
81 features of the shell.
123 :zephyr_file:`samples/subsys/shell/shell_module/prj_minimal_rtt.conf`.
147 to the shell.
170 to the shell. However, contrary to `PuTTY <shell_rtt_putty_>`_ some features like
226 Use the following macros for adding shell commands:
253 :zephyr_file:`include/zephyr/shell/shell.h`. All created commands are available for all
[all …]
/Zephyr-latest/drivers/smbus/
Dsmbus_shell.c46 static int cmd_smbus_scan(const struct shell *sh, size_t argc, char **argv) in cmd_smbus_scan()
84 static int cmd_smbus_quick(const struct shell *sh, size_t argc, char **argv) in cmd_smbus_quick()
107 static int cmd_smbus_byte_read(const struct shell *sh, size_t argc, char **argv) in cmd_smbus_byte_read()
135 static int cmd_smbus_byte_write(const struct shell *sh, in cmd_smbus_byte_write()
164 static int cmd_smbus_byte_data_read(const struct shell *sh, in cmd_smbus_byte_data_read()
194 static int cmd_smbus_byte_data_write(const struct shell *sh, in cmd_smbus_byte_data_write()
223 static int cmd_smbus_word_data_read(const struct shell *sh, in cmd_smbus_word_data_read()
253 static int cmd_smbus_word_data_write(const struct shell *sh, in cmd_smbus_word_data_write()
282 static int cmd_smbus_block_write(const struct shell *sh, in cmd_smbus_block_write()
322 static int cmd_smbus_block_read(const struct shell *sh, in cmd_smbus_block_read()

12345678910>>...60