Home
last modified time | relevance | path

Searched refs:shell (Results 26 – 50 of 1489) sorted by relevance

12345678910>>...60

/Zephyr-latest/subsys/mgmt/mcumgr/transport/
DKconfig.shell5 # The Kconfig file is dedicated to shell transport of MCUmgr
18 Enables handling of SMP commands received over shell. This allows
19 the shell to be use for both mcumgr commands and shell commands.
27 Maximum size of SMP frames sent and received over shell. This value
35 Number of buffers used for receiving SMP fragments over shell.
41 received via the shell transport after a given time. This prevents
42 the shell from becoming locked if it never receives the full packet
51 transport before considering it as timed out and returning the shell
/Zephyr-latest/drivers/edac/
Dshell.c38 static void decode_ecc_error(const struct shell *sh, uint64_t ecc_error) in decode_ecc_error()
59 static int ecc_error_show(const struct shell *sh, const struct device *dev) in ecc_error_show()
79 static int parity_error_show(const struct shell *sh, const struct device *dev) in parity_error_show()
95 static int cmd_edac_info(const struct shell *sh, size_t argc, char **argv) in cmd_edac_info()
126 static int cmd_inject_addr(const struct shell *sh, size_t argc, char **argv) in cmd_inject_addr()
173 static int cmd_inject_mask(const struct shell *sh, size_t argc, char **argv) in cmd_inject_mask()
218 static int cmd_inject_trigger(const struct shell *sh, size_t argc, in cmd_inject_trigger()
236 static int cmd_inject_disable_nmi(const struct shell *sh, size_t argc, in cmd_inject_disable_nmi()
244 static int cmd_inject_enable_nmi(const struct shell *sh, size_t argc, in cmd_inject_enable_nmi()
264 static int cmd_inject_error_type_show(const struct shell *sh, size_t argc, in cmd_inject_error_type_show()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Davrcp.c85 static int register_cb(const struct shell *sh) in register_cb()
104 static int cmd_register_cb(const struct shell *sh, int32_t argc, char *argv[]) in cmd_register_cb()
116 static int cmd_connect(const struct shell *sh, int32_t argc, char *argv[]) in cmd_connect()
137 static int cmd_disconnect(const struct shell *sh, int32_t argc, char *argv[]) in cmd_disconnect()
155 static int cmd_get_unit_info(const struct shell *sh, int32_t argc, char *argv[]) in cmd_get_unit_info()
172 static int cmd_get_subunit_info(const struct shell *sh, int32_t argc, char *argv[]) in cmd_get_subunit_info()
189 static int cmd_passthrough(const struct shell *sh, bt_avrcp_opid_t operation_id, in cmd_passthrough()
210 static int cmd_play(const struct shell *sh, int32_t argc, char *argv[]) in cmd_play()
215 static int cmd_pause(const struct shell *sh, int32_t argc, char *argv[]) in cmd_pause()
231 static int cmd_avrcp(const struct shell *sh, size_t argc, char **argv) in cmd_avrcp()
/Zephyr-latest/subsys/shell/
Dshell_wildcard.h23 void z_shell_wildcard_prepare(const struct shell *sh);
47 enum shell_wildcard_status z_shell_wildcard_process(const struct shell *sh,
55 void z_shell_wildcard_finalize(const struct shell *sh);
Dshell.c45 static inline void receive_state_change(const struct shell *sh, in receive_state_change()
51 static void cmd_buffer_clear(const struct shell *sh) in cmd_buffer_clear()
58 static void shell_internal_help_print(const struct shell *sh) in shell_internal_help_print()
79 static int cmd_precheck(const struct shell *sh, in cmd_precheck()
97 static inline void state_set(const struct shell *sh, enum shell_state state) in state_set()
112 static inline enum shell_state state_get(const struct shell *sh) in state_get()
118 selected_cmd_get(const struct shell *sh) in selected_cmd_get()
128 static void tab_item_print(const struct shell *sh, const char *option, in tab_item_print()
157 static void history_init(const struct shell *sh) in history_init()
166 static void history_purge(const struct shell *sh) in history_purge()
[all …]
Dshell_log_backend.c12 static bool process_msg_from_buffer(const struct shell *sh);
32 const struct shell *sh; in z_shell_log_backend_enable()
34 sh = (const struct shell *)ctx; in z_shell_log_backend_enable()
58 const struct shell *sh = in z_shell_log_backend_process()
59 (const struct shell *)backend->backend->cb->ctx; in z_shell_log_backend_process()
85 const struct shell *sh = (const struct shell *)backend->cb->ctx; in panic()
117 const struct shell *sh = (const struct shell *)backend->cb->ctx; in dropped()
158 static void process_log_msg(const struct shell *sh, in process_log_msg()
205 static bool process_msg_from_buffer(const struct shell *sh) in process_msg_from_buffer()
229 const struct shell *sh = (const struct shell *)backend->cb->ctx; in process()
/Zephyr-latest/subsys/logging/
Dlog_cmds.c17 typedef int (*log_backend_cmd_t)(const struct shell *sh,
59 static bool shell_state_precheck(const struct shell *sh) in shell_state_precheck()
73 static int shell_backend_cmd_execute(const struct shell *sh, in shell_backend_cmd_execute()
103 static int log_status(const struct shell *sh, in log_status()
138 static int cmd_log_self_status(const struct shell *sh, in cmd_log_self_status()
148 static int cmd_log_backend_status(const struct shell *sh, in cmd_log_backend_status()
171 static void filters_set(const struct shell *sh, in filters_set()
222 static int log_enable(const struct shell *sh, in log_enable()
241 static int cmd_log_self_enable(const struct shell *sh, in cmd_log_self_enable()
251 static int cmd_log_backend_enable(const struct shell *sh, in cmd_log_backend_enable()
[all …]
/Zephyr-latest/samples/net/openthread/shell/
DREADME.rst1 .. zephyr:code-sample:: openthread-shell
2 :name: OpenThread shell
5 Test Thread and IEEE 802.15.4 using the OpenThread shell.
11 boards using the OpenThread shell.
21 :zephyr-app: samples/net/openthread/shell
/Zephyr-latest/samples/subsys/profiling/perf/pytest/
Dtest_perf.py15 def test_shell_perf(dut: DeviceAdapter, shell: Shell):
17 shell.base_timeout=10
20 lines = shell.exec_command('perf record 200 99')
26 lines = shell.exec_command('perf printbuf')
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmedia_controller.c386 static int cmd_media_init(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_init()
440 static int cmd_media_set_player(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_set_player()
470 static int cmd_media_show_players(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_show_players()
489 static int cmd_media_discover_player(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_discover_player()
501 static int cmd_media_read_player_name(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_read_player_name()
513 static int cmd_media_read_icon_obj_id(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_read_icon_obj_id()
525 static int cmd_media_read_icon_url(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_read_icon_url()
536 static int cmd_media_read_track_title(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_read_track_title()
547 static int cmd_media_read_track_duration(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_read_track_duration()
558 static int cmd_media_read_track_position(const struct shell *sh, size_t argc, char *argv[]) in cmd_media_read_track_position()
[all …]
Dhas.c40 static int cmd_preset_reg(const struct shell *sh, size_t argc, char **argv) in cmd_preset_reg()
64 static int cmd_preset_unreg(const struct shell *sh, size_t argc, char **argv) in cmd_preset_unreg()
83 static int cmd_features_set(const struct shell *sh, size_t argc, char **argv) in cmd_features_set()
120 static int cmd_has_register(const struct shell *sh, size_t argc, char **argv) in cmd_has_register()
159 const struct shell *sh;
173 static int cmd_preset_list(const struct shell *sh, size_t argc, char **argv) in cmd_preset_list()
188 static int cmd_preset_avail(const struct shell *sh, size_t argc, char **argv) in cmd_preset_avail()
207 static int cmd_preset_unavail(const struct shell *sh, size_t argc, char **argv) in cmd_preset_unavail()
226 static int cmd_preset_active_set(const struct shell *sh, size_t argc, char **argv) in cmd_preset_active_set()
245 static int cmd_preset_active_get(const struct shell *sh, size_t argc, char **argv) in cmd_preset_active_get()
[all …]
Dmcc.c577 static int cmd_mcc_init(const struct shell *sh, size_t argc, char **argv) in cmd_mcc_init()
669 static int cmd_mcc_discover_mcs(const struct shell *sh, size_t argc, in cmd_mcc_discover_mcs()
692 static int cmd_mcc_read_player_name(const struct shell *sh, size_t argc, in cmd_mcc_read_player_name()
705 static int cmd_mcc_read_icon_obj_id(const struct shell *sh, size_t argc, in cmd_mcc_read_icon_obj_id()
719 static int cmd_mcc_read_icon_url(const struct shell *sh, size_t argc, in cmd_mcc_read_icon_url()
733 static int cmd_mcc_read_track_title(const struct shell *sh, size_t argc, in cmd_mcc_read_track_title()
747 static int cmd_mcc_read_track_duration(const struct shell *sh, size_t argc, in cmd_mcc_read_track_duration()
761 static int cmd_mcc_read_track_position(const struct shell *sh, size_t argc, in cmd_mcc_read_track_position()
775 static int cmd_mcc_set_track_position(const struct shell *sh, size_t argc, in cmd_mcc_set_track_position()
804 static int cmd_mcc_read_playback_speed(const struct shell *sh, size_t argc, in cmd_mcc_read_playback_speed()
[all …]
/Zephyr-latest/samples/modules/thrift/hello/server/
DMakefile6 OS = $(shell uname -s)
17 THRIFT_FLAGS += $(shell pkg-config --cflags thrift)
21 HOMEBREW_PREFIX := $(shell brew --prefix)
23 BOOST_INCLUDE := $(shell find $(HOMEBREW_PREFIX) -path '*/Cellar/boost/*/include' -type d | head -n…
25 THRIFT_FLAGS += $(shell pkg-config --cflags openssl)
28 THRIFT_LIBS = $(shell pkg-config --libs thrift)
/Zephyr-latest/subsys/mgmt/hawkbit/
Dshell.c20 static void cmd_run(const struct shell *sh, size_t argc, char **argv) in cmd_run()
67 static int cmd_info(const struct shell *sh, size_t argc, char *argv) in cmd_info()
91 static int cmd_init(const struct shell *sh, size_t argc, char *argv) in cmd_init()
103 static int cmd_reset(const struct shell *sh, size_t argc, char *argv) in cmd_reset()
117 static int cmd_set_addr(const struct shell *sh, size_t argc, char **argv) in cmd_set_addr()
129 static int cmd_set_port(const struct shell *sh, size_t argc, char **argv) in cmd_set_port()
142 static int cmd_set_token(const struct shell *sh, size_t argc, char **argv) in cmd_set_token()
/Zephyr-latest/subsys/stats/
Dstats_shell.c12 struct shell *sh = arg; in stats_cb()
34 struct shell *sh = arg; in stats_group_cb()
40 static int cmd_stats_list(const struct shell *sh, size_t argc, in cmd_stats_list()
43 return stats_group_walk(stats_group_cb, (struct shell *)sh); in cmd_stats_list()
/Zephyr-latest/subsys/shell/modules/kernel_service/
DKconfig7 bool "Kernel shell"
14 This shell provides access to basic kernel data like version, uptime
20 int "Delay between reception of shell reboot command and reboot (ms)"
24 This delay allows time for the shell to successfully echo the reboot
26 external systems that interact with the shell and require the reboot
/Zephyr-latest/tests/drivers/can/host/pytest/
Dconftest.py39 def fixture_chosen(shell: Shell) -> str:
42 lines = shell.get_filtered_output(shell.exec_command('can_host chosen'))
55 def can_dut(dut: DeviceAdapter, shell: Shell, chosen: str) -> BusABC:
57 bus = CanShellBus(dut, shell, chosen)
/Zephyr-latest/samples/modules/thrift/hello/client/
DMakefile6 OS = $(shell uname -s)
17 THRIFT_FLAGS += $(shell pkg-config --cflags thrift)
21 HOMEBREW_PREFIX := $(shell brew --prefix)
23 BOOST_INCLUDE := $(shell find $(HOMEBREW_PREFIX) -path '*/Cellar/boost/*/include' -type d | head -n…
25 THRIFT_FLAGS += $(shell pkg-config --cflags openssl)
27 THRIFT_LIBS = $(shell pkg-config --libs thrift)
/Zephyr-latest/tests/bluetooth/classic/sdp_c/pytest/
Dtest_sdp.py341 async def sdp_ssa_discover_no_record(hci_port, shell, dut, address) -> None: argument
369 shell.exec_command(f"sdp_client ssa_discovery {BT_L2CAP_PROTOCOL_ID.to_hex_str()}")
375 async def sdp_ssa_discover_one_record(hci_port, shell, dut, address) -> None: argument
402 shell.exec_command(f"sdp_client ssa_discovery {BT_L2CAP_PROTOCOL_ID.to_hex_str()}")
432 async def sdp_ssa_discover_two_records(hci_port, shell, dut, address) -> None: argument
459 shell.exec_command(f"sdp_client ssa_discovery {BT_L2CAP_PROTOCOL_ID.to_hex_str()}")
502 async def sdp_ssa_discover_multiple_records(hci_port, shell, dut, address) -> None: argument
529 shell.exec_command(f"sdp_client ssa_discovery {BT_L2CAP_PROTOCOL_ID.to_hex_str()}")
535 async def sdp_ss_discover_no_record(hci_port, shell, dut, address) -> None: argument
563 shell.exec_command(f"sdp_client ss_discovery {BT_L2CAP_PROTOCOL_ID.to_hex_str()}")
[all …]
/Zephyr-latest/include/zephyr/shell/
Dshell_dummy.h46 const struct shell *shell_backend_dummy_get_ptr(void);
57 const char *shell_backend_dummy_get_output(const struct shell *sh,
65 void shell_backend_dummy_clear_output(const struct shell *sh);
/Zephyr-latest/drivers/fpga/
Dfpga_shell.c13 static int parse_common_args(const struct shell *sh, char **argv, in parse_common_args()
24 static int cmd_on(const struct shell *sh, size_t argc, char **argv) in cmd_on()
44 static int cmd_off(const struct shell *sh, size_t argc, char **argv) in cmd_off()
64 static int cmd_reset(const struct shell *sh, size_t argc, char **argv) in cmd_reset()
84 static int cmd_load(const struct shell *sh, size_t argc, char **argv) in cmd_load()
105 static int cmd_get_status(const struct shell *sh, size_t argc, char **argv) in cmd_get_status()
120 static int cmd_get_info(const struct shell *sh, size_t argc, char **argv) in cmd_get_info()
/Zephyr-latest/subsys/usb/host/
Dusbh_shell.c28 static void print_dev_desc(const struct shell *sh, in print_dev_desc()
47 static void print_cfg_desc(const struct shell *sh, in print_cfg_desc()
79 static int cmd_bulk(const struct shell *sh, size_t argc, char **argv) in cmd_bulk()
132 static int cmd_vendor_in(const struct shell *sh, in cmd_vendor_in()
160 static int cmd_vendor_out(const struct shell *sh, in cmd_vendor_out()
185 static int cmd_desc_device(const struct shell *sh, in cmd_desc_device()
201 static int cmd_desc_config(const struct shell *sh, in cmd_desc_config()
220 static int cmd_desc_string(const struct shell *sh, in cmd_desc_string()
249 static int cmd_feature_set_halt(const struct shell *sh, in cmd_feature_set_halt()
269 static int cmd_feature_clear_rwup(const struct shell *sh, in cmd_feature_clear_rwup()
[all …]
/Zephyr-latest/subsys/fb/
Dcfb_shell.c31 static int cmd_clear(const struct shell *sh, size_t argc, char *argv[]) in cmd_clear()
55 static int cmd_cfb_print(const struct shell *sh, int col, int row, char *str) in cmd_cfb_print()
85 static int cmd_print(const struct shell *sh, size_t argc, char *argv[]) in cmd_print()
111 static int cmd_draw_text(const struct shell *sh, size_t argc, char *argv[]) in cmd_draw_text()
129 static int cmd_draw_point(const struct shell *sh, size_t argc, char *argv[]) in cmd_draw_point()
148 static int cmd_draw_line(const struct shell *sh, size_t argc, char *argv[]) in cmd_draw_line()
169 static int cmd_draw_rect(const struct shell *sh, size_t argc, char *argv[]) in cmd_draw_rect()
190 static int cmd_scroll_vert(const struct shell *sh, size_t argc, char *argv[]) in cmd_scroll_vert()
226 static int cmd_scroll_horz(const struct shell *sh, size_t argc, char *argv[]) in cmd_scroll_horz()
263 static int cmd_set_font(const struct shell *sh, size_t argc, char *argv[]) in cmd_set_font()
[all …]
/Zephyr-latest/samples/subsys/shell/shell_module/
DREADME.rst1 .. zephyr:code-sample:: shell-module
5 Register shell commands using the Shell API
21 See ``dynamic`` command and :zephyr_file:`samples/subsys/shell/shell_module/src/dynamic_cmd.c`
40 * A target configured with the shell interface, exposed through any of
46 This sample can be found under :zephyr_file:`samples/subsys/shell/shell_module`
58 :zephyr-app: samples/subsys/shell/shell_module
64 After running the application, the console displays the shell interface, and
65 shows the shell prompt, at which point the user may start the interaction.
71 :zephyr-app: samples/subsys/shell/shell_module
88 section_cmd shell shell_uart_release
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dfixtures.py15 from twister_harness.helpers.shell import Shell
69 def shell(dut: DeviceAdapter) -> Shell: function
71 shell = Shell(dut, timeout=20.0)
74 shell.prompt = prompt
76 if not shell.wait_for_prompt():
83 return shell

12345678910>>...60