What does --my-is-rfm69hw do?
-
I have a raspberry pi gateway setup with an RFM69HW radio.
I switched my Raspberry Pi Gateway from MQTT to TCP, and I was met with my only sensor node repeatedly sending find parent messages. It worked only in very close proximity to the gateway.
After a bit of debugging I noticed that I added the --my-is-rfm69hw flag in my transition from MQTT to TCP. After removing this everything resumed normal operation.
What does adding this flag do (my understanding is that is just changes the TX power levels), and why did it drastically reduce the range?
-
hello,
yes this define is for setting TX power level. when it's not well set, you can get range issue like you experienced.
this is weird because if you're using a rfm69HW you should need it.
or maybe the flag is inverted for the rpi (no idea, i don't use rpi gw).
-
The flag should be correct as it is, but it could be also that the radio module is not HW (i got some sent as hw but they were actually W only)
-
@SquareKinematics If everything was working well before changing fom MQTT to TCP, and the flag was introduced together with that change, then you most likely have a non hw rfm69 module. That flag is only needed when the rfm69 module is hw type.
You can see in this image the differences between the two boards so you can check.
-
@manutremo Thank you for that info-graphic. You are and @gohan are correct, I have an RFM69W. This is what I get for buying from the cheapest seller on eBay
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 24 days ago -
What is actual status of MySensors?
General Discussion • 13 days ago • perfectom 4 days ago -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 29 days ago -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 13 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 27 days ago