XBee Firmware Library  1.6.0
Data Structures | Typedefs | Functions | Variables

Data Structures

struct  zcl_client_read
 

Typedefs

typedef XBEE_BEGIN_DECLS struct zcl_client_read zcl_client_read_t
 
typedef const char *(* zcl_format_utctime_fn) (char dest[40], zcl_utctime_t utctime)
 

Functions

int _zcl_send_read_from_zdo_match (wpan_conversation_t FAR *conversation, const wpan_envelope_t FAR *envelope)
 
int zcl_client_read_attributes (wpan_envelope_t FAR *envelope, const zcl_client_read_t *client_read)
 Send a Read Attributes request for attributes listed in client_read. More...
 
int zcl_create_attribute_records (void FAR *buffer, uint8_t bufsize, const zcl_attribute_base_t FAR **p_attr_list)
 From a list of attributes, write ID (in little-endian byte order), type and value to a buffer as would be done in a Write Attributes Request. More...
 
int zcl_find_and_read_attributes (wpan_dev_t *dev, const uint16_t *clusters, const zcl_client_read_t FAR *cr)
 Use ZDO Match Descriptor Requests to find devices with a given profile/cluster and then automatically send a ZCL Read Attributes request for some of that cluster's attributes. More...
 
int zcl_print_array_value (const void *value, int value_length)
 Print Read Attributes Response value of an array attribute. More...
 
int zcl_print_attribute_value (uint8_t type, const void *value, int value_length)
 
int zcl_print_struct_value (const void *value, int value_length)
 Print Read Attributes Response value of a structure attribute. More...
 
int zcl_process_read_attr_response (zcl_command_t *zcl, const zcl_attribute_base_t FAR *attr_table)
 Process a Read Attributes Response and populate the attibute values into an attribute table as if it was a Write Attributes Request. More...
 
int zcl_send_write_attributes (wpan_envelope_t *envelope, const zcl_attribute_base_t FAR *attr_list)
 
int zdo_send_match_desc (wpan_dev_t *dev, const uint16_t *clusters, uint16_t profile_id, wpan_response_fn callback, const void FAR *context)
 Send a ZDO Match Descriptor request for a list of cluster IDs. More...
 

Variables

zcl_format_utctime_fn zcl_format_utctime
 Pointer to function that converts a zcl_utctime_t value to a human-readable timestamp. More...
 

Detailed Description

Code to support ZCL client clusters.