Zigbee Protocol Controller 1.6.0
zigpc_common_zcl_frame.c File Reference
#include <string.h>
#include "sl_status.h"
#include "zigpc_common_zigbee.h"

Macros

#define ZCL_FRAME_SEQUENCE_NUMBER_PLACEHOLDER   0x00
 

Functions

sl_status_t zigpc_common_zcl_frame_init_command (zcl_frame_t *const frame, zcl_command_id_t command_id, uint8_t frame_control)
 Initialize the ZCL Frame for sending ZCL command. More...
 
sl_status_t zigpc_common_zcl_frame_fill_data (zcl_frame_t *const frame, enum zcl_frame_data_type type, const void *data)
 Populate the given ZCL frame with data. The data copied is dictated by the type passed in. Once successfully copied into the frame, the buffer size is incremented based on the size of the data type passed in. More...
 
sl_status_t zigpc_common_zcl_frame_fill_raw (zcl_frame_t *const frame, const uint8_t *const data, unsigned int data_size)
 Populate the given ZCL frame with data. Copies raw data from a buffer of a specified size. More...
 

Macro Definition Documentation

◆ ZCL_FRAME_SEQUENCE_NUMBER_PLACEHOLDER

#define ZCL_FRAME_SEQUENCE_NUMBER_PLACEHOLDER   0x00