Home
last modified time | relevance | path

Searched full:shell (Results 1 – 25 of 1313) sorted by relevance

12345678910>>...53

/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/shell/
DKconfig1 # Bluetooth Mesh shell configuration options
7 bool "Bluetooth Mesh shell"
8 select SHELL
10 Activate shell module that provides Bluetooth Mesh commands to
16 bool "Support for provisioning shell commands"
20 This options enables support for provisioning shell commands.
23 bool "Support for shell provisioning context instance"
27 Bluetooth Mesh shell module together with several provisioning
33 bool "Support for CDB shell commands"
37 This options enables support for CDB shell commands.
[all …]
/Zephyr-Core-3.6.0/subsys/shell/
DKconfig1 # Shell configuration options
8 menuconfig SHELL config
9 bool "Shell"
13 if SHELL
15 module = SHELL
16 module-str = Shell
18 source "subsys/shell/backends/Kconfig.backends"
24 and memory requirements of the shell. Enabling it will choose Kconfig
29 bool "Override default shell thread priority"
31 Option to change the default value of shell thread priority.
[all …]
Dshell_ops.h10 #include <zephyr/shell/shell.h>
53 static inline bool z_flag_insert_mode_get(const struct shell *sh) in z_flag_insert_mode_get()
58 static inline bool z_flag_insert_mode_set(const struct shell *sh, bool val) in z_flag_insert_mode_set()
66 static inline bool z_flag_use_colors_get(const struct shell *sh) in z_flag_use_colors_get()
71 static inline bool z_flag_use_colors_set(const struct shell *sh, bool val) in z_flag_use_colors_set()
79 static inline bool z_flag_use_vt100_get(const struct shell *sh) in z_flag_use_vt100_get()
84 static inline bool z_flag_use_vt100_set(const struct shell *sh, bool val) in z_flag_use_vt100_set()
92 static inline bool z_flag_echo_get(const struct shell *sh) in z_flag_echo_get()
97 static inline bool z_flag_echo_set(const struct shell *sh, bool val) in z_flag_echo_set()
105 static inline bool z_flag_obscure_get(const struct shell *sh) in z_flag_obscure_get()
[all …]
Dshell_wildcard.h10 #include <zephyr/shell/shell.h>
21 * @param[in] shell Pointer to the shell instance.
23 void z_shell_wildcard_prepare(const struct shell *sh);
34 /* Function expands wildcards in the shell temporary buffer
43 * @param[in] shell Pointer to the shell instance.
47 enum shell_wildcard_status z_shell_wildcard_process(const struct shell *sh,
53 * @param[in] shell Pointer to the shell instance.
55 void z_shell_wildcard_finalize(const struct shell *sh);
/Zephyr-Core-3.6.0/samples/subsys/shell/shell_module/
Dsample.yaml2 name: Shell Sample
4 sample.shell.shell_module:
5 filter: CONFIG_SERIAL and dt_chosen_enabled("zephyr,shell-uart")
6 tags: shell
12 sample.shell.shell_module.usb:
15 - shell
24 sample.shell.shell_module.minimal:
25 filter: CONFIG_SERIAL and dt_chosen_enabled("zephyr,shell-uart")
26 tags: shell
31 sample.shell.shell_module.getopt:
[all …]
/Zephyr-Core-3.6.0/tests/subsys/shell/shell/
Dtestcase.yaml2 tags: shell
8 shell.core:
11 shell.min:
16 shell.min_cmds:
21 shell.min_cmds_all:
26 shell.min_cmds_resize:
31 shell.min_cmds_select:
36 shell.min_colors:
41 shell.min_help:
46 shell.min_help_all:
[all …]
/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/interop/pytest/
Dtest_bootstrap.py20 from twister_harness import Shell
39 def test_LightweightM2M_1_1_int_1(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint_bootst… argument
42 verify_LightweightM2M_1_1_int_101(shell, dut, leshan, endpoint_bootstrap)
43 verify_LightweightM2M_1_1_int_401(shell, leshan, endpoint_bootstrap)
45 def test_LightweightM2M_1_1_int_4(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: Endpo… argument
47 shell.exec_command('lwm2m create 1/2')
48 shell.exec_command('lwm2m read 1/2/0')
49 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
53 shell.exec_command('lwm2m read 1/2/0')
54 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
[all …]
Dconftest.py20 from twister_harness import Shell
31 def __init__(self, name: str, shell: Shell, registered: bool = False, bootstrap: bool = False): argument
35 self.shell = shell
42 self.shell.exec_command('lwm2m update')
91 def endpoint_nosec(shell: Shell, dut: DeviceAdapter, leshan: Leshan) -> str: argument
102 shell.exec_command(f'lwm2m write 0/0/0 -s coap://{LESHAN_IP}:{COAP_PORT}')
103 shell.exec_command('lwm2m write 0/0/1 -b 0')
104 shell.exec_command('lwm2m write 0/0/2 -u8 3')
105 shell.exec_command(f'lwm2m write 0/0/3 -s {ep}')
106 shell.exec_command('lwm2m create 1/0')
[all …]
Dtest_lwm2m.py27 from twister_harness import Shell
33 def test_LightweightM2M_1_1_int_102(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str… argument
35 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
45 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
47 def test_LightweightM2M_1_1_int_103(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str… argument
53 shell.exec_command('lwm2m stop')
55 shell.exec_command(f'lwm2m start {endpoint}')
58 def test_LightweightM2M_1_1_int_104(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str… argument
60 shell.exec_command('lwm2m update')
66 def test_LightweightM2M_1_1_int_107(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str… argument
[all …]
/Zephyr-Core-3.6.0/subsys/mgmt/mcumgr/transport/
DKconfig.shell5 # The Kconfig file is dedicated to shell transport of MCUmgr
13 bool "Shell mcumgr SMP transport"
14 depends on SHELL
18 Enables handling of SMP commands received over shell. This allows
19 the shell to be use for both mcumgr commands and shell commands.
24 int "Shell SMP MTU"
27 Maximum size of SMP frames sent and received over shell. This value
32 int "Shell SMP RX buffer count"
35 Number of buffers used for receiving SMP fragments over shell.
38 bool "Shell input expiration"
[all …]
/Zephyr-Core-3.6.0/tests/subsys/shell/shell/src/
Dmain.c8 * @brief Interactive shell test suite
15 #include <zephyr/shell/shell.h>
16 #include <zephyr/shell/shell_dummy.h>
26 const struct shell *sh = shell_backend_dummy_get_ptr(); in test_shell_execute_cmd()
57 test_shell_execute_cmd("shell -h", 1); in ZTEST()
58 test_shell_execute_cmd("shell --help", 1); in ZTEST()
59 test_shell_execute_cmd("shell dummy", 1); in ZTEST()
60 test_shell_execute_cmd("shell dummy dummy", 1); in ZTEST()
63 test_shell_execute_cmd("shell backspace_mode -h", 1); in ZTEST()
64 test_shell_execute_cmd("shell backspace_mode --help", 1); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/shell/
Dshell_dummy.h2 * Shell backend used for testing
12 #include <zephyr/shell/shell.h>
26 /** output buffer to collect shell output */
38 * @brief This function shall not be used directly. It provides pointer to shell
41 * Function returns pointer to the shell dummy instance. This instance can be
44 * @returns Pointer to the shell instance.
46 const struct shell *shell_backend_dummy_get_ptr(void);
49 * @brief Returns the buffered output in the shell and resets the pointer
53 * @param sh Shell pointer
54 * @param sizep Returns size of data in shell buffer
[all …]
Dshell.h11 #include <zephyr/shell/shell_types.h>
12 #include <zephyr/shell/shell_history.h>
13 #include <zephyr/shell/shell_fprintf.h>
14 #include <zephyr/shell/shell_log_backend.h>
15 #include <zephyr/shell/shell_string_conv.h>
49 * By default, shell is parsing all arguments, treats all spaces as argument
70 * @brief Shell API
71 * @defgroup shell_api Shell API
79 * @brief Shell dynamic command descriptor.
86 * write to entry->syntax NULL value. This will indicate to the shell
[all …]
Dshell_history.h28 * @brief Create shell history instance.
31 * @param _size Memory dedicated for shell history.
47 * @brief Initialize shell history module.
49 * @param history Shell history instance.
54 * @brief Purge shell history.
56 * Function clears whole shell command history.
58 * @param history Shell history instance.
66 * @param history Shell history instance.
71 * @brief Get next entry in shell command history.
75 * @param[in] history Shell history instance.
[all …]
Dshell_telnet.h10 #include <zephyr/shell/shell.h>
27 /** TELNET-based shell transport. */
29 /** Handler function registered by shell. */
32 /** Context registered by shell. */
46 * to send the shell prompt for instance.
63 * @brief This function provides pointer to shell telnet backend instance.
65 * Function returns pointer to the shell telnet instance. This instance can be
68 * @returns Pointer to the shell instance.
70 const struct shell *shell_backend_telnet_get_ptr(void);
/Zephyr-Core-3.6.0/doc/connectivity/bluetooth/api/
Dindex.rst32 shell/bap.rst
33 shell/bap_broadcast_assistant.rst
34 shell/bap_scan_delegator.rst
35 shell/cap.rst
36 shell/ccp.rst
37 shell/csip.rst
38 shell/gmap.rst
39 shell/iso.rst
40 shell/mcp.rst
41 shell/tmap.rst
[all …]
/Zephyr-Core-3.6.0/subsys/shell/modules/
DKconfig1 # Shell configuration options
7 bool "Kernel shell"
14 This shell provides access to basic kernel data like version, uptime
18 int "Delay between reception of shell reboot command and reboot (ms)"
23 This delay allows time for the shell to successfully echo the reboot
25 external systems that interact with the shell and require the reboot
30 bool "Device shell"
33 This shell provides access to basic device data.
36 bool "Date shell"
40 This shell provides access to date and time based on Unix time.
[all …]
/Zephyr-Core-3.6.0/tests/bluetooth/shell/
Dtestcase.yaml9 bluetooth.shell.main:
25 bluetooth.shell.power_control_request:
32 bluetooth.shell.cdc_acm:
49 bluetooth.shell.shell_br:
65 bluetooth.shell.no_privacy:
69 bluetooth.shell.log_defaults:
75 bluetooth.shell.audio:
79 bluetooth.shell.audio.no_vcs:
85 bluetooth.shell.audio.no_vocs:
92 bluetooth.shell.audio.no_aics:
[all …]
/Zephyr-Core-3.6.0/scripts/pylib/pytest-twister-harness/tests/helpers/
Dshell_test.py6 from twister_harness.helpers.shell import Shell
10 """Run shell_simulator.py program, send "zen" command via shell helper and verify output."""
11 shell = Shell(shell_simulator_adapter, timeout=5.0)
12 assert shell.wait_for_prompt()
13 lines = shell.exec_command('zen')
/Zephyr-Core-3.6.0/subsys/mgmt/mcumgr/grp/shell_mgmt/
DKconfig5 # The Kconfig file is dedicated to Shell management group of
16 bool "Mcumgr handlers for shell management"
17 depends on SHELL
21 Enables MCUmgr handlers for shell management. The handler will utilize
22 the dummy backend to execute shell commands and capture the output to
25 It is possible to use additional shell backends in coordination
30 Note that maximum length of shell command accepted is regulated by
38 # Show dummy shell buffer size here, will show help text of original prompt so
41 int "Shell output buffer size (Size of dummy buffer size)"
44 bool "Legacy behaviour: Use rc field for shell function return code"
[all …]
/Zephyr-Core-3.6.0/samples/subsys/testsuite/pytest/shell/pytest/
Dtest_shell.py7 from twister_harness import Shell
12 def test_shell_print_help(shell: Shell): argument
14 lines = shell.exec_command('help')
19 def test_shell_print_version(shell: Shell): argument
21 lines = shell.exec_command('kernel version')
/Zephyr-Core-3.6.0/subsys/shell/backends/
DKconfig.backends1 # Shell backends configuration options
7 bool "Shell backends"
10 Enable shell backends.
15 DT_CHOSEN_Z_SHELL_UART := zephyr,shell-uart
42 Displayed prompt name for UART backend. If prompt is set, the shell will
51 bool "Asynchronous shell API"
55 This option enables asynchronous shell API.
94 bytes by shell. If shell input is coming from the keyboard then it is
115 CPU load is high and there is very high shell thread latency.
122 space that can hold RX data. It may be decreased if shell input is
[all …]
/Zephyr-Core-3.6.0/subsys/bluetooth/shell/
Dll.h2 * @brief Bluetooth Link Layer shell functions
16 int cmd_ll_addr_read(const struct shell *sh, size_t argc, char *argv[]);
18 int cmd_advx(const struct shell *sh, size_t argc, char *argv[]);
19 int cmd_scanx(const struct shell *sh, size_t argc, char *argv[]);
21 int cmd_test_tx(const struct shell *sh, size_t argc, char *argv[]);
22 int cmd_test_rx(const struct shell *sh, size_t argc, char *argv[]);
23 int cmd_test_end(const struct shell *sh, size_t argc, char *argv[]);
/Zephyr-Core-3.6.0/samples/subsys/shell/fs/
Dsample.yaml2 description: FS shell sample
3 name: FS shell
6 - shell
10 sample.filesystem.shell:
18 sample.filesystem.shell.fuse:
25 sample.filesystem.shell.flash_load:
/Zephyr-Core-3.6.0/tests/drivers/rtc/shell/src/
Dmain.c12 #include <zephyr/shell/shell.h>
13 #include <zephyr/shell/shell_dummy.h>
89 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
95 zassert_ok(err, "failed to execute shell command (err %d)", err); in ZTEST()
101 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
107 zassert_ok(err, "shell command (err %d)", err); in ZTEST()
113 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
119 zassert_true(err != 0, "shell command (err %d)", err); in ZTEST()
125 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
134 zassert_ok(err, "failed to execute shell command (err %d)", err); in ZTEST()
[all …]

12345678910>>...53