Comments (5)
You should be seeing something like this:
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX
1739178: MAC Received on 0 id 26614 from 04444 to 0100 type 194
1739179: MAC Sending to 04444 via 04444 on pipe 0
1739179: NET Pipe 0 on node 04444 has address cccccc3ecc
1739180: MAC Sent on cccc3ecc ok
1739235: MAC Received on 0 id 26614 from 04444 to 00 type 195
Make sure to do a full recompile after modifying the debug options: make install -B or make clean
If you still see nothing, even with RF24Network debug enabled, then the RPi is just not receiving anything... printDetails() output looks good...
from rf24mesh.
Nothings happens. I wonder if it the arduino is the one not sending anything. But it outputs this when I run the RF24Mesh_Example
48 MSH: Poll
49: NET Sending id 1 from 04444 to 0100 type 194
53: MAC Sending to 00 via 00 on pipe 0
56: NET Pipe 0 on node 00 has address ccccccccc3
61: MAC Sent on ccccccc3 ok
119 MSH: No poll from level 0
so it's safe to assume it's sending something right?
But I have a question regarding that output. It is sending a packet from 04444 (w/c is the node) to 0100 but it sends it to 00 which is the RPi. So maybe the RPi doesn't recognise it as a packet for itself? or is my interpretation wrong?
from rf24mesh.
0100 is just a false address used to indicate a multicast payload
04444 is the default address for renewal
It looks ok, just not getting a poll response
from rf24mesh.
Okay. So it seems that it actually doesn't receive anything.
I tried doing network.multicast. When the rpi master is doing the multicast the arduino nodes receives but when the node does a multicast nobody receives it. I think that's why there's no poll response.
Why do you think this happens?
should I close the topic and make a new one at rf24network?
from rf24mesh.
I'm guessing one of your devices just isn't working properly. I would suggest testing down the stack a bit, I usually like to start at the bottom and work my way up when things are just not working.
- Load up the basic RF24 gettingstarted_call_response sketch
a: Ensure the RF24 radio(7,8); is using the correct pins
b: If using RPi and Arduino, the radio numbers should be pre configured.
c: Either power cycle the Arduinos after uploading, or Add the line radio.setAutoAck(1); after radio.begin() to ensure AA is enabled after using RF24Mesh
If that works, you know your radios are connected properly and functioning. If not, most likely a config/hookup/hardware issue.
If not working, we need to get the printDetails() output, so:
a: Add this to the top includes to get basic debug info on Arduino:
#include <SPI.h>
#include "RF24.h"
#include <printf.h>
in setup add:
printf_begin();
anywhere after Serial.begin();
and then uncomment radio.printDetails()
to get debug output on Arduino.
else:
- Test with RF24Network helloworld examples similarly if working at RF24 layer. Make sure the pins in RF24 radio(7,8) are set correctly, everything else is configured.
- If the above all works, RF24Mesh should also work...
Please keep adding to this issue, even if issues are found at lower layers. If resolved, it may help others with similar issues.
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.