Philippe Teuwen
281cdead26
ltrim cmd before display
2019-04-28 22:38:44 +02:00
Philippe Teuwen
8ebc44ee81
fix segfault
2019-04-27 16:52:23 +02:00
Philippe Teuwen
200290bc56
doc multiple commands with -c
2019-04-27 00:33:14 +02:00
Philippe Teuwen
d3cc0bb71c
Add support for: proxmark3 -c "hw ping;hw version;hw ping"
2019-04-27 00:31:05 +02:00
Philippe Teuwen
897632a717
rename usb_present
2019-04-26 23:30:03 +02:00
Philippe Teuwen
4a576efc44
TestProxmark only if OpenProxmark returned pm3 present
2019-04-26 23:26:51 +02:00
Philippe Teuwen
70995f0f1e
use color macros
2019-04-26 08:29:48 +02:00
iceman1001
436910605b
unified Proxmark3 text
2019-04-16 20:00:25 +02:00
iceman1001
8657e17a0b
more colors
2019-04-16 17:29:19 +02:00
iceman1001
2639de23c6
rearranged banner output and messages
2019-04-16 17:26:15 +02:00
iceman1001
aaedeafbb1
style spaces
2019-04-16 16:56:56 +02:00
Philippe Teuwen
ba926a91e5
more yellow
2019-04-14 18:38:06 +02:00
Philippe Teuwen
04c0384d3e
Testing pm3 communication
2019-04-14 17:25:17 +02:00
Philippe Teuwen
3cba736841
baudrate for usart: use define and limit to 115200 only for WITH_FPC_HOST
2019-04-14 14:42:03 +02:00
Philippe Teuwen
9676d788e0
style
2019-04-14 13:37:53 +02:00
Philippe Teuwen
681c8fd22a
main: use proper executable name, especially for mingw
2019-04-14 13:35:52 +02:00
Philippe Teuwen
e708d86306
Rework command line options
2019-04-14 12:54:37 +02:00
iceman1001
d28fac3ef0
style
2019-04-14 11:43:05 +02:00
iceman1001
dd404a67a1
Fix: USART - default speeds is lower (@ryan)
2019-04-14 11:09:31 +02:00
Philippe Teuwen
97676d3210
comparison of integers of different signs [-Wsign-compare]
2019-04-13 23:38:34 +02:00
Philippe Teuwen
5c55664fc5
use more static and fix [-Wmissing-prototypes]
2019-04-13 21:57:13 +02:00
iceman1001
4572acc1eb
cleaning out the helptext
...
mingw got some bad asciiarts
2019-04-13 13:34:02 +02:00
Philippe Teuwen
cbf81cf5c3
remove compilation warning
2019-04-02 22:43:00 +02:00
Philippe Teuwen
64ce30c06c
make style
2019-04-02 22:32:45 +02:00
Philippe Teuwen
21be6d4400
FPC: got RX working, got client over usart somehow working..., see detailed commit msg
...
* using WITH_FPC:
* activate basic usart
* no double buffer for now, no interrupt
* usart_dataavailable/usart_readbuffer/usart_writebuffer, to demo it:
* pm3 client over USB, minicom over usart
* analyse a d 414243
* using WITH_FPC_HOST:
* it implies WITH_FPC as it's based on it
* control pm3 with client over usart
* EXPERIMENTAL! still some frame desync issues
* you can connect both from usart & USB with two pm3 clients
* actually you *have* to connect USB for the moment because
it's used to send debug messages about buggy usart... See Dbprintf_usb below
* "sessions": msgs are directed to the latest client to have sent a cmd
* Dbprintf_usb macro to send msgs to USB client to help debugging usart...
* We now have an option to run client at different speed as usart is 115200:
client/proxmark3 /dev/ttyUSB0 -b 115200
* Consequently, argc,argv handling is a bit revamped, it was so messy...
* USB and flashing are still at 460800, don't try flashing over usart yet ^^
2019-04-02 22:06:10 +02: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
0d9223a547
client: fix mix of spaces & tabs
2019-03-09 23:35:06 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
Philippe Teuwen
4dfcb727af
cmds history: don't push to history if last command is replayed
2019-03-05 21:15:54 +01:00
iceman1001
ad72a424ef
chg: use calloc
2019-01-30 21:40:50 +01:00
Chris
92d89dd539
fix: readline not installed on mac by default..
2018-11-03 11:10:55 +01:00
Chris
d30454fc5a
fix: fflush(stdout), should sort out the blocking pipe problem
...
add: line length (@merlokk)
2018-11-02 18:27:42 +01:00
Chris
be57354478
chg: seems to be a free bug on macos
2018-09-09 12:36:16 +02:00
Chris
24eaac8681
CHG: the thread comms refactoring from offical pm3 repo
...
chg: FPC com speed limited to 115200 when compiled with FPC
chg: USART remake (@drandreas)
2018-09-06 21:43:20 +02:00
Chris
206ea46483
update text
2018-08-18 12:12:28 +02:00
Chris
1b0a49c8ab
chg: from offical
2018-06-17 13:07:00 +02:00
iceman1001
99d7546ca4
@micolous changes
...
CHG: - Make all examples platform-specific
CHG: - Remove ModemManager rant on non-Linux platforms
Ref: e2aa5eb47c
2018-05-06 22:43:46 +02:00
iceman1001
eb2e3ce681
chg: to debug..
2018-04-06 23:02:56 +02:00
4m4rOk
2c490063da
Fixed undeclared identifier
...
Building the client fails because the identifier "ERROR" is undeclared. Changing it to "ERR" fixes this.
2018-04-06 22:53:37 +02:00
iceman1001
2aa9372534
CHG: rename of global variable
...
CHG: adjusted outputs.
2018-04-06 09:25:34 +02:00
iceman1001
d0b3f1311e
chg: using_history? (suggestion of @pwpiwi)
2018-03-28 20:29:34 +02:00
iceman1001
4dd7c19be1
fix: causes readline to crash a lot on ubuntu
2018-03-21 08:13:07 +01:00
iceman1001
4c666e3832
add: OSX readline fixes ( @micolous )
...
0763239363
2018-03-17 14:35:34 +01:00
iceman1001
24482211ad
chg: the dot progress is not logged anymore. Force fflush afterwards.
2018-03-05 20:07:29 +01:00
iceman1001
184ab1aeab
fix: output from reconnect, seems to get stuck and not continue into cli.
2018-02-28 08:23:49 +01:00
iceman1001
a9c652bb6c
no need for formatting
2018-02-21 18:20:50 +01:00
iceman1001
a29b2328db
fix: g_debugMode - client side global debugvariable, moved to util.c
2018-02-21 15:54:13 +01:00
Brian Pow
e9185085c7
use PrintAndLogEx() instead of PrintAndLog()
2018-02-21 21:02:28 +08:00
iceman1001
e6f51451aa
chg: added the mutex lock to printing in communications thread.
2018-02-18 10:36:15 +01:00