| Electronics > Beginners |
| Problem With Router Discovery |
| << < (4/6) > >> |
| Peili:
--- Quote from: ataradov on December 03, 2018, 05:16:00 am ---Define "quickly". --- End quote --- quickly means when the ED is near to one router it should pick the router address and send it with delay of 1 sec |
| Peili:
--- Quote from: ataradov on December 03, 2018, 05:16:00 am ---A cheap hack is to send more often and lover the route score. [/quote NWK_ROUTE_DEFAULT_SCORE is now set to 1 --- End quote --- |
| ataradov:
So in this second device must detect that the route is missing and discover a new one. If your application logic has not changed from a standard WSNDemo, your ED sending interval is 2 seconds and default score is 2. There is absolutely no way for it to detect route loss faster than 4 seconds. To be that fast you need to send many more frames. And make route discovery timeout shorter. |
| Peili:
--- Quote from: ataradov on December 03, 2018, 05:59:38 am --- To be that fast you need to send many more frames. And make route discovery timeout shorter. --- End quote --- how to change it? |
| ataradov:
It is quite literally the name of the configuration option. You have to understand the code to efficiently use it. There is no way around it. |
| Navigation |
| Message Index |
| Next page |
| Previous page |