Home
last modified time | relevance | path

Searched refs:shell_print (Results 1 – 25 of 47) sorted by relevance

12

/Zephyr-Core-2.7.6/subsys/bluetooth/shell/
Dbredr.c62 shell_print(sh, "Not connected"); in cmd_auth_pincode()
67 shell_print(sh, "PIN code value invalid - enter max %u " in cmd_auth_pincode()
72 shell_print(sh, "PIN code \"%s\" applied", argv[1]); in cmd_auth_pincode()
87 shell_print(sh, "Invalid peer address (err %d)", err); in cmd_connect()
93 shell_print(sh, "Connection failed"); in cmd_connect()
96 shell_print(sh, "Connection pending"); in cmd_connect()
149 shell_print(ctx_shell, "[DEVICE]: %s, RSSI %i %s", br_addr, rssi, name); in br_device_found()
159 shell_print(ctx_shell, "BR/EDR discovery complete"); in br_discovery_complete()
189 shell_print(sh, "Failed to start discovery"); in cmd_discovery()
193 shell_print(sh, "Discovery started"); in cmd_discovery()
[all …]
Dticker.c74 shell_print(sh, "Query done (0x%02x, err= %u).", in cmd_ticker_info()
83 shell_print(sh, "Retry again, tickers too " in cmd_ticker_info()
92 shell_print(sh, "Query reset, %u retries " in cmd_ticker_info()
103 shell_print(sh, "Tickers: %u.", tickers_count); in cmd_ticker_info()
104 shell_print(sh, "Tick: %u (%uus).", ticks_current, in cmd_ticker_info()
111 shell_print(sh, "---------------------"); in cmd_ticker_info()
112 shell_print(sh, " id offset offset"); in cmd_ticker_info()
113 shell_print(sh, " (tick) (us)"); in cmd_ticker_info()
114 shell_print(sh, "---------------------"); in cmd_ticker_info()
116 shell_print(sh, "%03u %08u %08u", tickers[i].id, in cmd_ticker_info()
[all …]
Dvcs_client.c27 shell_print(ctx_shell, "VCS discover done with %u AICS", in vcs_discover_cb()
41 shell_print(ctx_shell, "VCS vol_down done"); in vcs_vol_down_cb()
50 shell_print(ctx_shell, "VCS vol_up done"); in vcs_vol_up_cb()
59 shell_print(ctx_shell, "VCS mute done"); in vcs_mute_cb()
68 shell_print(ctx_shell, "VCS unmute done"); in vcs_unmute_cb()
77 shell_print(ctx_shell, "VCS vol_down_unmute done"); in vcs_vol_down_unmute_cb()
86 shell_print(ctx_shell, "VCS vol_up_unmute done"); in vcs_vol_up_unmute_cb()
95 shell_print(ctx_shell, "VCS vol_set done"); in vcs_vol_set_cb()
105 shell_print(ctx_shell, "VCS volume %u, mute %u", volume, mute); in vcs_state_cb()
114 shell_print(ctx_shell, "VCS flags 0x%02X", flags); in vcs_flags_cb()
[all …]
Dmics_client.c27 shell_print(ctx_shell, "MICS discover done with %u AICS", in mics_discover_cb()
41 shell_print(ctx_shell, "Mute write completed"); in mics_mute_write_cb()
51 shell_print(ctx_shell, "Unmute write completed"); in mics_unmute_write_cb()
61 shell_print(ctx_shell, "Gain set for inst %p", inst); in mics_aics_set_gain_cb()
71 shell_print(ctx_shell, "Unmuted inst %p", inst); in mics_aics_unmute_cb()
81 shell_print(ctx_shell, "Muted inst %p", inst); in mics_aics_mute_cb()
92 shell_print(ctx_shell, "Manuel mode set for inst %p", inst); in mics_aics_set_manual_mode_cb()
103 shell_print(ctx_shell, "Automatic mode set for inst %p", in mics_aics_automatic_mode_cb()
113 shell_print(ctx_shell, "Mute value %u", mute); in mics_mute_cb()
124 shell_print(ctx_shell, "AICS inst %p state gain %d, mute %u, " in mics_aics_state_cb()
[all …]
Dvcs.c28 shell_print(ctx_shell, "VCS volume %u, mute %u", volume, mute); in vcs_state_cb()
37 shell_print(ctx_shell, "VCS flags 0x%02X", flags); in vcs_flags_cb()
49 shell_print(ctx_shell, in aics_state_cb()
63 shell_print(ctx_shell, in aics_gain_setting_cb()
77 shell_print(ctx_shell, "AICS inst %p input type %u", in aics_input_type_cb()
89 shell_print(ctx_shell, "AICS inst %p status %s", in aics_status_cb()
102 shell_print(ctx_shell, "AICS inst %p description %s", in aics_description_cb()
112 shell_print(ctx_shell, "VOCS inst %p offset %d", inst, offset); in vocs_state_cb()
123 shell_print(ctx_shell, "VOCS inst %p location %u", in vocs_location_cb()
136 shell_print(ctx_shell, "VOCS inst %p description %s", in vocs_description_cb()
[all …]
Dgatt.c70 shell_print(ctx_shell, "Write #%u: %u bytes (%u bps)", in print_write_stats()
83 shell_print(ctx_shell, "Exchange %s", err == 0U ? "successful" : in exchange_func()
97 shell_print(sh, "Not connected"); in cmd_exchange_mtu()
102 shell_print(sh, "MTU Exchange ongoing"); in cmd_exchange_mtu()
110 shell_print(sh, "Exchange failed (err %d)", err); in cmd_exchange_mtu()
112 shell_print(sh, "Exchange pending"); in cmd_exchange_mtu()
123 shell_print(sh, "Properties: "); in print_chrc_props()
126 shell_print(sh, "[bcast]"); in print_chrc_props()
130 shell_print(sh, "[read]"); in print_chrc_props()
134 shell_print(sh, "[write]"); in print_chrc_props()
[all …]
Dl2cap.c91 shell_print(ctx_shell, "Confirming reception"); in l2cap_recv_cb()
104 shell_print(ctx_shell, "Incoming data channel %p len %u", chan, in l2cap_recv()
114 shell_print(ctx_shell, "Delaying response in %u ms...", in l2cap_recv()
129 shell_print(ctx_shell, "Outgoing data channel %p transmitted", chan); in l2cap_sent()
134 shell_print(ctx_shell, "Channel %p status %u", chan, status); in l2cap_status()
143 shell_print(ctx_shell, "Channel %p connected", chan); in l2cap_connected()
148 shell_print(ctx_shell, "Channel %p disconnected", chan); in l2cap_disconnected()
155 shell_print(ctx_shell, "Channel %p requires buffer", chan); in l2cap_alloc_buf()
218 shell_print(ctx_shell, "Incoming conn %p", conn); in l2cap_accept()
226 shell_print(ctx_shell, "No channels available"); in l2cap_accept()
[all …]
Dbt.c114 shell_print(ctx_shell, "[DEVICE]: %s, AD evt type %u, RSSI %i %s " in scan_recv()
130 shell_print(ctx_shell, "Scan timeout"); in scan_timeout()
139 shell_print(ctx_shell, "Advertiser[%d] %p sent %d", in adv_sent()
150 shell_print(ctx_shell, "Advertiser[%d] %p scanned by %s", in adv_scanned()
163 shell_print(ctx_shell, "Advertiser[%d] %p connected by %s", in adv_connected()
235 shell_print(sh, "OOB data:"); in print_le_oob()
236 shell_print(sh, "%-29s %-32s %-32s", "addr", "random", "confirm"); in print_le_oob()
237 shell_print(sh, "%29s %32s %32s", addr, r, c); in print_le_oob()
252 shell_print(ctx_shell, "Connected: %s", addr); in connected()
271 shell_print(ctx_shell, "Disconnected: %s (reason 0x%02x)", addr, reason); in disconnected()
[all …]
Dll.c50 shell_print(sh, "Current %s address: %s", str_type, str_addr); in cmd_ll_addr_read()
77 shell_print(sh, "test_tx..."); in cmd_test_tx()
100 shell_print(sh, "test_rx..."); in cmd_test_rx()
115 shell_print(sh, "num_rx= %u.", num_rx); in cmd_test_end()
248 shell_print(sh, "adv param set..."); in cmd_advx()
259 shell_print(sh, "ad data set..."); in cmd_advx()
269 shell_print(sh, "adv enable (%u)...", enable); in cmd_advx()
287 shell_print(sh, "done (err= %d).", err); in cmd_advx()
335 shell_print(sh, "scan param set..."); in cmd_scanx()
343 shell_print(sh, "scan enable (%u)...", enable); in cmd_scanx()
[all …]
Diso.c32 shell_print(ctx_shell, "Incoming data channel %p len %u, seq: %d, ts: %d", in iso_recv()
38 shell_print(ctx_shell, "ISO Channel %p connected", chan); in iso_connected()
43 shell_print(ctx_shell, "ISO Channel %p disconnected with reason 0x%02x", in iso_disconnected()
82 shell_print(ctx_shell, "Incoming request from %p", acl); in iso_accept()
85 shell_print(ctx_shell, "No channels available"); in iso_accept()
225 shell_print(sh, "CIG created"); in cmd_cig_create()
245 shell_print(sh, "CIG terminated"); in cmd_cig_term()
270 shell_print(sh, "ISO Connect pending..."); in cmd_connect()
306 shell_print(sh, "Unable to send: %d", -ret); in cmd_send()
312 shell_print(sh, "ISO sending..."); in cmd_send()
[all …]
Drfcomm.c104 shell_print(ctx_shell, "Incoming data dlc %p len %u", dlci, buf->len); in rfcomm_recv()
109 shell_print(ctx_shell, "Dlc %p connected", dlci); in rfcomm_connected()
114 shell_print(ctx_shell, "Dlc %p disconnected", dlci); in rfcomm_disconnected()
130 shell_print(ctx_shell, "Incoming RFCOMM conn %p", conn); in rfcomm_accept()
163 shell_print(sh, "RFCOMM channel %u registered", in cmd_register()
188 shell_print(sh, "RFCOMM connection pending"); in cmd_connect()
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dshell.c67 shell_print(ctx_shell, "Sending current faults"); in fault_get_cur()
81 shell_print(ctx_shell, "Faults requested for unknown Company ID" in fault_get_reg()
86 shell_print(ctx_shell, "Sending registered faults"); in fault_get_reg()
141 shell_print(ctx_shell, "Health Test ID 0x%02x Company ID " in show_faults()
146 shell_print(ctx_shell, "Health Test ID 0x%02x Company ID 0x%04x Fault " in show_faults()
150 shell_print(ctx_shell, "\t0x%02x", faults[i]); in show_faults()
158 shell_print(ctx_shell, "Health Current Status from 0x%04x", addr); in health_current_status()
188 shell_print(ctx_shell, "Local node provisioned, net_idx 0x%04x address " in prov_complete()
199 shell_print(ctx_shell, "Node provisioned, net_idx 0x%04x address " in prov_node_added()
208 shell_print(ctx_shell, "Input complete"); in prov_input_complete()
[all …]
/Zephyr-Core-2.7.6/subsys/shell/modules/
Dkernel_service.c26 shell_print(shell, "Zephyr version %d.%d.%d", in cmd_kernel_version()
39 shell_print(shell, "Uptime: %u ms", k_uptime_get_32()); in cmd_kernel_uptime()
49 shell_print(shell, "cycles: %u hw cycles", k_cycle_get_32()); in cmd_kernel_cycles()
72 shell_print(shell, "%s%p %-10s", in shell_tdata_dump()
76 shell_print(shell, "\toptions: 0x%x, priority: %d timeout: %d", in shell_tdata_dump()
80 shell_print(shell, "\tstate: %s, entry: %p", k_thread_state_str(thread), in shell_tdata_dump()
106 shell_print(shell, "\tTotal execution cycles: %llu (%u %%)", in shell_tdata_dump()
110 shell_print(shell, "\tTotal execution cycles: %lu (%u %%)", in shell_tdata_dump()
115 shell_print(shell, "\tTotal execution cycles: ? (? %%)"); in shell_tdata_dump()
121 shell_print(shell, in shell_tdata_dump()
[all …]
/Zephyr-Core-2.7.6/samples/subsys/shell/shell_module/src/
Dmain.c36 shell_print(shell, "Log test started\n"); in cmd_log_test_start()
60 shell_print(shell, "Log test stopped"); in cmd_log_test_stop()
87 shell_print(shell, "pong"); in cmd_demo_ping()
122 shell_print(shell, in cmd_demo_getopt()
126 shell_print(shell, in cmd_demo_getopt()
130 shell_print(shell, in cmd_demo_getopt()
140 shell_print(shell, "aflag = %d, bflag = %d", aflag, bflag); in cmd_demo_getopt()
147 shell_print(shell, "argc = %d", argc); in cmd_demo_params()
149 shell_print(shell, " argv[%d] = %s", cnt, argv[cnt]); in cmd_demo_params()
157 shell_print(shell, "argc = %d", argc); in cmd_demo_hexdump()
[all …]
Ddynamic_cmd.c70 shell_print(shell, "command added successfully"); in cmd_dynamic_add()
83 shell_print(shell, "dynamic command: %s", argv[1]); in cmd_dynamic_execute()
111 shell_print(shell, "command removed successfully"); in cmd_dynamic_remove()
131 shell_print(shell, "Dynamic command list:"); in cmd_dynamic_show()
134 shell_print(shell, "[%3d] %s", i, dynamic_cmd_buffer[i]); in cmd_dynamic_show()
/Zephyr-Core-2.7.6/subsys/dfu/boot/
Dmcuboot_shell.c146 shell_print(shell, "%s area (%u):", area->name, area->id); in cmd_mcuboot_info_area()
147 shell_print(shell, " version: %u.%u.%u+%u", in cmd_mcuboot_info_area()
152 shell_print(shell, " image size: %u", in cmd_mcuboot_info_area()
162 shell_print(shell, " magic: %s", in cmd_mcuboot_info_area()
166 shell_print(shell, " swap type: %s", in cmd_mcuboot_info_area()
170 shell_print(shell, " copy done: %s", in cmd_mcuboot_info_area()
172 shell_print(shell, " image ok: %s", in cmd_mcuboot_info_area()
183 shell_print(shell, "swap type: %s", swap_type_str(mcuboot_swap_type())); in cmd_mcuboot_info()
184 shell_print(shell, "confirmed: %d", boot_is_img_confirmed()); in cmd_mcuboot_info()
187 shell_print(shell, ""); in cmd_mcuboot_info()
/Zephyr-Core-2.7.6/subsys/debug/coredump/
Dcoredump_backend_flash_partition.c553 shell_print(shell, "No error."); in cmd_coredump_error_get()
555 shell_print(shell, "Error: %d", backend_ctx.error); in cmd_coredump_error_get()
574 shell_print(shell, "Error cleared."); in cmd_coredump_error_clear()
599 shell_print(shell, "Stored coredump found."); in cmd_coredump_has_stored_dump()
601 shell_print(shell, "Stored coredump NOT found."); in cmd_coredump_has_stored_dump()
603 shell_print(shell, "Failed to perform query: %d", ret); in cmd_coredump_has_stored_dump()
629 shell_print(shell, "Stored coredump verified."); in cmd_coredump_verify_stored_dump()
631 shell_print(shell, "Stored coredump verification failed " in cmd_coredump_verify_stored_dump()
634 shell_print(shell, "Failed to perform verify command: %d", in cmd_coredump_verify_stored_dump()
650 shell_print(shell, "%s%s", COREDUMP_PREFIX_STR, print_buf); in flush_print_buf()
[all …]
/Zephyr-Core-2.7.6/drivers/eeprom/
Deeprom_shell.c51 shell_print(shell, "Reading %d bytes from EEPROM, offset %d...", len, in cmd_read()
68 shell_print(shell, ""); in cmd_read()
107 shell_print(shell, "Writing %d bytes to EEPROM...", len); in cmd_write()
115 shell_print(shell, "Verifying..."); in cmd_write()
128 shell_print(shell, "Verify OK"); in cmd_write()
143 shell_print(shell, "%d bytes", eeprom_get_size(eeprom)); in cmd_size()
176 shell_print(shell, "Writing %d bytes of 0x%02x to EEPROM...", len, in cmd_fill()
193 shell_print(shell, "Verifying..."); in cmd_fill()
211 shell_print(shell, "Verify OK"); in cmd_fill()
/Zephyr-Core-2.7.6/drivers/fpga/
Dfpga_shell.c34 shell_print(sh, "%s: turning on", dev->name); in cmd_on()
54 shell_print(sh, "%s: turning off", dev->name); in cmd_off()
74 shell_print(sh, "%s: resetting FPGA", dev->name); in cmd_reset()
94 shell_print(sh, "%s: loading bitstream", dev->name); in cmd_load()
112 shell_print(sh, "%s status: %d", dev->name, fpga_get_status(dev)); in cmd_get_status()
127 shell_print(sh, "%s", fpga_get_info(dev)); in cmd_get_info()
/Zephyr-Core-2.7.6/tests/bluetooth/shell/src/
Dmain.c53 shell_print(shell, "Registering HRS Service"); in cmd_hrs_simulate()
66 shell_print(shell, "Start HRS simulation"); in cmd_hrs_simulate()
69 shell_print(shell, "Stop HRS simulation"); in cmd_hrs_simulate()
77 shell_print(shell, "Incorrect value: %s", argv[1]); in cmd_hrs_simulate()
/Zephyr-Core-2.7.6/subsys/storage/flash_map/
Dflash_map_shell.c26 shell_print(shell, "%-4d %-8d %-20s 0x%-10x 0x%-12x", in fa_cb()
34 shell_print(shell, "ID | Device | Device Name" in cmd_flash_map_list()
36 shell_print(shell, "-------------------------" in cmd_flash_map_list()
/Zephyr-Core-2.7.6/subsys/fb/
Dcfb_shell.c53 shell_print(shell, "Display Cleared"); in cmd_clear()
234 shell_print(shell, "Font idx=%d height=%d widht=%d set", idx, height, in cmd_set_font()
260 shell_print(shell, "Framebuffer Inverted"); in cmd_invert()
283 shell_print(shell, "idx=%d height=%d width=%d", idx, in cmd_get_fonts()
302 shell_print(shell, "Framebuffer Device: %s", DISPLAY_DRIVER); in cmd_get_device()
319 shell_print(shell, "param: %s=%d", param_name[i], in cmd_get_param_all()
338 shell_print(shell, "param: %s=%d", param_name[CFB_DISPLAY_HEIGH], in cmd_get_param_height()
355 shell_print(shell, "param: %s=%d", param_name[CFB_DISPLAY_WIDTH], in cmd_get_param_width()
372 shell_print(shell, "param: %s=%d", param_name[CFB_DISPLAY_PPT], in cmd_get_param_ppt()
389 shell_print(shell, "param: %s=%d", param_name[CFB_DISPLAY_ROWS], in cmd_get_param_rows()
[all …]
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/
Deswifi_shell.c30 shell_print(shell, "no eswifi device registered"); in eswifi_shell_atcmd()
47 shell_print(shell, "> %s", eswifi->buf); in eswifi_shell_atcmd()
49 shell_print(shell, "< %s", eswifi->buf); in eswifi_shell_atcmd()
/Zephyr-Core-2.7.6/drivers/lora/
Dshell.c131 shell_print(shell, DEFAULT_RADIO ":"); in lora_conf_dump()
132 shell_print(shell, " Frequency: %" PRIu32 " Hz", in lora_conf_dump()
134 shell_print(shell, " TX power: %" PRIi8 " dBm", in lora_conf_dump()
136 shell_print(shell, " Bandwidth: %i kHz", in lora_conf_dump()
138 shell_print(shell, " Spreading factor: SF%i", in lora_conf_dump()
140 shell_print(shell, " Coding rate: 4/%i", in lora_conf_dump()
142 shell_print(shell, " Preamble length: %" PRIu16, in lora_conf_dump()
280 shell_print(shell, "RSSI: %" PRIi16 " dBm, SNR:%" PRIi8 " dBm", in cmd_lora_recv()
/Zephyr-Core-2.7.6/drivers/gpio/
Dgpio_shell.c75 shell_print(shell, "Configuring %s pin %d", in cmd_gpio_conf()
101 shell_print(shell, "Reading %s pin %d", in cmd_gpio_get()
105 shell_print(shell, "Value %d", rc); in cmd_gpio_get()
128 shell_print(shell, "Wrong parameters for set"); in cmd_gpio_set()
135 shell_print(shell, "Writing to %s pin %d", in cmd_gpio_set()

12