Comments (4)
First question is: can I send all the characters in one big payload?
Yeah, per the docs RF24Network supports fragmentation/reassembly.
Which is maximum size supported by the mesh.write/read function?
Technically limited by memory, defined in RF24Network_config.h as #define MAIN_BUFFER_SIZE 144 + 10
. With RPi and RF24Gateway, it supports 1500 Byte payloads no problem, but uses the Linux TCP/IP stack to manage the data.
Otherwise, is it better to send character by character?
Not unless using RF24Ethernet, which will buffer data accordingly, and handle retries, validation, etc.
In this case, I have to avoid ACK (for faster communications) or I can let them enabled? When declaring the msg_type, which is the character to set in order to avoid ACK payload?
See the documentation
from rf24mesh.
Thanks for the reply.
I was thinking to use rf24ethernet. But I would like to separate the ethernet between sensors from internet.
In other words, is it possible on the master arduino node to talk with sensor using 10.0.0.x ip addresses while the user requests come from a client with 192.168.x address?
Because I want to avoid sensors using ip addresses from my router... I prefer to have a private network for sensors with the master routing any request from internet...
Thanks.
Bye
from rf24mesh.
As with everything lately, the docs etc all need more info and updates, but there are two main methods of interfacing with RF24Ethernet:
- Using a PC capable of SPI, ( interfacing directly with RF24 ) like Raspberry Pi - Uses RF24Gateway
- Using a PC capable of SLIP ( Serial Line Interface Protocol ) like any Linux device - Uses an Arduino and the included SLIP example
- Todo Look at PPP support
In any case, the PC connected to or serving as the master node controls all networking traffic. It can be configured to block all IP traffic, route IP traffic as required, etc.
Using RF24Ethernet requires a general understanding of networking principles. All IP addresses are statically assigned, so you can configure your network any way your want, all this provides is a network interface, connected to the RF24 mesh network.
from rf24mesh.
Ok thanks for the useful info.
Bye!
from rf24mesh.
Related Issues (20)
- 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
- Address build warnings in ncurses example HOT 1
- Problem with setting PA_LEVEL at start of Mesh HOT 5
- Potential mesh.checkConnection() improvement HOT 6
- Would it make sense to return true if `checkConnection()` is called on a master node? 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 rf24mesh.