nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
zb_nrf_platform.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
11#ifndef ZB_NRF_PLATFORM_H__
12#define ZB_NRF_PLATFORM_H__
13
14#include <zboss_api.h>
15#include <zephyr/kernel.h>
16
17typedef enum {
23
36
38void zigbee_enable(void);
39
40#ifdef CONFIG_ZIGBEE_DEBUG_FUNCTIONS
44
48
52
62#endif /* defined(CONFIG_ZIGBEE_DEBUG_FUNCTIONS) */
63
72int zigbee_init(void);
73
79
88uint32_t zigbee_event_poll(uint32_t timeout_us);
89
96
109
110#endif /* ZB_NRF_PLATFORM_H__ */
bool zigbee_debug_zboss_thread_is_created(void)
Function for checking if the ZBOSS thread has been created.
bool zigbee_is_zboss_thread_suspended(void)
Function for getting the state of the Zigbee stack thread processing suspension.
void zigbee_debug_suspend_zboss_thread(void)
Function for suspending the ZBOSS thread.
bool zigbee_is_stack_started(void)
Function for checking if the Zigbee stack has been started.
void zigbee_enable(void)
Function for starting the Zigbee thread.
void zigbee_debug_resume_zboss_thread(void)
Function for resuming the ZBOSS thread.
zb_bool_t zigbee_is_nvram_initialised(void)
Function for checking if the Zigbee NVRAM has been initialised.
uint32_t zigbee_event_poll(uint32_t timeout_us)
Function which waits for event in case of empty Zigbee stack scheduler queue.
zigbee_event_t
Definition: zb_nrf_platform.h:17
@ ZIGBEE_EVENT_TX_FAILED
Definition: zb_nrf_platform.h:18
@ ZIGBEE_EVENT_APP
Definition: zb_nrf_platform.h:21
@ ZIGBEE_EVENT_TX_DONE
Definition: zb_nrf_platform.h:19
@ ZIGBEE_EVENT_RX_DONE
Definition: zb_nrf_platform.h:20
void zigbee_event_notify(zigbee_event_t event)
Notify the ZBOSS thread about a new event.
int zigbee_init(void)
Function for Zigbee stack initialization.
uint32_t zigbee_pibcache_pan_id_clear(void)
Clears the PAN_ID value held in the Zigbee PIB cache.