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

◆ dect_net_l2_shell_init()

int dect_net_l2_shell_init ( const struct dect_net_l2_shell_print_fns * print_fns)

Initialize l2_shell library with custom print functions.

This function allows the application to provide custom print functions (for example, with timestamping) instead of using the default shell_print functions. This is optional - if not called, the library will use default shell_print functions.

Parameters
print_fnsStructure containing custom print function pointers. If NULL, custom print functions are disabled and default shell_print functions will be used.
Returns
0 on success, negative error code on failure