* MAX_PROTOCOLS bumped to 67, didn't get increased when devices where added.
* MAX_PROTOCOLS too small is now a fatal error, instead of segfault'ing later.
* Usage message: show which devices are disabled by default.
* Usage message: be more clear/consistent referring to device protocols vs
RTL-SDR USB device numbers
* Update README.md to match current usage (help) message.
* Updated README for new efergy_optical sensor and missing recent devices.
* Added support for efergy_optical.c with crc checksum calculation.
whilst the code does validate the checksum it does not reject data based on invalid checksum.
New library added for checksum calculations.
* Changed code to output results on a good checksum.
* Added header file for lib_crc to include directory
* Updated README for new efergy_optical sensor and missing recent devices.
Added support for efergy_optical.c with crc checksum calculation.
whilst the code does validate the checksum it does not reject data based on invalid checksum.
New library added for checksum calculations.
Changed code to output results on a good checksum.
Added header file for lib_crc to include directory
* Changed CRC calculation to use new function in util.h
no longer using lib_crc
* added file output support and changed energy to power.
only output crc values when using -D argument.
* Only output crc when using -D argument
* I have kept the crc calculation to be the first 10 bytes. Bytes 11 and 12 are the CRC16_CCITT.
The only puzzle left is why does the last byte does as it sometimes change to 80.
Byte Count 1 2 3 4 5 6 7 8 9 10 11 12 13
Bytes Array [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
[00] {97} 0a a2 ba 40 00 00 00 00 07 0f d5 5d 00
Calculated crc is 0xD55D
Received csum1 is 0xD55D
* Efergy Optical device added.
Multiple changes to combine several files into one commit.
* Removing lib_crc files
* Add initial Elro DB286A support
* Correct line removal
* Declare variables at beginning of block
* Use preprocessor define for constants
* Change 'id' field name to 'code'
* Move check for bitrow length below variable declarations
* Export compare_rows and count_repeats functions
* Use PWM_RAW with appropriate limits to separate messages
Makes it possible to use bitrows directly to check signal,
also to generate hex code instead of binary string
* Correct stray line removal
* Correct file header, add copyright notice
* Move check in front of code generation
* Added support for the Acurite 606TX (temperature only) sensor.
* Added support for the Acurite 606TX (temperature only) sensor.
* Change sensor name. Update fork and fix merge conflicts.
* Merge fixes.
Strictly no intentional functional change here. So this patch includes
things like (in ec3k.c):
- .short_limit = 12, // NRZ decoding (it apparently 12.5 which is a problem!!)
+ .short_limit = 48, // NRZ decoding (should be 50µs)
These *will* be changed to what the driver presumably intended, but in
separate bisectable commits.
The (about to be submitted) emonTx decoder really needs to be allowed to
specify a limit of 20.3µs, and neither '50 samples' (20µs) nor
'51 samples' (24µs) will suffice.