nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
zigbee_shell.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef ZIGBEE_SHELL_H__
8#define ZIGBEE_SHELL_H__
9
10#include <zboss_api.h>
11
12
23#ifdef __cplusplus
24extern "C" {
25#endif
26
31zb_uint8_t zb_shell_get_endpoint(void);
32
35void zb_shell_set_endpoint(zb_uint8_t ep);
36
41
52zb_uint8_t zb_shell_ep_handler(zb_bufid_t bufid);
53
58void zb_shell_debug_set(zb_bool_t debug);
59
65zb_bool_t zb_shell_debug_get(void);
66
67#ifdef CONFIG_ZIGBEE_SHELL_DEBUG_CMD
73zb_bool_t zb_shell_nvram_enabled(void);
74#endif /* CONFIG_ZIGBEE_SHELL_DEBUG_CMD */
75
76#ifdef __cplusplus
77}
78#endif
79
82#endif /* ZIGBEE_SHELL_H__ */
zb_bool_t zb_shell_debug_get(void)
Function for getting the state of the debug mode of the shell.
zb_uint8_t zb_shell_get_endpoint(void)
Function to get the Endpoint number used by the shell.
void zb_shell_debug_set(zb_bool_t debug)
Function for setting the state of the debug mode of the shell.
void zb_shell_set_endpoint(zb_uint8_t ep)
Sets the Endpoint number used by the shell.
zb_uint8_t zb_shell_ep_handler(zb_bufid_t bufid)
Function for intercepting every frame coming to the endpoint, so the frame may be processed before it...
void zb_shell_configure_endpoint(void)
Configures shell endpoint by setting number of endpoint to be used by the shell and registers shell e...