Home
last modified time | relevance | path

Searched refs:shell (Results 76 – 100 of 1489) sorted by relevance

12345678910>>...60

/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_nosec.py26 def test_LightweightM2M_1_1_int_101(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint_nose…
33 def test_LightweightM2M_1_1_int_105(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint_nose…
48 shell.exec_command('lwm2m update')
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Ddfd.c19 static void print_receivers_status(const struct shell *sh, struct bt_mesh_dfd_srv *srv, in print_receivers_status()
25 static void print_dfd_status(const struct shell *sh, struct bt_mesh_dfd_srv *srv, in print_dfd_status()
42 static void print_fw_status(const struct shell *sh, enum bt_mesh_dfd_status status, in print_fw_status()
67 static int cmd_dfd_receivers_add(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfd_receivers_add()
119 static int cmd_dfd_receivers_delete_all(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfd_receivers_delete_all()
139 static int cmd_dfd_receivers_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfd_receivers_get()
178 static int cmd_dfd_capabilities_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfd_capabilities_get()
194 static int cmd_dfd_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfd_get()
207 static int cmd_dfd_start(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfd_start()
264 static int cmd_dfd_suspend(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfd_suspend()
[all …]
Dpriv_beacon.c14 static int cmd_priv_beacon_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_priv_beacon_get()
32 static int cmd_priv_beacon_set(const struct shell *sh, size_t argc, char *argv[]) in cmd_priv_beacon_set()
60 static int cmd_priv_gatt_proxy_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_priv_gatt_proxy_get()
77 static int cmd_priv_gatt_proxy_set(const struct shell *sh, size_t argc, char *argv[]) in cmd_priv_gatt_proxy_set()
98 static int cmd_priv_node_id_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_priv_node_id_get()
119 static int cmd_priv_node_id_set(const struct shell *sh, size_t argc, char *argv[]) in cmd_priv_node_id_set()
Dop_agg.c14 static int cmd_seq_start(const struct shell *sh, size_t argc, char *argv[]) in cmd_seq_start()
38 static int cmd_seq_send(const struct shell *sh, size_t argc, char *argv[]) in cmd_seq_send()
50 static int cmd_seq_abort(const struct shell *sh, size_t argc, char *argv[]) in cmd_seq_abort()
/Zephyr-latest/subsys/net/lib/shell/
Dcm.c81 static void cm_print_flags(const struct shell *sh) in cm_print_flags()
104 static void cm_target_help(const struct shell *sh) in cm_target_help()
112 static int parse_ifi_target(const struct shell *sh, size_t argc, char *argv[], int *argidx, in parse_ifi_target()
150 static int parse_if_target(const struct shell *sh, size_t argc, char *argv[], int *argidx, in parse_if_target()
184 static int parse_target(const struct shell *sh, size_t argc, char *argv[], int *argidx, in parse_target()
233 static int parse_getset(const struct shell *sh, size_t argc, char *argv[], int *argidx, in parse_getset()
262 static int parse_flag(const struct shell *sh, size_t argc, char *argv[], int *argidx, in parse_flag()
289 static int parse_bool(const struct shell *sh, size_t argc, char *argv[], int *argidx, bool *result) in parse_bool()
323 static int parse_timeout(const struct shell *sh, size_t argc, char *argv[], int *argidx, in parse_timeout()
382 const struct shell *sh = user_data; in cm_iface_status()
[all …]
/Zephyr-latest/drivers/regulator/
Dregulator_shell.c74 static void microtoshell(const struct shell *sh, char unit, int32_t val) in microtoshell()
85 static int cmd_enable(const struct shell *sh, size_t argc, char **argv) in cmd_enable()
107 static int cmd_disable(const struct shell *sh, size_t argc, char **argv) in cmd_disable()
129 static int cmd_is_enabled(const struct shell *sh, size_t argc, char **argv) in cmd_is_enabled()
150 static int cmd_vlist(const struct shell *sh, size_t argc, char **argv) in cmd_vlist()
182 static int cmd_vset(const struct shell *sh, size_t argc, char **argv) in cmd_vset()
219 static int cmd_vget(const struct shell *sh, size_t argc, char **argv) in cmd_vget()
244 static int cmd_clist(const struct shell *sh, size_t argc, char **argv) in cmd_clist()
276 static int cmd_iset(const struct shell *sh, size_t argc, char **argv) in cmd_iset()
312 static int cmd_iget(const struct shell *sh, size_t argc, char **argv) in cmd_iget()
[all …]
/Zephyr-latest/drivers/w1/
Dw1_shell.c26 static int read_io_options(const struct shell *sh, int pos, char **argv, in read_io_options()
50 static int cmd_w1_reset_bus(const struct shell *sh, size_t argc, char **argv) in cmd_w1_reset_bus()
72 static int cmd_w1_read_bit(const struct shell *sh, size_t argc, char **argv) in cmd_w1_read_bit()
96 static int cmd_w1_read_byte(const struct shell *sh, size_t argc, char **argv) in cmd_w1_read_byte()
120 static int cmd_w1_read_block(const struct shell *sh, size_t argc, char **argv) in cmd_w1_read_block()
162 static int cmd_w1_write_bit(const struct shell *sh, size_t argc, char **argv) in cmd_w1_write_bit()
189 static int cmd_w1_write_byte(const struct shell *sh, size_t argc, char **argv) in cmd_w1_write_byte()
238 static int cmd_w1_write_block(const struct shell *sh, size_t argc, char **argv) in cmd_w1_write_block()
291 static int cmd_w1_configure(const struct shell *sh, size_t argc, char **argv) in cmd_w1_configure()
342 const struct shell *sh = (const struct shell *)user_data; in search_callback()
[all …]
/Zephyr-latest/subsys/settings/src/
Dsettings_shell.c16 const struct shell *shell_ptr;
41 static int cmd_list(const struct shell *shell_ptr, size_t argc, char *argv[]) in cmd_list()
65 const struct shell *shell_ptr;
131 static int cmd_read(const struct shell *shell_ptr, size_t argc, char *argv[]) in cmd_read()
163 static int cmd_write(const struct shell *shell_ptr, size_t argc, char *argv[]) in cmd_write()
208 static int cmd_delete(const struct shell *shell_ptr, size_t argc, char *argv[]) in cmd_delete()
242 static int cmd_settings(const struct shell *shell_ptr, size_t argc, char **argv) in cmd_settings()
/Zephyr-latest/drivers/watchdog/
DKconfig.shell5 bool "Watchdog (WDT) shell"
8 Enable WDT shell.
/Zephyr-latest/doc/hardware/peripherals/eeprom/
Dshell.rst13 The EEPROM shell provides an ``eeprom`` command with a set of subcommands for the :ref:`shell
15 through an interactive interface without having to write a dedicated application. The EEPROM shell
18 In order to enable the EEPROM shell, the following :ref:`Kconfig <kconfig>` options must be enabled:
24 …lding the :zephyr:code-sample:`hello_world` sample for the :ref:`native_sim` with the EEPROM shell:
32 See the :ref:`shell <shell_api>` documentation for general instructions on how to connect and
33 interact with the shell. The EEPROM shell comes with built-in help (unless
39 … All of the EEPROM shell subcommands take the name of an EEPROM peripheral as their first argument,
41 ``device list`` shell command when :kconfig:option:`CONFIG_DEVICE_SHELL` is enabled. The examples
/Zephyr-latest/doc/connectivity/networking/api/
Dtls_credentials_shell.rst6 The TLS Credentials shell provides a command-line interface for managing installed TLS credentials.
25 .. code-block:: shell
33 .. code-block:: shell
60 .. code-block:: shell
66 .. code-block:: shell
96 .. code-block:: shell
122 .. code-block:: shell
149 .. code-block:: shell
155 .. code-block:: shell
161 .. code-block:: shell
[all …]
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_l2.c362 time_diff = end_time - ctx->shell.echo_req_data; in echo_reply_handler()
363 ctx->shell.echo_req_data = in echo_reply_handler()
366 k_sem_give(&ctx->shell.wait_echo_reply); in echo_reply_handler()
380 ctx->shell.echo_req_data = k_cycle_get_32(); in net_ppp_ping()
381 ctx->shell.echo_reply.cb = echo_reply_handler; in net_ppp_ping()
382 ctx->shell.echo_reply.user_data = ctx; in net_ppp_ping()
383 ctx->shell.echo_reply.user_data_len = sizeof(ctx); in net_ppp_ping()
386 UINT_TO_POINTER(ctx->shell.echo_req_data), in net_ppp_ping()
387 sizeof(ctx->shell.echo_req_data)); in net_ppp_ping()
392 ret = k_sem_take(&ctx->shell.wait_echo_reply, K_MSEC(timeout)); in net_ppp_ping()
[all …]
/Zephyr-latest/drivers/hwinfo/
Dhwinfo_shell.c13 static int cmd_get_device_id(const struct shell *sh, size_t argc, char **argv) in cmd_get_device_id()
41 static int cmd_get_device_eui64(const struct shell *sh, size_t argc, char **argv) in cmd_get_device_eui64()
121 static void print_all_reset_causes(const struct shell *sh, uint32_t cause) in print_all_reset_causes()
131 static int cmd_show_reset_cause(const struct shell *sh, size_t argc, in cmd_show_reset_cause()
159 static int cmd_clear_reset_cause(const struct shell *sh, size_t argc, in cmd_clear_reset_cause()
178 static int cmd_supported_reset_cause(const struct shell *sh, size_t argc, in cmd_supported_reset_cause()
/Zephyr-latest/modules/lvgl/
Dlvgl_shell.c57 static void dump_monkey_info(const struct shell *sh) in dump_monkey_info()
69 static int cmd_lvgl_monkey(const struct shell *sh, size_t argc, char *argv[]) in cmd_lvgl_monkey()
81 static int cmd_lvgl_monkey_create(const struct shell *sh, size_t argc, char *argv[]) in cmd_lvgl_monkey_create()
115 static int cmd_lvgl_monkey_set(const struct shell *sh, size_t argc, char *argv[]) in cmd_lvgl_monkey_set()
141 static int cmd_lvgl_stats(const struct shell *sh, size_t argc, char *argv[]) in cmd_lvgl_stats()
150 static int cmd_lvgl_stats_memory(const struct shell *sh, size_t argc, char *argv[]) in cmd_lvgl_stats_memory()
/Zephyr-latest/drivers/sensor/
Dsensor_shell.h17 const struct shell *sh;
22 int cmd_sensor_stream(const struct shell *shell_ptr, size_t argc, char *argv[]);
/Zephyr-latest/scripts/pylib/pytest-twister-harness/
DREADME.rst17 Run exemplary test shell application by Twister:
24 ./scripts/twister -p native_sim -p qemu_x86 -T samples/subsys/testsuite/pytest/shell
27 …0dk/nrf52840 --device-testing --device-serial /dev/ttyACM0 -T samples/subsys/testsuite/pytest/shell
29 or build shell application by west and call pytest directly:
35 cd ${ZEPHYR_BASE}/samples/subsys/testsuite/pytest/shell
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dvcp_vol_ctlr.c311 static int cmd_vcp_vol_ctlr_discover(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_discover()
340 static int cmd_vcp_vol_ctlr_state_get(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_state_get()
358 static int cmd_vcp_vol_ctlr_flags_get(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_flags_get()
376 static int cmd_vcp_vol_ctlr_volume_down(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_volume_down()
394 static int cmd_vcp_vol_ctlr_volume_up(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_volume_up()
413 static int cmd_vcp_vol_ctlr_unmute_volume_down(const struct shell *sh, in cmd_vcp_vol_ctlr_unmute_volume_down()
431 static int cmd_vcp_vol_ctlr_unmute_volume_up(const struct shell *sh, in cmd_vcp_vol_ctlr_unmute_volume_up()
449 static int cmd_vcp_vol_ctlr_volume_set(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_volume_set()
483 static int cmd_vcp_vol_ctlr_unmute(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_unmute()
501 static int cmd_vcp_vol_ctlr_mute(const struct shell *sh, size_t argc, in cmd_vcp_vol_ctlr_mute()
[all …]
Dmicp_mic_ctlr.c207 static int cmd_micp_mic_ctlr_discover(const struct shell *sh, size_t argc, in cmd_micp_mic_ctlr_discover()
229 static int cmd_micp_mic_ctlr_mute_get(const struct shell *sh, size_t argc, in cmd_micp_mic_ctlr_mute_get()
247 static int cmd_micp_mic_ctlr_mute(const struct shell *sh, size_t argc, in cmd_micp_mic_ctlr_mute()
265 static int cmd_micp_mic_ctlr_unmute(const struct shell *sh, size_t argc, in cmd_micp_mic_ctlr_unmute()
284 static int cmd_micp_mic_ctlr_aics_input_state_get(const struct shell *sh, in cmd_micp_mic_ctlr_aics_input_state_get()
316 static int cmd_micp_mic_ctlr_aics_gain_setting_get(const struct shell *sh, in cmd_micp_mic_ctlr_aics_gain_setting_get()
348 static int cmd_micp_mic_ctlr_aics_input_type_get(const struct shell *sh, in cmd_micp_mic_ctlr_aics_input_type_get()
380 static int cmd_micp_mic_ctlr_aics_input_status_get(const struct shell *sh, in cmd_micp_mic_ctlr_aics_input_status_get()
412 static int cmd_micp_mic_ctlr_aics_input_unmute(const struct shell *sh, in cmd_micp_mic_ctlr_aics_input_unmute()
440 static int cmd_micp_mic_ctlr_aics_input_mute(const struct shell *sh, in cmd_micp_mic_ctlr_aics_input_mute()
[all …]
/Zephyr-latest/subsys/task_wdt/
Dtask_wdt_shell.c12 static int cmd_init(const struct shell *sh, size_t argc, char *argv) in cmd_init()
35 static int cmd_add(const struct shell *sh, size_t argc, char **argv) in cmd_add()
63 static int cmd_feed(const struct shell *sh, size_t argc, char **argv) in cmd_feed()
82 static int cmd_del(const struct shell *sh, size_t argc, char **argv) in cmd_del()
/Zephyr-latest/lib/posix/shell/
DKconfig.env5 bool "Support for shell"
9 This shell provides access to system environment variables.
/Zephyr-latest/subsys/shell/backends/
DKconfig.backends10 Enable shell backends.
15 DT_CHOSEN_Z_SHELL_UART := zephyr,shell-uart
39 Displayed prompt name for UART backend. If prompt is set, the shell will
48 bool "Asynchronous shell API"
52 This option enables asynchronous shell API.
96 bytes by shell. If shell input is coming from the keyboard then it is
117 CPU load is high and there is very high shell thread latency.
124 space that can hold RX data. It may be decreased if shell input is
126 to the shell prompt.
146 source "subsys/shell/Kconfig.template.shell_log_queue_timeout"
[all …]
/Zephyr-latest/drivers/virtualization/
Dvirt_ivshmem_shell.c31 const struct shell *sh = p1; in doorbell_notification_thread()
54 static bool get_ivshmem(const struct shell *sh) in get_ivshmem()
64 static int cmd_ivshmem_shmem(const struct shell *sh, in cmd_ivshmem_shmem()
90 static int cmd_ivshmem_dump(const struct shell *sh, in cmd_ivshmem_dump()
120 static int cmd_ivshmem_int(const struct shell *sh, in cmd_ivshmem_int()
154 static int cmd_ivshmem_get_notified(const struct shell *sh, in cmd_ivshmem_get_notified()
/Zephyr-latest/samples/drivers/smbus/
DREADME.rst1 .. zephyr:code-sample:: smbus-shell
2 :name: SMBus shell
5 Interact with SMBus peripherals using shell commands.
10 This is a simple SMBus shell sample that allows arbitrary boards with SMBus
35 Start SMBUS shell sample qemu_x86_64
38 List available SMBus shell commands with:
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map_shell.c25 struct shell *sh = user_data; in fa_cb()
42 static int cmd_flash_map_list(const struct shell *sh, size_t argc, char **argv) in cmd_flash_map_list()
55 flash_area_foreach(fa_cb, (struct shell *)sh); in cmd_flash_map_list()
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dtest_downgrade_prevention.py17 def test_downgrade_prevention(dut: DeviceAdapter, shell: Shell, mcumgr: MCUmgr):
34 check_with_shell_command(shell, origin_version)
55 check_with_shell_command(shell, origin_version)

12345678910>>...60