2012年12月9日 星期日

[ZigBee][CC2530] SerialApp Smple Application - Bidirectional!

Z-Stack Sample Applications are useful examples which we can verify the EDK and learn Z-Stack software.

SerialApp is a sample application which enables two CC2530EM to act as serial cable (RS-232) so we can use hyper terminals on two computers to interact with each other over the air.

However, the guide document, Z-Stack Sample Applications.pdf(SWRA201), is not clear so I found that the communication is one way, instead of bi-directional. Few guys had the same problem and posted it to E2E forum. The symptom is that the data only gets transferred from ZED to ZC, but not reversely.

To make bidirectional transmission,


you have to Push SW4 at ZED and then SW4 at ZC
OR, you have to Push SW2 at ZC and then SW2 at ZED

quote from Zigbee Wireless Networking, "Binding is unidirectional, in that the switch is bound to the light, but the light isn’t bound to the switch"

The suggestion was also posted in this thread - Bidirectional communication in Serialapp,

沒有留言:

張貼留言