14#ifndef ZIGPC_GATEWAY_INT_H
15#define ZIGPC_GATEWAY_INT_H
22#include <zigbee_host.h>
30static const char LOG_TAG[] =
"zigpc_gateway";
33#define ZIGPC_GATEWAY_NODEID_LIST_KEY "zb_nodeid_list"
34#define ZIGPC_GATEWAY_NODEID_COUNT_KEY "zb_nodeid_count"
__attribute__((unused)) static const char *event_names[]
uint32_t sl_status_t
Definition: sl_status.h:139
uint8_t zigbee_eui64_t[ZIGBEE_EUI64_SIZE]
Zigbee Device EUI64 ID.
Definition: zigpc_common_zigbee.h:193
sl_802154_long_addr_t eui64
Definition: zigpc_gateway_int.h:44
sl_802154_short_addr_t node_id
Definition: zigpc_gateway_int.h:45
Observable instance.
Definition: zigpc_common_observable.h:147
sl_status_t zigpc_gateway_persist_to_datastore(void)
Wrapper function to store information to uic_datastore.
struct zigpc_observable zigpc_gateway_observable
Reference to Registered Gateway Observers.
Definition: zigpc_gateway_notify.c:29
struct zigbeeHostCallbacks zigpc_gateway_zigbee_host_callbacks
Definition: zigpc_gateway_notify.c:621
sl_status_t zigpc_gateway_persist_address_table_info(void)
Persist EUI64 to NodeId device ID mappings. This function stores all EUI64 to NodeId mappings from th...
static const char LOG_TAG[]
Definition: zigpc_gateway_int.h:30
sl_status_t zigpc_gateway_reset_observers(void)
Clear registered observers.
Definition: zigpc_gateway_notify.c:46
sl_status_t zigpc_gateway_load_from_datastore(void)
Wrapper function to load information from uic_datastore.
sl_status_t zigpc_gateway_unload_sleepy_messages(const zigbee_eui64_t eui64)
zigpc_gateway_unload_sleepy_messages A helper function to unload all ZCL frames stored for a given sl...
void zigpc_gateway_on_ncp_post_reset(void)
ZigbeeHost callback handler called after NCP resets and is going through initialization.
void zigpc_gateway_on_ncp_pre_reset(sl_zigbee_ezsp_status_t resetStatus)
Z3Gatway callback handler to be called before NCP resets.
sl_status_t zigpc_gateway_load_address_table_info(void)
Load EUI64 to NodeId device ID mappings. This function loads all perisisted EUI64 to NodeId mappings ...