Zigbee Protocol Controller 1.6.0
ZigPC SmartStart internal API

internal API for ZigPC SmartStart More...

Functions

void zigpc_smartstart_on_list_update (bool entries_pending_inclusion)
 Callback invokved when the smartstart list has been updated. More...
 
void zigpc_smartstart_on_network_init (void *event_data)
 Callback invoked when the network has initialized. More...
 
void zigpc_smartstart_on_node_added (void *event_data)
 Callback invoked when node addition has completed. More...
 
void zigpc_smartstart_on_node_removed (void *event_data)
 Callback invoked when node removal has completed. More...
 
sl_status_t zigpc_smartstart_init_observers (void)
 Setup function to initialize observers. More...
 
std::string zigpc_smartstart_get_unid (zigbee_eui64_t eui64)
 Get UNID from EUI64 representation. More...
 
sl_status_t zigpc_smartstart_dsk_parse_install_code (const std::string &dsk, zigpc_common::dsk_install_code_t &dsk_content)
 Parse a SmartStart DSK in the form of Z3 Install Code configuration. More...
 

Variables

const char LOG_TAG []
 

Detailed Description

internal API for ZigPC SmartStart

Function Documentation

◆ zigpc_smartstart_dsk_parse_install_code()

sl_status_t zigpc_smartstart_dsk_parse_install_code ( const std::string &  dsk,
zigpc_common::dsk_install_code_t dsk_content 
)

Parse a SmartStart DSK in the form of Z3 Install Code configuration.

Parameters
dskDSK string to parse
dsk_contentDSK content to populate.
Returns
sl_status_t SL_STATUS_OK if parsing is successful, SL_STATUS_FAIL otherwise.

◆ zigpc_smartstart_get_unid()

std::string zigpc_smartstart_get_unid ( zigbee_eui64_t  eui64)

Get UNID from EUI64 representation.

Parameters
eui64
Returns
std::string UNID string if successful, empty otherwise.

◆ zigpc_smartstart_init_observers()

sl_status_t zigpc_smartstart_init_observers ( void  )

Setup function to initialize observers.

◆ zigpc_smartstart_on_list_update()

void zigpc_smartstart_on_list_update ( bool  entries_pending_inclusion)

Callback invokved when the smartstart list has been updated.

Parameters
entries_pending_inclusionBool value indicating if the list contains some entries pending inclusion.

◆ zigpc_smartstart_on_network_init()

void zigpc_smartstart_on_network_init ( void *  event_data)

Callback invoked when the network has initialized.

Parameters
event_datanetwork initialization data

◆ zigpc_smartstart_on_node_added()

void zigpc_smartstart_on_node_added ( void *  event_data)

Callback invoked when node addition has completed.

Parameters
event_datanode add data

◆ zigpc_smartstart_on_node_removed()

void zigpc_smartstart_on_node_removed ( void *  event_data)

Callback invoked when node removal has completed.

Parameters
event_datanode remove data

Variable Documentation

◆ LOG_TAG

const char LOG_TAG[]
extern