![]() |
nRF Connect SDK API 3.4.99
|
IPv6 ICMP echo shell command for DECT NR+ interfaces (Zephyr net_icmp).
More...
Functions | |
| int | dect_icmp_ping_init (const struct dect_net_lib_shell_print_fns *print_fns) |
| Initialize the ping library with optional custom print functions. | |
| void | dect_icmp_ping_set_abort_signal (struct k_poll_signal *signal) |
| Optional abort signal (for example, sample-wide kill on button press). | |
IPv6 ICMP echo shell command for DECT NR+ interfaces (Zephyr net_icmp).
Enable with
CONFIG_DECT_ICMP_PING_LIB
. The library registers the top-level ping shell command (hostname resolution, count, interval, timeout, payload, RTT statistics). Default interface name is set by
CONFIG_DECT_ICMP_PING_DEFAULT_IFACE
when -I is not used.
Applications that need timestamped output or a global abort (for example :ref:dect_shell) call dect_icmp_ping_init() and dect_icmp_ping_set_abort_signal() at startup; otherwise the shell uses normal shell_print / shell_error output.