Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_ATTRIBUTE_READ
read [endpoint:1] [cluster:2] [attribute:2] [mask:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ATTRIBUTE_WRITE
write [endpoint:1] [cluster:2] [attribute:2] [mask:1] [dataType:1] [dataBytes:-1]

Detailed Description

Commands related to reading and writing attributes locally on a device.

Macro Definition Documentation

#define EMBER_AF_DOXYGEN_CLI_COMMAND_ATTRIBUTE_READ

read [endpoint:1] [cluster:2] [attribute:2] [mask:1]

  • Read an attribute from the local attribute table. The attribute is displayed on the command line.
    • endpoint - INT8U - endpoint of the attribute to read
    • cluster - INT16U - cluster id of the attribute to read
    • attribute - INT16U - attribute id of the attribute to read
    • mask - INT8U - direction mask of the attribute to read (client=0 or server=1)
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ATTRIBUTE_WRITE

write [endpoint:1] [cluster:2] [attribute:2] [mask:1] [dataType:1] [dataBytes:-1]

  • Write an attribute value into the local attribute table
    • endpoint - INT8U - endpoint of the attribute to write
    • cluster - INT16U - cluster id of the attribute to write
    • attribute - INT16U - attribute id of the attribute to write
    • mask - INT8U - direction mask of the attribute to write (client=0 or server=1)
    • dataType - INT8U - the attribute type as listed in the generated file attribute-type.h
    • dataBytes - OCTET_STRING - string of bytes you wish to write into the attribute table.