Update of rtl_433_ESP to version 0.1.3 - Support for SX127X transceiver module (#1291)
The main features of the upgrade to 0.1.3 of rtl_433_ESP are 1 - Change Transceiver Library to RadioLib 2 - Add support for SX127X transceiver module ( I used the 433 Mhz version of this Heltec module for development ). 3 - Added automatic calibration of the RSSI Signal detection Threshold 4 - Removed dependency on loop for start and end of signal detection, and moved to a ESP32 Task 5 - Moved received signal decoding to a ESP32 Task 6 - Identified Blueline PowerCost Monitor decoder as source of significant memory overhead and disabled. 7 - Multi Receiver support has been validated with RF, RF2 and PiLight
This commit is contained in:
1 parent
c570eead82
commit
8bc65d62dc
10 files changed
+186
-73
No files matched your search
@@ -176,6 +176,7 @@ void RFtoMQTT() {
|
||||
# if simpleReceiving
|
||||
void MQTTtoRF(char* topicOri, char* datacallback) {
|
||||
# ifdef ZradioCC1101 // set Receive off and Transmitt on
|
||||
disableActiveReceiver();
|
||||
ELECHOUSE_cc1101.SetTx(receiveMhz);
|
||||
# endif
|
||||
mySwitch.disableReceive();
|
||||
@@ -251,6 +252,7 @@ void MQTTtoRF(char* topicOri, JsonObject& RFdata) { // json object decoding
|
||||
# ifdef ZradioCC1101 // set Receive off and Transmitt on
|
||||
float trMhz = RFdata["mhz"] | CC1101_FREQUENCY;
|
||||
if (validFrequency((int)trMhz)) {
|
||||
disableActiveReceiver();
|
||||
ELECHOUSE_cc1101.SetTx(trMhz);
|
||||
Log.notice(F("Transmit mhz: %F" CR), trMhz);
|
||||
}
|
||||
@@ -321,6 +323,7 @@ void enableRFReceive() {
|
||||
# endif
|
||||
|
||||
# ifdef ZradioCC1101 // set Receive on and Transmitt off
|
||||
ELECHOUSE_cc1101.Init();
|
||||
ELECHOUSE_cc1101.SetRx(receiveMhz);
|
||||
# endif
|
||||
mySwitch.disableTransmit();
|
||||
|
||||
Reference in new issue
Block a user