Open markosole opened 9 years ago
Could it have something to do with this?: Issues Due to limitiations in the implementation of interrupt-driven routines in the underlying RCSwitch library, it is currently not possible to use both the send and receive functionality within the one program.
If not, perhaps PR #17 might help out since it contains an upgrade to the underlying rc-switch library.
I'm using 315 MHz transmitter and receiver and when I send commands, I receive them on protocol 1. But, 2 of 10 sent commands fails. The reason for that is changing protocol from 1 to 3 just for a moment, then it back to protocol 1.
Than I changed settings in file codesend.cpp Line: 33 I add this: mySwitch.setProtocol(2);
Than I do $# sudo make all
to compile it again. And set protocol to nr. 2. But again, when I receive messages, protocol is changing to nr. 3 during transmission and I get failed messages. I do not know why. Can someone help me with this?