Comments (3)
I'll try to explain in more detail. Each device has only the information necessary to forward the message (final target mac, intermediate router mac). There is no complete information in the node about the full route.
As an example: node mac (final target mac, intermediate router mac).
The full route from D1 to D5 will look like this:
D1 (D5, D2) -> D2 (D5, D3) -> D3 (D5, D4) -> D4 (D5, D5) -> D5
How many zh_network_routing_table entry store in each device? - Up to uint16_t value, but the maximum value is set in the initial settings (route_vector_size - The maximum size of the routing table. If the size is exceeded, the first route will be deleted. Minimum recommended value: number of planned nodes in the network + 10%.).
from zh_network.
Hi!
- The zh_network was tested with 5 forwarding levels. Theoretically there can be as many levels as you want (just need to increase max_waiting_time accordingly).
- For read RSSI, the access point must be visible. This feature is contrary the principle that all nodes are not visible to the network scanner.
from zh_network.
Thanks for sharing valuable information.
As per 5 forwarding levels, But we have check code than i have see only 2 level communication is working because we used that struct
typedef struct zh_network_routing_table_t
{
uint8_t original_target_mac[ESP_NOW_ETH_ALEN];
uint8_t intermediate_target_mac[ESP_NOW_ETH_ALEN];
} __attribute__((packed)) zh_network_routing_table_t;
Can you explain How it's worked with level 5. and How many zh_network_routing_table entry store in each device?
Also, Explain routing_table entry for from D1 to send data D5.
D1 -> D2 -> D3 -> D4 -> D5
D1 -> D6
D1 -> D7 -> D8 -> D5
from zh_network.
Related Issues (9)
- how to get routing table ? HOT 2
- corrupt heap problem HOT 1
- Arduino supported version required HOT 3
- Will ESP NOW Mesh Support 1000 nodes Connected in a line(Street Light) each 50-100 meter apart HOT 7
- Support older version of esp-idf HOT 1
- Wrap ZH_NETWORK_MAX_MESSAGE_SIZE with a ifndef HOT 1
- Cleanup includes in zh_network.h HOT 1
- esphome support HOT 1
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 zh_network.