Commit graph

194 commits

Author SHA1 Message Date
Philippe Teuwen
3eea2e20bb askdemod_ext: update startIdx in case of weak demodulation too 2020-10-07 22:50:22 +02:00
Philippe Teuwen
4e10c9ec0a move idteck to its own file 2020-09-28 21:09:26 +02:00
Philippe Teuwen
f69739da79 make style 2020-06-19 18:34:47 +02:00
tharexde
4d292d3ca0 fixed: first bit of em4x50 word was skipped in case of a "0" -> first transition in raw Manchester decoding is now taken into account 2020-06-14 14:51:48 +02:00
Philippe Teuwen
19be62f7e6 stricter warnings: Wredundant-decls 2020-05-03 12:38:34 +02:00
iceman1001
39fd06f947 cppchecker fix - conditionknown 2020-04-28 22:29:22 +02:00
iceman1001
31125b9d34 cppchecker fix - conditionknown 2020-04-28 22:27:50 +02:00
iceman1001
9a921d6944 style 2020-03-09 17:09:07 +01:00
iceman1001
0be6737ad9 debug state 2020-02-04 17:38:02 +01:00
iceman1001
8696b521ef protect debug messages 2020-02-03 21:38:42 +01:00
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