Lwmesh Cordinator Data Receive

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I have 8 routers which send data with 1sec delay. Coordinator receives data from these routers. But some times the data from routers are Mixed up. At the Coordinator side i used to write the Receiving packets using the function

static bool appDataInd(NWK_DataInd_t *ind)
{

for (uint8_t i = 0; i < ind->size; i++)
HAL_UartWriteByte(ind->data[i]);

return true;

}

but data are mixing with one another.
For example data from Router 1 is

"ID_1001_00.003_0.04_2.5*"

and Data from Router 2 is

"ID_1008_TS_2.5*".
But at the receiving side of coordinator the data received like

 

"ID_1001_00ID_1008_TS_2.5*.003_0.04_2.5*".

i don't know why this happening. Please help me to solve this.  Please help me. here I'm Attaching my code for Coordinator(WSNDemoC.c) and Router(WSNDemoR.c)

 

Attachment(s): 

Last Edited: Mon. Jan 25, 2021 - 03:45 AM