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.

AF_DATA_REQUEST_EXT COMMAND



Hello all ,

I have a coordinator and a slave, both use znp ZigBee module and both home automation profile.

I'm trying to send data from the slave to the coordinator using the  AF_DATA_REQUEST_EXT  command.

what I am doing now is:

if the data is very big then I call AF_DATA_REQUEST_EXT  in the start   but i'm not really sending the data i'm just declaring how many bytes I want to send.

then I call the function  AF_ DATA_STORE as many times as  I need  to store all the data .

in the end I call the function  AF_ DATA_STORE with zero number of bytes to send.

the master does receive  a data from the slave , he receive the same number of bytes that the slave sends but the data is not the same.

does anyone have a clue what I am doing wrong?