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.

How to send ZCL frame through serial device (cc2531) on linux?

Other Parts Discussed in Thread: CC2531, Z-STACK

I've flashed ZNP to my cc2531 usb dongle, and plug it onto a linux host, it is recognized as ttyACM0 by Linux.

 

I’ve followed the ways described in the documents “Z-Stack Monitor and Test API.pdf” to send commands wrapped in serial packet through the serial interface ttyACM0 to the dongle, and successfully got the feedback. That’s OK.

 

Now, I have a new requirement, that is to send ZCL(Zigbee Cluster Library) frame, which is a standard made by Zigbee Alliance and whose format is described in the document “Zigbee Cluster Library Specification” and is different from the frame format of  Z-Stack Monitor and Test API.

 

What should I do?

Anyone has got an idea? Please help me! Thank you!

 

 

This requirement comes from the idea that we want to build our zigbee based solution on various kinds of hardware not limited to TI. I think those interfaces described in  “Z-Stack Monitor and Test API” can only be appled to TI Zigbee module. However ZCL is part of Zigbee standard supported by all Zigbee devices. We want our software to be device independent.

  • You can use AF_DATA_REQUEST AND AF_DATA_REQUEST_EXT MT command to send out ZCL command. Of course, you need to familiar with ZCL spec. Basically, MT command is platform independent and you can choose your host MCU/MPU freely.

  • hi 

    i have flashed cc2531ZNP-pro.hex on cc2531 usb dongle. and when i connected it to my ubuntu 10.04 pc its creating device /dev/ttyACM1 . now i unable to open this device  through minicom . 

    can u tell me what will be the procedure to send the commands through terminal to  c2531dongle.

    thanks and regards

    hrishabh jain