Zigbee Protocol Controller 1.6.0
ZigPC Attribute Management component

API and functions for interacting with attributes. More...

Modules

 ZigPC Attribute Management Process Handler
 API and functions for managing attributes, responsible for storing and reporting on attribute state.
 
 ZigPC Attribute Management Internals
 Internal API for attribute management functionality.
 
 Attribute Info Management
 This header contains functions for accessing information relating to attributes, such as number of attributes, attribute names and more.
 

Functions

sl_status_t configure_attributes_node (const zigbee_node_t node)
 configure_attributes_node - API for configuring reports on a given zigbee node. Only basic reports are supported at this time. More...
 
sl_status_t configure_attributes_endpoint (const zigbee_eui64_t eui64, const zigbee_endpoint_t endpoint)
 configure_attributes_endpoint - API for configuring reports on a a given endpoint. Only basic reports are supported at this time. This method is required since endpoints can be added on an ad-hoc basis. More...
 
void zigpc_attrmgmt_send_delayed_read_command (const zigbee_eui64_t eui64, zigbee_endpoint_id_t endpoint_id, zcl_cluster_id_t cluster_id, unsigned int delay_ms)
 Handler for a ZCL Global Read attribute command after a delay of ZIGPC_ATTR_MGMT_DELAY_READ_ATTRIBUTES. This handler will call zigpc_attrmgmt_send_delayed_read_command_callback after the delay. More...
 

Detailed Description

API and functions for interacting with attributes.

Function Documentation

◆ configure_attributes_endpoint()

sl_status_t configure_attributes_endpoint ( const zigbee_eui64_t  eui64,
const zigbee_endpoint_t  endpoint 
)

configure_attributes_endpoint - API for configuring reports on a a given endpoint. Only basic reports are supported at this time. This method is required since endpoints can be added on an ad-hoc basis.

Parameters
eui64- the eui64 of the node hosting the endpoint
endpoint- the endpoint id whose reports will be configured. Should have a valid cluster
Returns
the status if the method succeeded and reports were properly configured

◆ configure_attributes_node()

sl_status_t configure_attributes_node ( const zigbee_node_t  node)

configure_attributes_node - API for configuring reports on a given zigbee node. Only basic reports are supported at this time.

Parameters
node- the zigbee node where reports should be configured. expected to have a valid EUI64 and an endpoint
Returns
the status if the method succeeded and reports were properly configured

◆ zigpc_attrmgmt_send_delayed_read_command()

void zigpc_attrmgmt_send_delayed_read_command ( const zigbee_eui64_t  eui64,
zigbee_endpoint_id_t  endpoint_id,
zcl_cluster_id_t  cluster_id,
unsigned int  delay_ms 
)

Handler for a ZCL Global Read attribute command after a delay of ZIGPC_ATTR_MGMT_DELAY_READ_ATTRIBUTES. This handler will call zigpc_attrmgmt_send_delayed_read_command_callback after the delay.

Parameters
eui64Target device identifier.
endpoint_idTarget endpoint identifier.
cluster_idTarget ZCL cluster identifier.
delay_msDelay in ms before sending command.