Zigbee Protocol Controller 1.6.0
zigpc_attrmgmt_receive.c File Reference
#include <sl_status.h>
#include <sl_log.h>
#include <zcl_definitions.h>
#include <zcl_util.h>
#include <zigpc_common_zigbee.h>
#include "attribute_management_int.h"

Functions

sl_status_t zigpc_attrmgmt_receive_attribute_frame (const zigbee_eui64_t eui64, zigbee_endpoint_id_t endpoint_id, zcl_cluster_id_t cluster_id, bool is_read_response, const zcl_frame_t *frame)
 Process Attribute update response frames received from the a Device. This function is capable of processing the following Response record lists: More...
 

Variables

static const char LOG_TAG [] = "zigpc_attrmgmt"
 

Function Documentation

◆ zigpc_attrmgmt_receive_attribute_frame()

sl_status_t zigpc_attrmgmt_receive_attribute_frame ( const zigbee_eui64_t  eui64,
zigbee_endpoint_id_t  endpoint_id,
zcl_cluster_id_t  cluster_id,
bool  is_read_response,
const zcl_frame_t frame 
)

Process Attribute update response frames received from the a Device. This function is capable of processing the following Response record lists:

  • ReadAttributeResponse records
  • ReportAttribute records
Parameters
eui64Device identifier.
endpoint_idDevice endpoint identifier.
cluster_idCluster identifer to read attributes from.
is_read_responseIf the passed frame is a ReadAttributeResponse
frameZCL Frame containing read attribute records.
Returns
sl_status_t SL_STATUS_OK on successfully processing and updating attributes on MQTT, SL_STATUS_NULL_POINTER if invalid arguments are supplied.

Variable Documentation

◆ LOG_TAG

const char LOG_TAG[] = "zigpc_attrmgmt"
static