Home
last modified time | relevance | path

Searched refs:shell (Results 51 – 75 of 1489) sorted by relevance

12345678910>>...60

/Zephyr-latest/tests/drivers/can/shell/src/
Dmain.c93 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
103 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
113 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
129 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
140 const struct shell *sh = shell_backend_dummy_get_ptr(); in can_shell_test_bitrate()
168 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
182 const struct shell *sh = shell_backend_dummy_get_ptr(); in can_shell_test_dbitrate()
213 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
234 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
245 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dgmap.c125 static int cmd_gmap_init(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_init()
154 static int cmd_gmap_set_role(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_set_role()
193 static int cmd_gmap_discover(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_discover()
265 static int cmd_gmap_ac_1(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_ac_1()
281 static int cmd_gmap_ac_2(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_ac_2()
297 static int cmd_gmap_ac_3(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_ac_3()
313 static int cmd_gmap_ac_4(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_ac_4()
329 static int cmd_gmap_ac_5(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_ac_5()
346 static int cmd_gmap_ac_6_i(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_ac_6_i()
362 static int cmd_gmap_ac_6_ii(const struct shell *sh, size_t argc, char **argv) in cmd_gmap_ac_6_ii()
[all …]
Dmicp_mic_dev.c106 static int cmd_micp_mic_dev_param(const struct shell *sh, size_t argc, in cmd_micp_mic_dev_param()
152 static int cmd_micp_mic_dev_mute_get(const struct shell *sh, size_t argc, in cmd_micp_mic_dev_mute_get()
164 static int cmd_micp_mic_dev_mute(const struct shell *sh, size_t argc, in cmd_micp_mic_dev_mute()
176 static int cmd_micp_mic_dev_unmute(const struct shell *sh, size_t argc, in cmd_micp_mic_dev_unmute()
188 static int cmd_micp_mic_dev_mute_disable(const struct shell *sh, size_t argc, in cmd_micp_mic_dev_mute_disable()
201 static int cmd_micp_mic_dev_aics_deactivate(const struct shell *sh, size_t argc, in cmd_micp_mic_dev_aics_deactivate()
229 static int cmd_micp_mic_dev_aics_activate(const struct shell *sh, size_t argc, in cmd_micp_mic_dev_aics_activate()
257 static int cmd_micp_mic_dev_aics_input_state_get(const struct shell *sh, in cmd_micp_mic_dev_aics_input_state_get()
285 static int cmd_micp_mic_dev_aics_gain_setting_get(const struct shell *sh, in cmd_micp_mic_dev_aics_gain_setting_get()
313 static int cmd_micp_mic_dev_aics_input_type_get(const struct shell *sh, in cmd_micp_mic_dev_aics_input_type_get()
[all …]
Dtbs.c48 static int cmd_tbs_authorize(const struct shell *sh, size_t argc, char *argv[]) in cmd_tbs_authorize()
62 static int cmd_tbs_init(const struct shell *sh, size_t argc, char *argv[]) in cmd_tbs_init()
123 static int cmd_tbs_accept(const struct shell *sh, size_t argc, char *argv[]) in cmd_tbs_accept()
152 static int cmd_tbs_terminate(const struct shell *sh, size_t argc, in cmd_tbs_terminate()
182 static int cmd_tbs_hold(const struct shell *sh, size_t argc, char *argv[]) in cmd_tbs_hold()
211 static int cmd_tbs_retrieve(const struct shell *sh, size_t argc, in cmd_tbs_retrieve()
241 static int cmd_tbs_originate(const struct shell *sh, size_t argc, char *argv[]) in cmd_tbs_originate()
277 static int cmd_tbs_join(const struct shell *sh, size_t argc, char *argv[]) in cmd_tbs_join()
311 static int cmd_tbs_answer(const struct shell *sh, size_t argc, char *argv[]) in cmd_tbs_answer()
340 static int cmd_tbs_remote_hold(const struct shell *sh, size_t argc, in cmd_tbs_remote_hold()
[all …]
Dvcp_vol_rend.c156 static int cmd_vcp_vol_rend_init(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_init()
242 static int cmd_vcp_vol_rend_volume_step(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_volume_step()
269 static int cmd_vcp_vol_rend_state_get(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_state_get()
281 static int cmd_vcp_vol_rend_flags_get(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_flags_get()
293 static int cmd_vcp_vol_rend_volume_down(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_volume_down()
305 static int cmd_vcp_vol_rend_volume_up(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_volume_up()
318 static int cmd_vcp_vol_rend_unmute_volume_down(const struct shell *sh, in cmd_vcp_vol_rend_unmute_volume_down()
330 static int cmd_vcp_vol_rend_unmute_volume_up(const struct shell *sh, in cmd_vcp_vol_rend_unmute_volume_up()
342 static int cmd_vcp_vol_rend_volume_set(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_volume_set()
370 static int cmd_vcp_vol_rend_unmute(const struct shell *sh, size_t argc, in cmd_vcp_vol_rend_unmute()
[all …]
Dtbs_client.c31 static int cmd_tbs_client_discover(const struct shell *sh, size_t argc, in cmd_tbs_client_discover()
45 static int cmd_tbs_client_set_signal_strength_interval(const struct shell *sh, in cmd_tbs_client_set_signal_strength_interval()
105 static int cmd_tbs_client_hold(const struct shell *sh, size_t argc, in cmd_tbs_client_hold()
159 static int cmd_tbs_client_retrieve(const struct shell *sh, size_t argc, in cmd_tbs_client_retrieve()
214 static int cmd_tbs_client_accept(const struct shell *sh, size_t argc, in cmd_tbs_client_accept()
270 static int cmd_tbs_client_join(const struct shell *sh, size_t argc, in cmd_tbs_client_join()
329 static int cmd_tbs_client_terminate(const struct shell *sh, size_t argc, in cmd_tbs_client_terminate()
384 static int cmd_tbs_client_originate(const struct shell *sh, size_t argc, in cmd_tbs_client_originate()
425 static int cmd_tbs_client_read_bearer_provider_name(const struct shell *sh, in cmd_tbs_client_read_bearer_provider_name()
466 static int cmd_tbs_client_read_bearer_uci(const struct shell *sh, size_t argc, in cmd_tbs_client_read_bearer_uci()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dhealth.c18 static void show_faults(const struct shell *sh, uint8_t test_id, uint16_t cid, uint8_t *faults, in show_faults()
37 static int cmd_fault_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_fault_get()
71 static int fault_clear(const struct shell *sh, size_t argc, char *argv[], bool acked) in fault_clear()
113 static int cmd_fault_clear(const struct shell *sh, size_t argc, char *argv[]) in cmd_fault_clear()
118 static int cmd_fault_clear_unack(const struct shell *sh, size_t argc, char *argv[]) in cmd_fault_clear_unack()
123 static int fault_test(const struct shell *sh, size_t argc, char *argv[], bool acked) in fault_test()
166 static int cmd_fault_test(const struct shell *sh, size_t argc, char *argv[]) in cmd_fault_test()
171 static int cmd_fault_test_unack(const struct shell *sh, size_t argc, char *argv[]) in cmd_fault_test_unack()
176 static int cmd_period_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_period_get()
198 static int period_set(const struct shell *sh, size_t argc, char *argv[], bool acked) in period_set()
[all …]
Dshell.c211 static int cmd_init(const struct shell *sh, size_t argc, char *argv[]) in cmd_init()
230 static int cmd_reset(const struct shell *sh, size_t argc, char *argv[]) in cmd_reset()
242 static int cmd_lpn(const struct shell *sh, size_t argc, char *argv[]) in cmd_lpn()
288 static int cmd_poll(const struct shell *sh, size_t argc, char *argv[]) in cmd_poll()
321 static int cmd_ident(const struct shell *sh, size_t argc, char *argv[]) in cmd_ident()
336 static int cmd_proxy_connect(const struct shell *sh, size_t argc, in cmd_proxy_connect()
356 static int cmd_proxy_disconnect(const struct shell *sh, size_t argc, in cmd_proxy_disconnect()
378 static int cmd_proxy_solicit(const struct shell *sh, size_t argc, in cmd_proxy_solicit()
402 static int cmd_input_num(const struct shell *sh, size_t argc, char *argv[]) in cmd_input_num()
421 static int cmd_input_str(const struct shell *sh, size_t argc, char *argv[]) in cmd_input_str()
[all …]
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/
DREADME.rst2 :name: Pytest shell application testing
4 Execute pytest tests against the Zephyr shell.
12 A simple application provides basic Zephyr shell interface. Twister builds it
16 information about used kernel version. Both tests use ``shell`` fixture, which
32 $ ./scripts/twister -vv --platform native_sim -T samples/subsys/testsuite/pytest/shell
41 samples/subsys/testsuite/pytest/shell/pytest/test_shell.py::test_shell_print_help
50 DEBUG: #: Please refer to shell documentation for more details.
68 DEBUG: #: shell :Useful, not Unix-like shell commands.
72 samples/subsys/testsuite/pytest/shell/pytest/test_shell.py::test_shell_print_version
/Zephyr-latest/tests/bluetooth/classic/sdp_c/pytest/
Dconftest.py20 def fixture_initialize(request, shell: Shell, dut: DeviceAdapter):
33 lines = shell.exec_command("bt init")
47 lines = shell.exec_command("br pscan on")
48 lines = shell.exec_command("br iscan on")
/Zephyr-latest/tests/drivers/rtc/shell/src/
Dmain.c89 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
101 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
113 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
125 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
143 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
158 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
173 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
187 const struct shell *sh = shell_backend_dummy_get_ptr(); in rtc_shell_setup()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_shell.c55 static int cmd_wakeup_request(const struct shell *sh, in cmd_wakeup_request()
70 static int cmd_register(const struct shell *sh, in cmd_register()
91 static int cmd_unregister(const struct shell *sh, in cmd_unregister()
112 static int cmd_usbd_default_strings(const struct shell *sh, in cmd_usbd_default_strings()
131 static int register_classes(const struct shell *sh) in register_classes()
168 static int cmd_usbd_init(const struct shell *sh, in cmd_usbd_init()
186 static int cmd_usbd_default_config(const struct shell *sh, in cmd_usbd_default_config()
218 static int cmd_usbd_enable(const struct shell *sh, in cmd_usbd_enable()
236 static int cmd_usbd_disable(const struct shell *sh, in cmd_usbd_disable()
253 static int cmd_usbd_shutdown(const struct shell *sh, in cmd_usbd_shutdown()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/shell_mgmt/
DKconfig16 bool "Mcumgr handlers for shell management"
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
44 bool "Legacy behaviour: Use rc field for shell function return code"
46 Enabling this options brings back legacy behaviour where the shell
50 shell command exit code, and rc will be used for SMP processing
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dutils.py9 from twister_harness.helpers.shell import ShellMCUbootCommandParsed
14 def check_with_shell_command(shell: Shell, version: str, swap_type: str | None = None) -> None:
15 mcuboot_areas = ShellMCUbootCommandParsed.create_from_cmd_output(shell.exec_command('mcuboot'))
/Zephyr-latest/drivers/lora/
Dshell.c34 static int parse_long(long *out, const struct shell *sh, const char *arg) in parse_long()
49 static int parse_long_range(long *out, const struct shell *sh, in parse_long_range()
70 static int parse_freq(uint32_t *out, const struct shell *sh, const char *arg) in parse_freq()
91 static const struct device *get_modem(const struct shell *sh) in get_modem()
105 static const struct device *get_configured_modem(const struct shell *sh) in get_configured_modem()
129 static int lora_conf_dump(const struct shell *sh) in lora_conf_dump()
147 static int lora_conf_set(const struct shell *sh, const char *param, in lora_conf_set()
205 static int cmd_lora_conf(const struct shell *sh, size_t argc, char **argv) in cmd_lora_conf()
230 static int cmd_lora_send(const struct shell *sh, in cmd_lora_send()
251 static int cmd_lora_recv(const struct shell *sh, size_t argc, char **argv) in cmd_lora_recv()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Darp.c21 const struct shell *sh = data->sh; in arp_cb()
38 static void print_arp_error(const struct shell *sh) in print_arp_error()
46 static int cmd_net_arp(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_arp()
74 static int cmd_net_arp_flush(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_arp_flush()
Dpmtu.c15 static void print_pmtu_error(const struct shell *sh) in print_pmtu_error()
26 const struct shell *sh = data->sh; in pmtu_cb()
58 static int cmd_net_pmtu(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_pmtu()
88 static int cmd_net_pmtu_flush(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_pmtu_flush()
/Zephyr-latest/tests/subsys/shell/shell/src/
Dtest_module.c8 static int cmd2_handler(const struct shell *sh, size_t argc, char **argv) in cmd2_handler()
19 static int sub_cmd1_handler(const struct shell *sh, size_t argc, char **argv) in sub_cmd1_handler()
31 static int sub_cmd2_handler(const struct shell *sh, size_t argc, char **argv) in sub_cmd2_handler()
Dmain.c26 const struct shell *sh = shell_backend_dummy_get_ptr(); in test_shell_execute_cmd()
198 static int cmd_test_module(const struct shell *sh, size_t argc, char **argv) in cmd_test_module()
208 static int cmd_wildcard(const struct shell *sh, size_t argc, char **argv) in cmd_wildcard()
237 static int cmd_dynamic(const struct shell *sh, size_t argc, char **argv) in cmd_dynamic()
279 const struct shell *sh = shell_backend_dummy_get_ptr(); in unselect_cmd()
323 const struct shell *sh; in ZTEST()
350 static int cmd_mand_1_opt_raw_handler(const struct shell *sh, size_t argc, char **argv) in cmd_mand_1_opt_raw_handler()
380 static int cmd_mand_2_opt_raw_handler(const struct shell *sh, size_t argc, char **argv) in cmd_mand_2_opt_raw_handler()
416 static int cmd_dummy(const struct shell *sh, size_t argc, char **argv) in cmd_dummy()
434 static int cmd_handler_dict_1(const struct shell *sh, size_t argc, char **argv, void *data) in cmd_handler_dict_1()
[all …]
/Zephyr-latest/samples/subsys/usb/shell/
DREADME.rst1 .. zephyr:code-sample:: usb-shell
2 :name: USB shell
5 Use shell commands to interact with USB device stack.
10 The sample enables new experimental USB device support and the shell function.
21 :zephyr-app: samples/subsys/usb/shell
30 :zephyr-app: samples/subsys/usb/shell
42 :zephyr-app: samples/subsys/usb/shell
48 Sample shell interaction
/Zephyr-latest/samples/shields/npm6001_ek/src/
Dmain.c70 static int cmd_regulator_list(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_list()
84 static int cmd_regulator_voltages(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_voltages()
109 static int cmd_regulator_enable(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_enable()
131 static int cmd_regulator_disable(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_disable()
153 static int cmd_regulator_set(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_set()
181 static int cmd_regulator_get(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_get()
206 static int cmd_regulator_modeset(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_modeset()
238 static int cmd_regulator_modeget(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_modeget()
270 static int cmd_regulator_errors(const struct shell *sh, size_t argc, char **argv) in cmd_regulator_errors()
298 static int cmd_gpio_configure(const struct shell *sh, size_t argc, char **argv) in cmd_gpio_configure()
[all …]
/Zephyr-latest/samples/arch/mpu/mpu_test/src/
Dmain.c37 static int cmd_read(const struct shell *sh, size_t argc, char *argv[]) in cmd_read()
51 static int cmd_write_mcux(const struct shell *sh, size_t argc, char *argv[]) in cmd_write_mcux()
76 static int cmd_write_stm32(const struct shell *sh, size_t argc, char *argv[]) in cmd_write_stm32()
95 static int cmd_write(const struct shell *sh, size_t argc, char *argv[]) in cmd_write()
112 static int cmd_run(const struct shell *sh, size_t argc, char *argv[]) in cmd_run()
125 static int cmd_mtest(const struct shell *sh, size_t argc, char *argv[]) in cmd_mtest()
/Zephyr-latest/subsys/bluetooth/services/ias/shell/
Dias_client.c34 static int cmd_ias_client_init(const struct shell *sh, size_t argc, char **argv) in cmd_ias_client_init()
48 static int cmd_ias_client_discover(const struct shell *sh, size_t argc, char **argv) in cmd_ias_client_discover()
60 static int cmd_ias_client_set_alert(const struct shell *sh, size_t argc, char **argv) in cmd_ias_client_set_alert()
87 static int cmd_ias_client(const struct shell *sh, size_t argc, char **argv) in cmd_ias_client()
/Zephyr-latest/modules/mbedtls/
Dshell.c11 static int cmd_mbedtls_heap_details(const struct shell *sh, size_t argc, in cmd_mbedtls_heap_details()
19 static int cmd_mbedtls_heap_max_reset(const struct shell *sh, size_t argc, in cmd_mbedtls_heap_max_reset()
27 static int cmd_mbedtls_heap(const struct shell *sh, size_t argc, char **argv) in cmd_mbedtls_heap()
/Zephyr-latest/subsys/shell/
Dshell_help.h17 void z_shell_help_cmd_print(const struct shell *sh,
21 void z_shell_help_subcmd_print(const struct shell *sh,

12345678910>>...60