SUGGESTION: Add log entry when RF channel is too noisy
frapell opened this issue · comments
I was recently having issues where my GW will receive data, but would not send back.
I wrote the details on what was going on in https://forum.mysensors.org/topic/11802/my-rpi-gateway-suddenly-stopped-working-no-idea-what-else-to-try?_=1631270464864
As can be seen in the first message to that thread, all I could see with the default debug messages was !TSF:MSG:SEND
because an ACK was not received. This was not really the case.
In reality, what happened was that this function
MySensors/hal/transport/RFM69/driver/new/RFM69_new.cpp
Lines 369 to 375 in 2e00bf6
would never return true, because there was a faulty node sending garbage into the channel.
I only found out when I added MY_DEBUG_VERBOSE_RFM69
flag when compiling mysgw
.
So the suggestion would be to add some more generic message (without the need to use MY_DEBUG_VERBOSE_RFM69
) that would say something like "channel too noisy" or something like that...