gw.begin possible issue with _repeaterMode
-
I am not 100% sure (although 90% is pretty much).
Setting the _repeaterMode to true or false (3rd argument of gw.begin() does not do anything for me.
Whatever I do:
gw.begin(incomingMessage, AUTO, true) or gw.begin(incomingMessage, AUTO, false) it sets up the board in both sketches as a repeater.
My hesitation comes from the fact that I defined the board previously with _repeaterMode to true and I changed it to false later on and I am not sure if this setting is stored in eeprom as well.
Bug or my mistake?
-
I am not 100% sure (although 90% is pretty much).
Setting the _repeaterMode to true or false (3rd argument of gw.begin() does not do anything for me.
Whatever I do:
gw.begin(incomingMessage, AUTO, true) or gw.begin(incomingMessage, AUTO, false) it sets up the board in both sketches as a repeater.
My hesitation comes from the fact that I defined the board previously with _repeaterMode to true and I changed it to false later on and I am not sure if this setting is stored in eeprom as well.
Bug or my mistake?
Hmm.. strange. Just tried with the latest in 1.4.
gw.begin(NULL, AUTO, true);repeater started, id 1 send: 1-1-0-0 s=255,c=0,t=18,pt=0,l=3,st=ok:1.4 send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0 read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=18,st=ok:Air Quality Sensorgw.begin(NULL, AUTO, false);sensor started, id 1 send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4 send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0 read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=18,st=ok:Air Quality Sensor send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0 send: 1-1-0-0 s=0,c=0,t=22,pt=0,l=3,st=ok:1.4Note the first debug string: sensor/repeater.
-
Thank you for testing Henrik.
I include a callback method for the message instead of NULL but I will test again when I have time (by the end of the day) to see what is going on.
To be honest I only looked at what happened on the controller side and hardly checked on the sensor side so I will first do that... -
@hek do you think it could be 1.4b1?
If so, can I just use the latest 1.4 with the 1.4b1 on the gateway or do I have to change all (I would prefer to wait until the release now)...This is what I get:
repeater started, id 6
send: 6-6-0-0 s=255,c=0,t=18,pt=0,l=15,st=ok:1.4b1 (18848a2)
send: 6-6-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
send: 6-6-0-0 s=255,c=3,t=11,pt=0,l=17,st=ok:Ventilator Switch
send: 6-6-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
send: 6-6-0-0 s=0,c=0,t=6,pt=0,l=15,st=ok:1.4b1 (18848a2)
send: 6-6-0-0 s=1,c=0,t=3,pt=0,l=15,st=ok:1.4b1 (18848a2)
send: 6-6-0-0 s=0,c=1,t=0,pt=0,l=4,st=ok:23.9 -
OK, so this was an issue with 1.4b1.
The latest development version is ok :)
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