Skip to content

cu8 loader produces incomplete readouts #3549

Description

@n6ham

A cu8 loader produces incomplete results depending on a presence of -f 915M argument, despite the presence of 915M in the file name.

In one case, lack of -f 915M results in missing one out of two signals

 rtl_433 -r g001_915M_1000k.cu8 -F json

{"time" : "@0.139808s", "model" : "ThermoPro-TempSpikeXR", "id" : 138, "color" : "black", "temperature_int_C" : 31.900, "temperature_amb_C" : 32.300, "is_probe" : 1, "probe_batery" : 3, "mic" : "CRC"}

rtl_433 -f 915M -r g001_915M_1000k.cu8 -F json

{"time" : "@0.139808s", "model" : "ThermoPro-TempSpikeXR", "id" : 138, "color" : "black", "temperature_int_C" : 31.900, "temperature_amb_C" : 32.300, "is_probe" : 1, "probe_batery" : 3, "mic" : "CRC"}
{"time" : "@0.161949s", "model" : "ThermoPro-TempSpikeXR", "id" : 138, "color" : "black", "temperature_int_C" : 31.900, "temperature_amb_C" : 32.300, "is_booster" : 1, "booster_battery" : 3, "mic" : "CRC"}

In other case, presence of -f 915M results in missing one out of three signals

rtl_433 -r g004_915M_1000k.cu8 -F json

{"time" : "@0.048643s", "model" : "ThermoPro-TempSpikeXR", "id" : 156, "color" : "white", "is_docked" : 1, "temperature_int_C" : 26.500, "temperature_amb_C" : 32.400, "is_probe" : 1, "probe_batery" : 3, "mic" : "CRC"}
{"time" : "@0.105515s", "model" : "ThermoPro-TempSpikeXR", "id" : 156, "color" : "white", "is_docked" : 1, "temperature_int_C" : 26.500, "temperature_amb_C" : 32.400, "is_probe" : 1, "probe_batery" : 3, "mic" : "CRC"}
{"time" : "@0.162386s", "model" : "ThermoPro-TempSpikeXR", "id" : 156, "color" : "white", "is_docked" : 1, "temperature_int_C" : 26.500, "temperature_amb_C" : 32.400, "is_probe" : 1, "probe_batery" : 3, "mic" : "CRC"}

rtl_433 -f 915M -r g004_915M_1000k.cu8 -F json

{"time" : "@0.048643s", "model" : "ThermoPro-TempSpikeXR", "id" : 156, "color" : "white", "is_docked" : 1, "temperature_int_C" : 26.500, "temperature_amb_C" : 32.400, "is_probe" : 1, "probe_batery" : 3, "mic" : "CRC"}
{"time" : "@0.162386s", "model" : "ThermoPro-TempSpikeXR", "id" : 156, "color" : "white", "is_docked" : 1, "temperature_int_C" : 26.500, "temperature_amb_C" : 32.400, "is_probe" : 1, "probe_batery" : 3, "mic" : "CRC"}

This causes an issue with samples & tests, since run_test.py runs rtl_433 without -f argument and only a signal from the probe (see the first sample) being read. A second signal from the booster is skipped and not being covered by the test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions