Zigbee Protocol Controller 1.6.0
zigpc_attrmgmt_int.hpp File Reference
#include <vector>
#include <list>
#include "sl_status.h"
#include "zcl_attribute_info.h"
#include "zcl_definitions.h"

Go to the source code of this file.

Classes

struct  zigpc_attrmgmt_configure_status_record_t
 the structure representing a configure reporting response frame More...
 

Typedefs

typedef uint8_t configure_response_buffer_t[ZCL_CONFIGURE_STATUS_RESPONSE_SIZE]
 

Functions

sl_status_t zigpc_attrmgmt_build_configure_report_records (zcl_cluster_id_t cluster_id, std::vector< zigpc_zcl_configure_reporting_record_t > &record_list)
 Build list of ZCL Configure Report Records for a given cluster. More...
 
sl_status_t zigpc_attrmgmt_send_split_report_config_cmds (const zigbee_eui64_t eui64, zigbee_endpoint_id_t endpoint_id, zcl_cluster_id_t cluster_id, const std::vector< zigpc_zcl_configure_reporting_record_t > &records)
 Split a list of Attribute Report Configuration records into sets of ZIGPC_ATTRMGMT_REPORT_RECORDS_LIMIT_PER_MESSAGE sized messages (if needed) and deliver the configuration records to the destination endpoint. This is useful when configuring reports for a cluster that exceed the maximum ZCL packet size. More...
 
sl_status_t zigpc_attrmgmt_send_split_read_cmds (const zigbee_eui64_t eui64, zigbee_endpoint_id_t endpoint_id, zcl_cluster_id_t cluster_id, const std::vector< zcl_attribute_id_t > &attr_ids)
 Split a list of Attribute Read records into sets of ZIGPC_ATTRMGMT_READ_RECORDS_LIMIT_PER_MESSAGE sized ZCL frames (if needed) and send each ZCL frame to the destination endpoint. The splitting of the attribute read records allow frames to not exceed the maximum ZCL packet size. More...
 
sl_status_t zigpc_attrmgmt_get_next_poll_entry (zigbee_eui64_uint_t &eui64, zigbee_endpoint_id_t &endpoint_id, zcl_cluster_id_t &cluster_id)
 zigpc_attrmgmt_get_next_poll_entry Get the next poll entry to be sent More...
 
sl_status_t zigpc_attrmgmt_buffer_to_configure_status (const configure_response_buffer_t buffer, zigpc_attrmgmt_configure_status_record_t &record)
 zigpc_attrmgmt_buffer_to_configure_status Extract a configure report status record from a buffer of 4 bytes More...
 
sl_status_t zigpc_attrmgmt_buffer_to_configure_status_list (const uint8_t *buffer, size_t buffer_len, std::list< zigpc_attrmgmt_configure_status_record_t > &record_list)
 zigpc_attrmgmt_buffer_to_configure_status_list Extracts a series of records from a buffer of bytes More...
 

Variables

static const unsigned int ZCL_CONFIGURE_STATUS_RESPONSE_SIZE = 4