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.

cc2530Znp (coordinador send data to end device error)

Hello, i have the cc2530ZNP mini development kit,I want to know if someone knows how to send data from coordinator to end device and works well.

I'm trying, sometimes send data and turns on a Led of the end device, but the second time that i send something, the coordinator reset (error -31) and lost the connection with the end device.i think that the  end device don't send the af_data_confirm but i don't sure and i don't know fix.

also like to know if there is any function that say which device are linked to the network.

My last question is if anyone knows how to use the ZNP in linux to read the serial port, I have tried with GTKTERM, but did not detect the device

thanks.

 

  • Hello Alex,

    Are you using the simple application example then please refer to the following post

    http://e2e.ti.com/support/low_power_rf/f/158/p/104163/412183.aspx#412183

    Let me know if this resolves the problem you have. Thanks

    Suyash Jain

  • Hello Suyash,

    Yes I am using the simple application example and i added the code that you say in the post, but the coordinator rest to the second time that some data is sent but don't write error message.

    the application that i'm trying to make is that when you press the button for the coordinator, turn on a led in the end device.

    edit:

    I've found an error, I forgot to write "memcpy (hdr.mac, getMacAddress (), 8)";

    now works fine.

    now i want to know if there is any function that say which device are linked to the network.(to know the shortAddress )

    and  how to use the ZNP in linux to read the serial port.


    THANKS