| Electronics > Beginners |
| Router Data Receiving |
| (1/1) |
| Peili:
Hi, I'm using LWMESH 1.2.1 stack. I have Some End Devices sending data to Coordinator via Router. Data from ED is Unicasting. My application has to modify the data at router side and then route the data to Coordinator.. But at the Router side Nothing is receiving,it just route the packet to Coordinator.. I want to receive the Data from End Device to nearest router and then modify the data at router side and then it should route the data.. Where i can receive that forwarding packet. Here i'm attaching my code for both Router and ED. WSNDemoRouter.c is Router code and WSNDemoED.c is ED code.. please help me to solve this. |
| Peili:
Another scenario I used was broadcasting my data from ED..Then i realized from the document that "When broadcast frame has to be sent, destination MAC address is set to 0xffff (broadcast) and frame is transmitted.Route discovery is not performed for broadcast frames." SO now all the Routers receiving the data from ED and modifying the data packet and also it is routing to Coordinator.I don't want to modify the data by all the routers. It should only modified by the nearest Router of ED and all the others should route it to Coordinator. |
| Navigation |
| Message Index |