No RFM69 - No error
-
Hello,
Currently I'm working on a gateway that uses the RFM69HW module with 868MHz.
When I upload a sketch to my WeMos and no RFM is connected, it seems that there is no error in the init function.0;255;3;0;9;TSF:LRT:OK 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDEDShouldn't there be any error that no RFM is connected correctly and could not be initialized?
I tried everything with a minimal sketch:
#define MY_DEBUG #define MY_BAUD_RATE 9600 //#define MY_RADIO_NRF24 #define MY_RADIO_RFM69 #define MY_GATEWAY_ESP8266 #define MY_ESP8266_SSID "earth" #define MY_ESP8266_PASSWORD "" #define MY_PORT 5003 #include <ESP8266WiFi.h> #include <MySensors.h> void setup() { } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attached sensors data here }When I use a NRF24 module in the sketch I get a correct error:
0;255;3;0;9;TSF:LRT:OK 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;!TSM:INIT:TSP FAIL 0;255;3;0;9;TSM:FAIL:CNT=1 0;255;3;0;9;TSM:FAIL:PDT``` -
Hello,
Currently I'm working on a gateway that uses the RFM69HW module with 868MHz.
When I upload a sketch to my WeMos and no RFM is connected, it seems that there is no error in the init function.0;255;3;0;9;TSF:LRT:OK 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDEDShouldn't there be any error that no RFM is connected correctly and could not be initialized?
I tried everything with a minimal sketch:
#define MY_DEBUG #define MY_BAUD_RATE 9600 //#define MY_RADIO_NRF24 #define MY_RADIO_RFM69 #define MY_GATEWAY_ESP8266 #define MY_ESP8266_SSID "earth" #define MY_ESP8266_PASSWORD "" #define MY_PORT 5003 #include <ESP8266WiFi.h> #include <MySensors.h> void setup() { } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attached sensors data here }When I use a NRF24 module in the sketch I get a correct error:
0;255;3;0;9;TSF:LRT:OK 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;!TSM:INIT:TSP FAIL 0;255;3;0;9;TSM:FAIL:CNT=1 0;255;3;0;9;TSM:FAIL:PDT``` -
Hello,
I have the sam problem when i use te mysensors 2.1.1 i mus remove HW from the sketch.
If i #define RFM 69HW place on the sketch i get the error that the RFM 69HW
MySensors.h:328:2: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.Greatz Ton
-
@tekka Is there a branch somewhere with this refactored driver to test?
Seems there is something acting strange with RFM69 + esp8266 -
Thanks!
Will have a shot at it tonight to try to troubleshoot this.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login