nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
dect_net_l2_shell_util.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef DECT_NET_L2_SHELL_UTIL_H
8#define DECT_NET_L2_SHELL_UTIL_H
9
10#include <stddef.h>
11#include <stdbool.h>
12
14
15/* Forward declarations */
17
32
34 size_t out_str_buff_len);
35
36#if defined(CONFIG_DECT_L2_SHELL_RPC)
49int dect_shell_exec_by_name(const char *subcmd, int argc, char **argv,
50 char *out_buf, size_t out_len);
51#endif /* CONFIG_DECT_L2_SHELL_RPC */
52
53#endif /* DECT_NET_L2_SHELL_UTIL_H */
int dect_net_l2_shell_init(const struct dect_net_lib_shell_print_fns *print_fns)
Initialize l2_shell library with custom print functions.
char * dect_net_l2_shell_util_mac_err_to_string(enum dect_status_values status, char *out_str_buff, size_t out_str_buff_len)
Shared shell output hooks for DECT NR+ network libraries.
dect_status_values
DECT-2020 NR Part 4: MAC specification.
Definition dect_net_l2.h:74
Optional custom print functions (for example, timestamped output).
Definition dect_net_lib_shell.h:27