Comments (8)
This is a hardware limitation, 4 nodes per node.
from rf24mesh.
Yes, I clearly known that. The issue occured when the fifth module try connect to level 1.
It can connect with some address such as 014. But after a minute it disconnect and connect with other address.
This is not occured on level zero such as node 01, 02, 03 or 04.
The fifth or other module are no moving (no location changed).
from rf24mesh.
Mesh networks work that way. It will constantly remap itself to minimize any issues with lost nodes or bad connection. As NodeID won't change it is no issue to still communicate with the node as you should use the NodeID instead of RF24Network address when you send messages.
from rf24mesh.
I send message by refer to NodeID. The issue is why level 0 node have no problem on lost or bad connection. It happens on level 1 and may on other level. Frankly speaking I not clear on how DHCP working. When I use DEBUG, It show me DHCP do something like to finding the new address from level 4 down to level 0. Note that whenever new node get into the network, the master get struck until the new node address is assigned or timeout.
Do you have a flow chart of DHCP? I will more clear on how it does during assign the new address.
from rf24mesh.
Sending message by nodeID is less reliable because nodes will contact the master node to perform an address lookup. It needs some work.
I don't have a flow chart of DHCP, its kind of complicated. In a basic sense, nodes use multicast to find other active nodes, then request an address through them, from the master. Intermediary nodes relay traffic as required. I'm not sure why the master would get 'stuck' or 'struck' or what exactly you mean by that.
One thing to keep in mind, if you are changing nodes around or want to 'refresh' the mesh, you can:
- Delete the dhcplist.txt file on the RPi
- Wait 2 mins
- Restart the application, and it will re-assign all addresses.
from rf24mesh.
OK I will do more to find out what exactly problem.
I will come back again with more problem details or How to solve this problem.
I still open this issue for someone who need to share for solution.
from rf24mesh.
It look significantly better on "MESH_MIN_SAVE_TIME" in RF24Mesh_config.h reduce from 30000 to 1000.
I don't know why and how this parameter effect to mesh address assignment.
But it show better result.
I can't find usage of this parameter in related library file.
from rf24mesh.
Last time I mention about parameter "MESH_MIN_SAVE_TIME" that is not the cause of problem.
I would like to repeat a problem again for clear.
I found the problem on the node that not a child of master node, level 2 and upper.
It is not stable when write data to master node. It can successfully write continuously 3-4 times then fail. And can write again after renew address.
I have back to use 30000 for MESH_MIN_SAVE_TIME and change another one of parameter that may the cause of problem.
Now level 2 node can send data to master node perfectly .
However I will recheck by long running again and again for sure.
And then the name of parameter will be informed.
from rf24mesh.
Related Issues (20)
- meshStarted uninitialized HOT 7
- add option to reattempt connection in setup() for arduino examples HOT 2
- parsing dhcplist.txt HOT 7
- Is there a use case for a changing master node? HOT 2
- Assigned Addresses lost? HOT 6
- `renewAddress()` returns zero on timeout HOT 5
- RPi Pico - Potential Instability Issue HOT 8
- Sixth node does not receive an address HOT 17
- add releaseAddress() overload for use on master nodes
- Question: static address assignments in mesh topology HOT 19
- move `addrList` allocation into `setNodeID()` HOT 3
- Multinode connection issues HOT 27
- Using Mesh and Broadcast (or Multicast)? HOT 2
- compiler warnings in ncurses example HOT 1
- issues using core 0 on esp32. HOT 84
- nrf_to_nrf dependency is causing compiler errors in platformio HOT 9
- How to prevent "unauthorized" nodes to connect to the mesh? HOT 7
- Can a master Tx to a slave in an nRF24 mesh? HOT 6
- 2 master slave systems in one room HOT 6
- Missing node will disable all children. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rf24mesh.