NorthernMan54 / rtl_433_ESP

Trial port of the rtl_433 Library for use with OpenMQTTGateway on a ESP32 and a CC1101 Transceiver
GNU General Public License v3.0
495 stars 113 forks source link

RTL_ANALYZER #117

Closed habub closed 10 months ago

habub commented 10 months ago

Current Situation

Hello, Regarding the analyzer call in signalDecoder.cpp:

#ifdef RTL_ANALYZER
      pulse_analyzer(rtl_pulses, rtl_433_ESP::ookModulation ? 1 : 2);
#endif

I didn't find any reference to RTL_ANALYZER for the esp32_cc1101 environment. Does this work?

Logs

N/A

Configuration

N/A

Environment

Process Supervisor

not applicable

Additional Context

No response

NorthernMan54 commented 10 months ago

Yes it works, it enables the feature within the rtl_433 codebase. But it is very resource intensive and hence not stable

habub commented 10 months ago

Cool. I tried adding DRTL_ANALYZER=true to the ini file. I also tried commenting out the #ifdef RTL_ANALYZER. In both cases the build failed for: Implicit dependency ....\.platformio\platforms\espressif32@6.1.0\builder\DRTL_ANALYZER=true not found, needed by target .pio\build\esp32_cc1101\firmware.elf. What am I missing?

NorthernMan54 commented 10 months ago

Is your format correct ?

-DRTL_ANALYZER=true

Am thinking your missing the -

habub commented 10 months ago

YES! Nevermind, I found the typo. Sorry for the inconvenience... I will update how it goes.

habub commented 10 months ago

I see it's working, but you don't output the bitbuffer bits if I understand correctly. Is this on purpose? Even when a decoding succeeded.

habub commented 10 months ago

Thanks