#include <zigpc_common_zigbee.h>
#include <zigpc_config.h>
#include <zigbee_host.h>
#include "zigpc_gateway_notify.h"
Go to the source code of this file.
◆ ZIGPC_GATEWAY_NODEID_COUNT_KEY
#define ZIGPC_GATEWAY_NODEID_COUNT_KEY "zb_nodeid_count" |
◆ ZIGPC_GATEWAY_NODEID_LIST_KEY
#define ZIGPC_GATEWAY_NODEID_LIST_KEY "zb_nodeid_list" |
◆ zigpc_gateway_load_address_table_info()
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 (retrieved from ZigPC datastore) to-be tracked in EmberAf address-table plugin.
- Returns
- sl_status_t SL_STATUS_OK on successfully loading each mapping, error in reading/loading otherwise.
◆ zigpc_gateway_load_from_datastore()
Wrapper function to load information from uic_datastore.
Plugin information loaded:
- Returns
- sl_status_t SL_STATUS_OK on success, error otherwise.
◆ zigpc_gateway_on_ncp_post_reset()
void zigpc_gateway_on_ncp_post_reset |
( |
void |
| ) |
|
ZigbeeHost callback handler called after NCP resets and is going through initialization.
◆ zigpc_gateway_on_ncp_pre_reset()
void zigpc_gateway_on_ncp_pre_reset |
( |
sl_zigbee_ezsp_status_t |
resetStatus | ) |
|
Z3Gatway callback handler to be called before NCP resets.
- Parameters
-
resetStatus | The EZSP reset reason. |
◆ zigpc_gateway_persist_address_table_info()
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 the EmberAf address-table plugin into the ZigPC datstore.
- Returns
- sl_status_t SL_STATUS_OK on successfully persisting each mapping, error in getting/persisting otherwise.
◆ zigpc_gateway_persist_to_datastore()
sl_status_t zigpc_gateway_persist_to_datastore |
( |
void |
| ) |
|
Wrapper function to store information to uic_datastore.
Plugin information loaded:
- Returns
- sl_status_t SL_STATUS_OK on success, error otherwise.
◆ zigpc_gateway_reset_observers()
Clear registered observers.
◆ zigpc_gateway_unload_sleepy_messages()
zigpc_gateway_unload_sleepy_messages A helper function to unload all ZCL frames stored for a given sleepy device, determined by its eui64
- Parameters
-
eui64 | - the eui64 of a given sleepy end device |
- Returns
- SL_STATUS_OK if able to successfully find and send the ZCL frames associated with the eui64. SL_STATUS_FAIL otherwise
◆ LOG_TAG
const char LOG_TAG[] = "zigpc_gateway" |
|
static |
◆ zigpc_gateway_observable
Reference to Registered Gateway Observers.
Internal API for notify system
◆ zigpc_gateway_zigbee_host_callbacks
struct zigbeeHostCallbacks zigpc_gateway_zigbee_host_callbacks |
|
extern |