Commit Graph

40 Commits

Author SHA1 Message Date
Christian W. Zuckschwerdt
dc1577bd3f Refactor lfsr_digest16 2020-09-28 12:47:43 +02:00
Benjamin Larsson
a5b3961320 Add reverse32 function 2020-07-06 21:06:42 +02:00
Christian W. Zuckschwerdt
67ff22cfb4 Add decode_uart util (#1376) 2020-05-14 11:37:15 +02:00
Christian W. Zuckschwerdt
9375737529 Add reflected LFSR util 2020-01-26 11:44:09 +01:00
Christian W. Zuckschwerdt
4c335231a1 Clean up doc comments 2019-11-09 11:16:28 +01:00
mnhauke
cc8d16dc66 Fix some typos (#1111) 2019-07-16 22:21:24 +02:00
Christian W. Zuckschwerdt
c03ce14c8d Clean up Oregon Scientific SL109H 2019-04-08 15:05:08 +02:00
Christian W. Zuckschwerdt
bf7707d4e5 Add LaCrosse WS7000 support (#1029) (#1030) 2019-04-06 12:20:23 +02:00
Christian W. Zuckschwerdt
162e7202e0 Change min/max macro to MIN/MAX 2019-03-01 12:46:05 +01:00
Christian W. Zuckschwerdt
baace97a5a Harmonize Doxygen comments; enable Autobrief 2019-02-13 16:36:32 +01:00
Christian W. Zuckschwerdt
412e0355a4 Improve MSVC builds 2018-12-30 20:48:08 +01:00
Christian W. Zuckschwerdt
586eae927b Refactor util into r_util 2018-12-27 13:54:56 +01:00
Christian W. Zuckschwerdt
be1aa8c830 Change MSC to __restrict 2018-12-16 16:03:17 +01:00
winterrace
65e322f7e1 Fix hi-res timestamps and default search paths on Win using platform files (#910)
- hi-res timestamp reading on windows (cast to 64 bit before <<32)
- Default search paths regarding rtl_433 config files for Windows platform
2018-12-16 11:54:36 +01:00
Christian W. Zuckschwerdt
8d1439da5a Add more byte operation util functions 2018-12-12 13:34:47 +01:00
Christian W. Zuckschwerdt
0ef54e3be0 Rename proper CRC16 2018-12-11 19:26:07 +01:00
Christian W. Zuckschwerdt
ec82a798df Clean up CRC LSB/MSB 2018-12-11 19:20:54 +01:00
Christian W. Zuckschwerdt
25afb89cb1 Add precision time and time report options (#905) 2018-12-10 09:09:04 +01:00
Christian W. Zuckschwerdt
f31d293953 Refactor extern sample_file_pos from local_time_str() 2018-11-28 15:53:57 +01:00
Christian W. Zuckschwerdt
4d5761830d Refactor digest into util 2018-11-22 19:38:04 +01:00
Christian W. Zuckschwerdt
20f9f2105b Add CRC-4 util function 2018-10-30 20:15:14 +01:00
winterrace
a6d5e8f216 Fixes and example project to compile using MS Visual Studio 2015 (#789) 2018-09-06 15:41:19 +02:00
Gisle Vanem
28837a0049 Add prototype for 'nice_freq()' (#759) 2018-07-04 09:51:37 +02:00
Gisle Vanem
6f4d9756be Include <stdlib.h> (#752)
This is a simple fix for MSVC where I get this warning:

stdlib.h(1300): warning C4005: 'max': macro redefinition
RTL_433\include\util.h(20): note: see previous definition of 'max'
stdlib.h(1301): warning C4005: 'min': macro redefinition
RTL_433\include\util.h(23): note: see previous definition of 'min'
2018-06-30 17:42:42 +02:00
Christian W. Zuckschwerdt
11246199fc Add conversion hPA/inHG, kPa/PSI (#711)
* Add conversion hPA/inHG, kPa/PSI
* Minor style updates
2018-05-01 14:52:34 +02:00
claws
4e81f5699f Fix unit conversions for Acurite 5n1 (#651) 2017-12-18 10:25:10 +01:00
Christian W. Zuckschwerdt
9e1ab5f2d7 adding Toyota TPMS sensor 2017-07-11 10:03:10 +02:00
vestom
fc560a927c Pulse Analyzer: Add 'Include only' mode (#497)
* Pulse Analyzer: Add "Include Only" mode

* Correct some devices to return correct event number

Necessary for "Include Only" mode to work correctly

* Pulse Analyzer: Add timestime to package detection
2017-03-18 23:32:42 +01:00
Benjamin Larsson
1473dbf517 Add CRC16-CCITT function 2016-07-30 00:16:28 +02:00
somesortoferror
960f0459ad use uintptr_t instead of unsigned long - fixes build error on win64 2016-01-24 19:05:31 +00:00
David Woodhouse
0df00e0fa4 Add crc16() function 2016-01-22 13:14:09 +00:00
Punit Agrawal
e99c2ef81e util: Fix mismatched comment
Fixes: 8fb0c0895e ("Acurite 592TXR Temperature/Humidity Sensor")
2015-11-24 10:18:04 +00:00
Punit Agrawal
3df6353c84 util: Make comment consistent
Fixes: a2b6069e6c ("initial implementation for GT_WT_02 decoder")
2015-11-24 10:14:36 +00:00
rct
8fb0c0895e Acurite 592TXR Temperature/Humidity Sensor
- Add support for 592TXR "Tower" temperature/humidity sensor
- Alternate 5n1 weather station shared device decode with 592TXR
- Wind direction decoding matches Aculink bridge and Acurite 1512 consoles
- More reliable decoding/detection with PWM_TERNARY demod (wider level range)
- Timestamps on 5n1 output
- Original 5n1 implementation left unchanged for compatibility
2015-11-07 17:46:31 -05:00
rct
85b566fc2b Updated crc8 to take initial CRC value as a parameter 2015-10-07 23:52:00 -04:00
rct
c64e7ff834 DSC Security Contact added CRC-8 calc/check
* Added "little-endian" CRC-8 calculation
* Moved reverse8() to util.c
* Quieted WT450 callback false positive messages
2015-10-07 23:11:30 -04:00
Paul Ortyl
a2b6069e6c initial implementation for GT_WT_02 decoder 2015-08-16 19:23:30 +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
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
bf5b0a58e1 Made a util.c with generic helper functions (CRC8)
For use with device drivers
2015-07-11 15:59:06 +02:00