nebman
dc0728b005
device: generic remote/sensor chip SC226x/EV1527 added, support for 116/351 timing, plain data output
2015-08-30 15:03:22 +02:00
Tommy Vestermark
b22c0cd870
Pulse_analyzer: Terminate pulses to ensure EOP detection in demodulator
...
Will now decode e.g. FSK pulses.
2015-08-29 16:44:57 +02:00
Tommy Vestermark
f6fc204bbb
Implement a PWM decoder with precise timing for increased selectivity
...
Makes Chuango less noisy
Has provision for replacing ternary encoder (implements sync)
Can be expanded to include more selectivity (e.g. gap timing)
Can be expanded to include start bit removal (for replacing RAW)
2015-08-29 15:20:21 +02:00
Tommy Vestermark
5c113c2c30
pulse_analyzer(): Add decoding attempts
2015-08-22 11:14:53 +02:00
Tommy Vestermark
b76b05fc92
Add sensor Chuango (initial)
2015-08-21 01:18:40 +02:00
Tommy Vestermark
894b12e1bc
Add device: Valeo Car Key
...
Mainly to detect event / identify signal.
Does not attempt to decrypt rolling code.
2015-08-21 00:14:05 +02:00
Tommy Vestermark
daa32d4023
baseband_demod_FM(): Remember to save filter state...
2015-08-20 21:07:35 +02:00
Tommy Vestermark
ae164a5206
FSK: Only enable FM demodulation if FSK devices are active
...
To save CPU when not needed
2015-08-20 20:52:35 +02:00
Tommy Vestermark
533f219d66
Bitbuffer: Add more bytes to support the longer FSK messages
...
And reduce number of rows to 25
2015-08-19 22:56:30 +02:00
Tommy Vestermark
149c34c121
Pulse_detect: Make FSK demodulation more robust
...
- Correct hysteresis error (positive instead of negative hysteresis :-)
- Only detect FSK at first pulse in possible OOK sequence
2015-08-19 21:34:42 +02:00
Tommy Vestermark
9232c8dbc1
FSK: Complete the stack. Add stub drivers
...
May still need some tweaking - but works for Danfoss.
E3CK has very small pulses! (~12) and should probably have higher
samplerate.
2015-08-18 21:33:55 +02:00
Tommy Vestermark
c40ca8e169
Merge branch 'master' into experimental
2015-08-18 08:06:18 +02:00
Tommy Vestermark
191a4509ac
pulse_detect: Rip out broken level statistics for now
2015-08-18 07:57:23 +02:00
Tommy Vestermark
f24127c383
pulse_detect: Adding FSK demodulation
...
First implementation with OOK/FSK package determination.
Based on adaptive quantization with frequency estimators.
2015-08-18 07:52:40 +02:00
Paul Ortyl
a2b6069e6c
initial implementation for GT_WT_02 decoder
2015-08-16 19:23:30 +02:00
Tommy Vestermark
db9b44ab31
Remove decimation support
...
Not really working
2015-08-14 21:52:30 +02:00
Tommy Vestermark
44ea405c73
Test I/O handling of FSK data + mode consistency
...
Separate modes for input and output should be considered.
2015-08-12 23:59:34 +02:00
Tommy Vestermark
43aa8cdd92
Merge branch 'upstreaming' into experimental
2015-08-12 18:58:03 +02:00
Tommy Vestermark
36ffe92d57
Merge branch 'master' into upstreaming
2015-08-12 18:11:26 +02:00
Tommy Vestermark
ec442eac4f
Initial FM/FSK demodulator
2015-08-12 18:10:05 +02:00
Tommy Vestermark
c781d87527
Prepare low_pass filter for reuse and encapsulate implementation better
2015-08-11 22:54:39 +02:00
Tommy Vestermark
660cc2d40c
Lower default level limit to 8000
...
Max theoretical value is 16384 (values above is ripple due to
saturation). Decodes better signals with lower levels.
Analyses rtl_433_tests/tests/GT-WT-02/gfile003.data cleanly
2015-08-09 23:17:11 +02:00
Paul Ortyl
536dbb14d0
support Brennstuhl RCS 2044 remote control
2015-08-09 17:58:59 +02:00
Tommy Vestermark
7e6bbfafc1
Add pulse and gap level statistics
...
Useful for determining signal and noise level.
Changed interval notation to mathematically correct notation [;]
2015-08-09 17:51:02 +02:00
Tommy Vestermark
a9b0411ca8
Refactor baseband sample processing functions into own file
2015-08-09 13:08:37 +02:00
Tommy Vestermark
89a52d6f1e
Merge branch 'experimental' into upstreaming
...
Conflicts:
src/devices/alecto.c
src/devices/lacrosse.c
2015-07-15 22:12:03 +02:00
Tommy Vestermark
b005d4410a
Clean up bitbuffer a bit
...
num_rows is more logical than row_index for users
2015-07-15 21:03:40 +02:00
Tommy Vestermark
139fad4918
Rename bitbuffer_t::bits_buffer to bitbuffer_t::bb
...
Better now than later...
2015-07-15 19:47:30 +02:00
Tommy Vestermark
c59375705e
Moved all drivers to use bitbuffer_t directly
...
And removed lots of compile warnings...
2015-07-15 00:57:55 +02:00
Tommy Vestermark
00ff066903
Added binary printout to bitbuffer_print()
...
For feature parity.. Only print if number of bits is low.
2015-07-14 23:20:38 +02:00
Tommy Vestermark
cba8159180
Removed debug_callback()
...
Now drivers do no longer need to print out themselves
2015-07-14 22:50:21 +02:00
rct
7740d4d9d5
LaCrosse removed unneeded start bit removal workaround
...
Moved time stamp to util.c
Alecto, fixed compile warnings (%%, time stamp, demod_arg init)
2015-07-14 14:01:08 -04:00
Tommy Vestermark
67cf942d04
Add some documentation to pulse demodulators
...
Hopefully this will help potential driver writers
2015-07-12 09:06:58 +02:00
Tommy Vestermark
414ac89f63
Clean up and re-order alphabetically :-)
...
Old sample based decoders are not recommended for future use
2015-07-12 08:11:21 +02:00
Tommy Vestermark
554166c52c
Remove unused ID parameter from all devices
2015-07-12 00:18:17 +02:00
Tommy Vestermark
b8732fae35
Reverse polarity of pulse_demod_pcm_rz()
...
When reading the DSC protocol this makes more sense
2015-07-11 22:55:47 +02:00
Tommy Vestermark
b48ea3af50
Merge branch 'upstreaming' into experimental
...
Conflicts:
include/rtl_433.h - resolved
2015-07-11 21:02:07 +02:00
Tommy Vestermark
bb8a773597
Simplify parameter handling for pulse_demod_pcm()
...
Removed explicit start_bit parameter and use demod_arg instead
2015-07-11 20:53:03 +02:00
Tommy Vestermark
9c24549c70
Add DSC stub driver
...
Tested with:
rtl_433_tests/tests/dsc/01/gfile001.data
Does not now how to interpret the bits though...
2015-07-11 20:34:32 +02:00
Tommy Vestermark
ba28bc0835
Add decoder for Pulse Code Modulation, Return-to-Zero
...
To be used by DSC
2015-07-11 20:33:27 +02:00
Tommy Vestermark
2ddb7fda7f
Added X10 RF stub driver
2015-07-11 18:02:52 +02:00
Tommy Vestermark
81cd3d66a6
Converted demod_ bit functions to common bitbuffer
...
Saved some lines for now.
Long term plan is to convert all drivers to receive a bitbuffer.
2015-07-11 16:43:01 +02:00
Tommy Vestermark
bf5b0a58e1
Made a util.c with generic helper functions (CRC8)
...
For use with device drivers
2015-07-11 15:59:06 +02:00
Tommy Vestermark
8fd6bb3f37
Added Calibeur RF-104 Sensor
...
Tested with both live data and:
rtl_433_tests/tests/calibeur/RF104/01/gfile001.data
2015-07-11 14:16:27 +02:00
Tommy Vestermark
90e9b85da4
Added ternary PWM decoder with configurable sync bit.
...
Needed for Calibeur RF-104 sensor.
2015-07-11 14:15:14 +02:00
Tommy Vestermark
52a9d62fb4
Pulse demodulators: Added support for useful debug output
...
Has to be manually enabled by uncommenting printer functions
2015-07-10 18:57:24 +02:00
Tommy Vestermark
9d1e6f5430
Pulse detector: added MIN and MAX gap time before EOP
...
Implemented minimum and maximum gap times in addition to current
gap/pulse ratio. Changed values to be independent of sample rate.
Also made bitbuffer less noisy for decoders with small .long_limit
Tested with:
rtl_433_tests/tests/ambient_weather/01/f007th.data
rtl_433_tests/tests/cardin/01/S466-TX2_01.data
rtl_433_tests/tests/cardin/01/S466-TX2_02.data
rtl_433_tests/tests/fineoffset/01/gfile001.data
rtl_433_tests/tests/lacrosse/01/gfile001.data
rtl_433_tests/tests/lacrosse/01/gfile002.data
rtl_433_tests/tests/lacrosse/01/gfile006.data
rtl_433_tests/tests/oregon_scientific/01/BTHGN129.data
rtl_433_tests/tests/oregon_scientific/01/BTHR968.data
rtl_433_tests/tests/oregon_scientific/02/gfile003.data
rtl_433_tests/tests/prologue/01/gfile001.data
2015-07-10 18:46:07 +02:00
Tommy Vestermark
86534ec4d2
Add pulse based PPM decoder as replacement for pwm_d_decode()
2015-07-10 17:04:51 +02:00
Tommy Vestermark
bef229713a
Added PWM decoding with startbit removal. Converted Lacrosse sensor.
...
Tested with the following data:
rtl_433 -r ~/rtl_433_tests/tests/lacrosse/01/gfile001.data
rtl_433 -r ~/rtl_433_tests/tests/lacrosse/01/gfile002.data
rtl_433 -r ~/rtl_433_tests/tests/lacrosse/01/gfile006.data
2015-07-03 00:49:02 +02:00
Tommy Vestermark
6ef21b25ad
Remove sample based manchester_decode()
2015-07-02 23:01:26 +02:00