Converted Prologue sensor to pulse based decoding

Reset limit changed to be compatible with 10ms minimum gap. That is OK,
as gap between messages is 9ms.
Tested with: rtl_433_tests/tests/prologue/01/gfile001.data
This commit is contained in:
Tommy Vestermark 2015-07-10 21:14:31 +02:00
parent 52a9d62fb4
commit 1dcdeba855

View file

@ -59,9 +59,9 @@ static int prologue_callback(uint8_t bb[BITBUF_ROWS][BITBUF_COLS],int16_t bits_p
r_device prologue = {
/* .id = */ 2,
/* .name = */ "Prologue Temperature Sensor",
/* .modulation = */ OOK_PWM_D,
/* .modulation = */ OOK_PULSE_PPM_RAW,
/* .short_limit = */ 3500/4,
/* .long_limit = */ 7000/4,
/* .reset_limit = */ 15000/4,
/* .reset_limit = */ 2500,
/* .json_callback = */ &prologue_callback,
};