Electronics > Beginners
LWMESH Range
ejeffrey:
Despite the snarky bolding and still incorrect capitalization, your description is quite helpful -- do that first next time. It suggests you want the opposite of what it sounded like before. You want to conditionally modify data received by the "router" before passing it on? That is a standard functionality of connection tracking router/firewalls. For instance, NAT works by modifying the headers of packets flowing through the router, and "deep packet inspection" filters look at the payload as well as the headers.
You will need to do this on the router. Specifically you will need to modify the firewall / routing configuration on your router to send candidate packets (based on standard header criteria like source/destination IP and ports) to a filter application which you will have to write that does the appropriate deep packet inspection and modification before sending them back to the network. The exact APIs you will use depend on what router you are using.
I'm assuming you have limited control over the endpoint devices, since modifying the data in transit is not the best way to do this. Its much better to send the correct information in the first place.
It would be helpful to know what protocol the end devices are speaking. HTTP? TCP? UDP?
ataradov:
It is in the title - LwMesh. It is a wireless stack that has literally 10 files of the source code. There is no excuse after working with it for years to not know where this processing happens.
Neethu:
hi all, i'm new to LWMESH and i would like to use LWMESH1.2.1 version.. i would like to make one coordinator and 5 router and 2 end devices.. the end devices send its Address and some sensor data to Coordinator. End device place so far from coordinator and it should route to Coordinator.. When it route the data a decision check should take at the side of router.. Where i can add that decision check at router side? i have to analyse the data come to router(sensor data value greater than some value).. then the router should take decision like the data should route or ignore... How can it be possible? Please help to solve this..
ataradov:
Do you really think we are that stupid?
Neethu:
--- Quote from: ataradov on May 26, 2019, 07:44:54 am ---Do you really think we are that stupid?
--- End quote ---
Sorry, i'm new to this development and the old one Quiet.. So i don't know anything about this and that's why i'm asking... I'm a fresher and don't know very much about this stack and applications.. Just started ..i'm really sorry if it makes like that.. I'm in a confused state and i don't know how to manage it... Sorry for the things Alex
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version