From 06fd8f15d37fa3ad7812abbed13664fadb582a02 Mon Sep 17 00:00:00 2001 From: Gerard Date: Mon, 2 Sep 2024 13:32:17 +0200 Subject: [PATCH] Update 1_Radio.cpp Hardware malfunction for CC1101 - defect #103 On the serial connection (pio run -e genericESP32 -t monitor) we see continuously: Now trying to initialize hardware 'CC1101' Initialized CC1101(freq=433.92Mhz,br=9.600kbps,rxbw=250.0khz)=-104 CC1101 SetOOK(true)=0 CC1101 setPromiscuousMode(true)=0 CC1101 disableSyncWordFiltering(true)=0 Hardware failed to initialize, we will retry later! Follow instructions here to solve this: https://github.com/cpainchaud/RFLink32/issues/103. Change ../RFLink32/RFLink/1_Radio.cpp to have default_rxBandwidth = 203000; instead of default_rxBandwidth = 250000;. --- RFLink/1_Radio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFLink/1_Radio.cpp b/RFLink/1_Radio.cpp index 9b1641c..3b7d0d6 100644 --- a/RFLink/1_Radio.cpp +++ b/RFLink/1_Radio.cpp @@ -75,7 +75,7 @@ namespace RFLink { namespace Radio { const int32_t default_frequency = 433920000; const int32_t default_BitRate = 9600; - const int32_t default_rxBandwidth = 250000; + const int32_t default_rxBandwidth = 203000; int32_t frequency; int32_t rxBandwidth;