nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ dect_icmp_ping_init()

int dect_icmp_ping_init ( const struct dect_net_lib_shell_print_fns * print_fns)

#include <dect_icmp_ping.h>

Initialize the ping library with optional custom print functions.

If not called, ping uses shell_print/error/warn on the active shell session.

Parameters
print_fnsPrint callbacks, or NULL to use shell defaults only.
Returns
0 on success.