Commit graph

184 commits

Author SHA1 Message Date
iceman1001 0ffb748f5e fix: hi/low should not be same 2019-10-14 21:17:41 +02:00
Philippe Teuwen 395d0f9ebf make style 2019-10-13 00:48:26 +02:00
Philippe Teuwen e4ad1a7471 coverity 227889 227898 - division by zero 2019-10-09 23:01:07 +02:00
Philippe Teuwen 9fac99025b fix bunch of printf api warnings in common/lfdemod.c 2019-10-09 16:40:01 +02:00
iceman1001 1e5e930bf0 clean 2019-10-08 22:04:15 +02:00
iceman1001 9a0ca9c4cd better median for clietside 10%-90% only. thanks for the suggestion @doegox!. Device side still uses old algo 2019-09-22 19:00:11 +02:00
Philippe Teuwen 960d8c4db3 add helper fct manchesterEncodeUint32 2019-09-15 02:09:40 +02:00
Philippe Teuwen d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
iceman1001 2fecbb6141 chg: return values. 2019-08-04 19:26:53 +02:00
Philippe Teuwen b0dbbd3683 make style 2019-07-13 00:38:30 +02:00
iceman1001 34d794d9fd debug output 2019-06-08 10:16:15 -04:00
Philippe Teuwen a55e597e36 make style 2019-06-07 21:40:33 +02:00
Philippe Teuwen f7dfd2a1f2 Fix arg names mismatches between decl & def 2019-06-07 21:26:03 +02:00
Philippe Teuwen 732bc766f9 Reduce some var scopes 2019-06-07 18:41:39 +02:00
iceman1001 d1ae9dc76e cleanup 2019-05-28 05:24:36 -04:00
iceman1001 74fb740c21 fix: lf em 4x05 - use correct paritytest (@marshmellow)\nchg: lf em 4x05_read\n chg: lf em 4x05_write - uses NG 2019-05-28 05:15:12 -04:00
iceman1001 37c30c0395 fix: askdemod - enhances which solves some viking demod errors 2019-05-25 13:27:43 -04:00
iceman1001 a1db12bcae chg: info 2019-05-22 06:01:27 -04:00
iceman1001 4ab2212346 style 2019-04-13 08:50:05 +02:00
Philippe Teuwen 4f32655004 use more static and fix [-Wmissing-prototypes], ongoing... 2019-04-13 00:25:43 +02:00
osboxes.org ad52243981 style 2019-04-10 09:36:23 +02:00
iceman1001 28021ec17b chg: optimizations for ask/bi. 2019-04-09 16:23:55 +02:00
iceman1001 5ea649e59d style 2019-04-07 15:18:02 +02:00
Philippe Teuwen 41f36ca20b make style 2019-04-06 19:09:01 +02:00
Philippe Teuwen 26eb54b965 style 2019-04-06 01:00:54 +02:00
Philippe Teuwen 682f23440d style 2019-04-06 00:23:01 +02:00
iceman1001 8c017157d4 chg: better strong wave detection for biphase 2019-04-05 20:28:58 +02:00
iceman1001 287a9dd204 chg: 'data raw nr' - cleanup 2019-04-04 23:42:02 +02:00
iceman1001 463661869a clean uo 2019-04-04 23:32:47 +02:00
iceman1001 2fa31d33fc style 2019-04-04 07:23:18 +02:00
Philippe Teuwen db4aa08b78 make style 2019-03-28 14:19:41 +01:00
iceman1001 52be3f4fe5 chg: 'lf indala clone' - differnt input parms. '-L' gives a long UID.
chg: 'lf indala demod' - tries to descramble parts,  and detection is changed.  Still issues with PSK2..
2019-03-26 09:09:43 +01:00
iceman1001 a820d59368 chg: one more step to unified debug printing clientside 2019-03-25 14:40:29 +01:00
iceman1001 8fb0999e05 fix: 'data detect p' - removed bad clock detection, failed to set all other parameters. 2019-03-25 14:03:36 +01:00
iceman1001 1a871c040f only 10 clocks.. 2019-03-20 22:10:34 +01:00
iceman1001 1650889d25 chg: also detect RF/100 2019-03-19 17:53:58 +01:00
iceman1001 54a1d576ee fix: better ASK strong /clipped clock detection. 2019-03-19 14:41:57 +01:00
iceman1001 027cda47d2 chg: adjust ask demod 2019-03-18 13:40:51 +01:00
Philippe Teuwen f1a0e57f65 binarraytohex: handle Manchester wrong bit markers 2019-03-15 00:09:40 +01:00
Philippe Teuwen f7b0c5e6d6 fix manrawdecode last bit missing 2019-03-14 13:19:16 +01:00
Philippe Teuwen 961d929f4d changing {} style to match majority of previous style 2019-03-10 11:20:22 +01:00
Philippe Teuwen 0373696662 make style 2019-03-10 00:00:59 +01:00
Philippe Teuwen 23f1a253a7 common: fix mix of spaces & tabs 2019-03-09 19:19:50 +01:00
Philippe Teuwen 60f292b18e remove spurious spaces & tabs at end of lines 2019-03-09 08:59:13 +01:00
Philippe Teuwen 4160e32b0a Replace isNoise by computeSignalProperties and removeSignalOffset 2019-03-08 19:06:55 +01:00
Philippe Teuwen 1f0c1dff5e Fix issue #118 for better FSK on saturated signals 2019-03-07 21:13:58 +01:00
iceman1001 7945b5a805 colors 2019-02-25 00:15:39 +01:00
Chris c75c0e4e52 chg: cleaning up in lfdemod.c, currently the ASK clock, demod of strong and weak signals 2018-11-07 12:21:57 +01:00
Chris b9676e6c93 chg: use signal mean instead of hardcoded FSK_PSK_THRESHOLD
chg: stricter clock identification
chg: askclock detection, trying to find a better starting point
2018-11-02 18:38:06 +01:00
Chris d42b4f6ddf CHG: ask clean wave - better start position in signal 2018-09-09 23:02:41 +02:00