Zigbee Protocol Controller 1.6.0
ZigPC ZCL Command Parser Internal API

Internal API for Command Parser logic. More...

Functions

bool zigpc_zclcmdparse_cluster_command_supported (zcl_cluster_id_t cluster_id, zcl_command_id_t command_id)
 Check to see if the cluster ID and command ID is supported by the command parser. More...
 
void zigpc_zclcmdparse_invoke_callback (zigbee_eui64_t eui64, zigbee_endpoint_id_t endpoint_id, zcl_cluster_id_t cluster_id, zcl_command_id_t command_id, const zigpc_zclcmdparse_callback_data_t *data)
 Invoke any registered callbacks upon successful command parsing. More...
 
void zigpc_zclcmdparse_on_command_received (void *event_data)
 ZigPC Gateway event handler for commands received from the network. More...
 
void zigpc_zclcmdparse_reset_listeners (void)
 Reset all command parser listeners. More...
 

Detailed Description

Internal API for Command Parser logic.

Function Documentation

◆ zigpc_zclcmdparse_cluster_command_supported()

bool zigpc_zclcmdparse_cluster_command_supported ( zcl_cluster_id_t  cluster_id,
zcl_command_id_t  command_id 
)

Check to see if the cluster ID and command ID is supported by the command parser.

Parameters
cluster_idZCL cluster ID value
command_idZCL command ID value
Returns
bool TRUE if the cluster command can be parsed, FALSE if not.

◆ zigpc_zclcmdparse_invoke_callback()

void zigpc_zclcmdparse_invoke_callback ( zigbee_eui64_t  eui64,
zigbee_endpoint_id_t  endpoint_id,
zcl_cluster_id_t  cluster_id,
zcl_command_id_t  command_id,
const zigpc_zclcmdparse_callback_data_t data 
)

Invoke any registered callbacks upon successful command parsing.

Parameters
eui64Source device identifier
endpoint_idSource endpoint identifier
cluster_idZCL cluster ID
command_idZCL command ID
dataCommand parsed data

◆ zigpc_zclcmdparse_on_command_received()

void zigpc_zclcmdparse_on_command_received ( void *  event_data)

ZigPC Gateway event handler for commands received from the network.

Parameters
event_datadata associated with command event. not.

◆ zigpc_zclcmdparse_reset_listeners()

void zigpc_zclcmdparse_reset_listeners ( void  )

Reset all command parser listeners.