| Electronics > Beginners |
| Problem With Router Discovery |
| << < (5/6) > >> |
| Peili:
Now ED could send router address indoor efficiently, but with same router firmware outdoor is absolutely opposite behaviour. I tried with and with out time delay to Appsenddata() and works fine in indoor . In out door even the routers are very closer different routers behaves different. what can i infer from it ? Is it related to signal propagation or any chance to affect external objects |
| ataradov:
You are trying to do location using a communication stack. The only way to find out what is wrong is to get a sniffer and start looking at the frames. |
| Peili:
Now Ed sends address when it is in the vicinity of Coordinator or near by routers of coordinator :). Sniffer(Sniffer_near.pcap , which is not supported by the forum , so changed as .png , Please change it to pcap ) file attached. when it comes under the far routers, lets say 3 routers away from coordinator , it sends only when we stay more than two minutes and closer to that particular router :(. Sniffer_far is attached. We assign 0x00 as transmit power to all routers and 0x0c to all ED. Score value is 3 for router and 1 for ED. How can we update routing more fast as soon as ED comes under different routers ? |
| ataradov:
I did not look at the traces, I don't have time for that and I can imagine what is there. If you want location, you need to engineer the thing for location. You can't take communication stack and expect it to be good at quickly locating the devices. The way I would approach this is though local broadcasts of the LwMesh. They are a very powerful tool. Make all the routers broadcast their ID via a local broadcast. ED will wake up (if sleep is desired), listen for some time to receive IDs from all the routers, and pick the one with a strongest signal. ED then will send this frame to that router directly. The router routes the frame as usual to the C. This way you eliminate the need to rebuild the routing tables on the ED. |
| Peili:
--- Quote from: ataradov on December 10, 2018, 06:03:03 pm --- The way I would approach this is though local broadcasts of the LwMesh. They are a very powerful tool. Make all the routers broadcast their ID via a local broadcast. ED will wake up (if sleep is desired), listen for some time to receive IDs from all the routers, and pick the one with a strongest signal. ED then will send this frame to that router directly. The router routes the frame as usual to the C. This way you eliminate the need to rebuild the routing tables on the ED. --- End quote --- i would like to use this scenario.. How can i check the signal strength at End Device side and pick the strongest? |
| Navigation |
| Message Index |
| Next page |
| Previous page |