Commit graph

171 commits

Author SHA1 Message Date
Philippe Teuwen 395d0f9ebf make style 2019-10-13 00:48:26 +02:00
Philippe Teuwen d588b04537 fix more printf api warnings/bugs 2019-10-09 18:03:56 +02:00
iceman1001 9b0e70ca27 fixes 2019-10-09 14:28:52 +02:00
iceman1001 3ba529612e coverity 226321 - printf 2019-10-09 14:17:28 +02:00
Philippe Teuwen 4ae8a3d86b fix few printf arg types 2019-10-05 23:56:19 +02:00
mwalker33 b41013ca8f Update cmdlfem4x.c
em 4x05 wipe
2019-09-28 14:01:28 +10:00
mwalker33 5748000afc Update cmdlfem4x.c
em4x05 wipe
2019-09-28 13:53:24 +10:00
iceman1001 7e15e0612a remove debug 2019-09-25 22:13:56 +02:00
iceman1001 6ffae0e156 fix - parites needs to be reset between iterations, and resuse standard functions for clock 2019-09-24 15:27:20 +02:00
mwalker33 bf395a6c4f Update cmdlfem4x.c
Add lck flags and f for filename
2019-09-24 21:42:31 +10:00
mwalker33 87a6316f44 Update cmdlfem4x.c
Dump print and save to .eml and .bin
2019-09-24 19:59:54 +10:00
mwalker33 361136f06d Update cmdlfem4x.c
dump display and save to file
2019-09-23 21:04:33 +10:00
mwalker33 0ea501372b Update cmdlfem4x.c
Added print Ascii to em 4x05_dump
2019-09-22 19:41:45 +10:00
mwalker33 3a9087d2a1 Update cmdlfem4x.c
em 4x05_dump did not output data
2019-09-22 15:27:00 +10:00
iceman1001 a3161ae9a2 fix 'lf em 4x50_read - now checks if have enough data in Graphbuffer 2019-09-19 13:12:48 +02:00
iceman1001 8d6bde0d63 chg: 'lf em 4x50_demod' - seems the read 4x50 didnt read, it demodulated only.. 2019-09-13 15:13:18 +02:00
Philippe Teuwen db0ac1639b em4x watch & read: collect enough samples to cover EM XL tags 2019-08-13 22:57:54 +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
Philippe Teuwen a0a232a985 rename few CMD_* to get some less diversity 2019-08-03 19:48:02 +02:00
Philippe Teuwen c0eb19acb1 remove tabs 2019-07-24 00:52:24 +02:00
Philippe Teuwen 9beabaabf5 make style 2019-07-23 21:33:52 +02:00
cjbrigato 5c3676ad81 ADD: Early SPIFFS implementation see #257, UPDATE HF_COLIN accordingly 2019-07-22 22:56:06 +02:00
Philippe Teuwen 8bf4b4ad97 Promote WARNING to ERR on some error msgs 2019-07-14 00:35:18 +02:00
Philippe Teuwen b0dbbd3683 make style 2019-07-13 00:38:30 +02:00
Philippe Teuwen 844d732297 Replace ukbhit by kbd_enter_pressed, not requiring tcgetattr:
Note that it behaves differently now
* it looks for Enter key only, not any key
* it "eats" the input, no need for (void)getchar() after it
* it works the same no matter the value of ICANON
* the mingw version has been adapted to act the similarly

This should fix its usage on Android where tcgetattr always returns -1
2019-07-11 13:01:34 +02:00
iceman1001 fd2ac38ac3 chg: lf em 4x05_info 2019-06-08 15:24:12 -04:00
Philippe Teuwen a55e597e36 make style 2019-06-07 21:40:33 +02:00
Philippe Teuwen 732bc766f9 Reduce some var scopes 2019-06-07 18:41:39 +02: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 f8dbf6138a fix: lf sim - dont forget to PACK your structs on both sides\n chg: data convertbitstream - converts bit to max/min in order to facilitate demodulation of simulation data 2019-05-23 06:12:20 -04:00
iceman1001 461a90eeaf chg: lf em - and even more return codes 2019-05-22 09:28:12 -04:00
iceman1001 ad394a2d6b chg: lf em 410x_sim - reworked to NG\n chg: lf em 410x_demod - now can demod the simulation data. 2019-05-22 08:32:30 -04:00
Philippe Teuwen 290f2b625b Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX 2019-05-07 19:51:33 +02:00
Philippe Teuwen 32bb9511ec Replace WITH_LF by dynamic detection in client 2019-05-02 00:02:38 +02:00
Philippe Teuwen ca43afa19b begin of dynamic capabilities handling in client 2019-05-01 20:48:15 +02:00
Philippe Teuwen c4766b2649 Semi-Automated SendCommand -> SendCommandOLD 2019-04-19 23:01:13 +02:00
Philippe Teuwen 1b6a45ac17 propagate CmdsParse return value 2019-04-19 00:47:51 +02:00
Philippe Teuwen 482db05741 Rename few stuff for consistency 2019-04-18 12:49:51 +02:00
Philippe Teuwen 533667ea6d Better Reply structs 2019-04-17 23:44:48 +02:00
Philippe Teuwen 7cbcf8163c Merge branch 'master' into experimental_varlen
* master: (27 commits)
  textual
  style redundant assignment
  timeout fix
  small fix
  add termcap
  add readline and small fix
  rdp
  textual
  null term?
  fix: https://github.com/RfidResearchGroup/proxmark3/issues/166
  add dlls to release
  style
  style
  test fix
  test fixes
  another fix
  fix memleak
  fix
  textual
  use printandlogex
  ...
2019-04-17 22:06:39 +02:00
Philippe Teuwen be15ad7fec Viva la revolucion 2019-04-17 21:30:01 +02:00
iceman1001 2783ba7583 style redundant assignment 2019-04-17 19:48:29 +02:00
Philippe Teuwen 5c55664fc5 use more static and fix [-Wmissing-prototypes] 2019-04-13 21:57:13 +02:00
iceman1001 e7f4f615c0 unified text 2019-04-12 10:55:09 +02:00
Philippe Teuwen f6a6ec8447 Rework Cmd exposed API, use more static and fix [-Wmissing-prototypes], ongoing... 2019-04-12 01:55:25 +02:00
Philippe Teuwen 0ab6de64d4 structs: initializes explicitely all fields, so we can detect when we really forgot one [-Wmissing-field-initializers] 2019-04-10 13:59:00 +02:00
Philippe Teuwen 0ce9e37fb7 Remove duplicate helptext 2019-04-10 13:17:38 +02:00
Philippe Teuwen 3d6d58aae5 internal help fcts -> static 2019-04-10 13:06:05 +02:00
Philippe Teuwen cc0454d5d2 tag unused Cmd [-Wunused-parameter] 2019-04-10 12:23:40 +02:00
iceman1001 0e05faaf0c styles 2019-04-08 10:33:06 +02:00