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.

Bidirectional communication in Serialapp

Other Parts Discussed in Thread: TIMAC

Hello,
I have a problem using the template serialapp. The documentation says that communication is bidirectional, however it is only happening on End device to the coordinator. I already checked the cables, the list of clusters and the parameters of the function of sending data.
Could someone help me?
thanks,

  • There are several points of error with this sample application:

    1. ZED cannot execute a Match Descriptor pairing in ZigBee PRO. Thus, no Button-4 pairing, and you must bind the ZED to the ZC and the ZC to the ZED by using Button-2 pairing on both.

    2. Ensure that the dip switch on the SmartRF05EB is set to enable the RS-232.

    3. Ensure that the terminal program connected to each device has configured the serial port properly (according to default settings it is 38Kbaud with flow control on).

    4. Do not send any data on either terminal program before the devices are successfully paired or they will be locked out of sending data (I opened a bug report for this one). If you do accidentally send data or suspect so, stop the debugger and add this variable to the 'Watch' window: SerialApp_TxLen, and set it to zero.

     

  • Hello, Dirty Harry  

    All these procedures have been followed. The  ZCZ and ZED make the binding, but only the ZED sends data over the serial ZCZ. The reverse is not true.

    You have another idea what might be happening?


    thanks

    Luan Carlos

     

  • Hi,

    I have the same problem with SerialApp. Please publish the solution if any.

     

    Best regards.

  • I found the solution:

    1. Turn-on the coordinator.

    2. Turn-on the end device.

    3. At the same time push SW2 (Right joystick, the definitions of the keys are in hal_key.c) on both boards untill the green LED turns on on each of them.

    4. Connect open the terminal emulators, configure them according to the configuration of the boards.

    5. Send/receive data!

     

    Best regards

  • Hello!

    I followed all these steps without success. I think the problem may be the template of Texas. One suggestion would be to contact them with technical assistance for a possible solution.

    Best regards

    Luan Carlos

  • Hi

    I am also facing the same problem.If anyone has the solution kindly suggest.

    Tried the procedure mentioned above as well as in other related posts

     

    Thanks in Advance

    Regards

    Adarsh

  • Hi 

    Awaiting  a reply.Thanks

    Adarsh

  • Hello!

    I could not solve the problem of two-way communication using the Serial App.

    To develop my application and work around this problem, I used the template Timac.

    Best regards!

    Luan Carlos

  • Hi,

    I apologize for the delay. It would be a pleasure for me to help you.

    Can you please describe all the steps you took and what are the symptoms of the error?

    Best regards.

    Mehdi

  • I was stuck by this problem for a week until read through this thread AGAIN today.

    my problem is the same as OP, the data seems only from ZED to ZC but not reverse path.

    as Dirty Harry said,

    Dirty Harry said:
    1. ZED cannot execute a Match Descriptor pairing in ZigBee PRO. Thus, no Button-4 pairing, and you must bind the ZED to the ZC and the ZC to the ZED by using Button-2 pairing on both.

    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

    works for me