This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2538: How to get command list associated with the cluster?

Part Number: CC2538
Other Parts Discussed in Thread: Z-STACK

Hello Community,

I am working on the CC2538 zigbee devices. 

As we know we will get the list of attributes supported by the specific cluster in zigbee devices using the Discovery Attribute Request.

I need to know ho do I get the list of commands assosciated with the perticular cluster for any zigbee device.

for example the On/Off cluster supportes following commands.

Command     Identifier Field  Value Description Mandatory / Optional
0x00                  Off                             M
0x01                  On                             M
0x02                  Toggle                         M
0x03–0xff          Reserved

Is there any way tha we will request a device to give us this supported command list?...

Regards

Shiv Patil.

  • Hello Shiv,

    If a Zigbee device follows Zigbee Alliance ZCL Specification then it must support the Mandatory commands.  However, there is no specific Zigbee Request/Response to determine this information.  You can reference the Z-Stack common zcl files for a better understanding.

    Regards,
    Ryan