Philippe Teuwen
3412e9d8c5
Capabilities versionning, would also detect platform struct pack issues
2019-05-10 19:00:18 +02:00
Uli Heilmeier
0119e13ff3
client/comms.c: fix buffer overflow
...
Don't copy more bytes into pm3_capabilities as its size.
Fix : RfidResearchGroup/proxmark3#189
2019-05-10 14:50:09 +02:00
Philippe Teuwen
2c10482279
all LF sim: client waits till button pressed
2019-05-09 00:08:59 +02:00
Philippe Teuwen
4fd520c6d4
Introduce SendCommandBL
2019-05-08 13:31:58 +02:00
Philippe Teuwen
c190ac0955
Hide conn error when hw reset, as suggested by @iceman
2019-05-08 11:14:29 +02:00
Philippe Teuwen
68e5b3c355
style
2019-05-08 01:35:51 +02:00
Philippe Teuwen
f49d7e6d39
remove SendCommand
2019-05-08 01:32:32 +02:00
Philippe Teuwen
02ea378e38
Wow, two improbable bugs were cancelling each other
2019-05-08 00:02:08 +02:00
Philippe Teuwen
2f1061f95b
rework ping
2019-05-07 23:35:09 +02:00
Philippe Teuwen
532dbf28a1
let OpenPm be responsible of setting session.pm3_present
2019-05-07 20:37:23 +02:00
iceman1001
cb991b4d2c
make sure CloseProxmark sets pm3_present.
2019-05-07 17:31:07 +02:00
iceman1001
7eb7685559
cleaning up, simplify
2019-05-07 15:57:22 +02:00
iceman1001
f2a954b422
chg: save serial port name as copy.
2019-05-07 15:40:01 +02:00
iceman1001
f60977695a
cleaning up
2019-05-07 14:41:20 +02:00
Philippe Teuwen
de54d35d5f
unplug detection
2019-05-07 12:11:36 +02:00
iceman1001
fb7445a027
chg: 'hw connect' - make port optional. Reused previous serial port
2019-05-07 11:42:36 +02:00
Philippe Teuwen
ec5876ba35
Linux: Detect soon when pm3 is unplugged
2019-05-06 23:25:01 +02:00
iceman1001
29a160c905
reconnect version2 yolo
2019-05-06 22:41:00 +02:00
iceman1001
cffd14a96b
chg: reconnect to a disconnected proxmark3 device without restarting the client. Old functionality restored :)
...
chg: renamed thread
chg: easier if-statements for USART
2019-05-06 14:11:23 +02:00
Philippe Teuwen
eb7aa033ff
Add fast mode support for RX NG frames
2019-05-05 22:34:22 +02:00
Philippe Teuwen
65bd945b54
style
2019-05-05 22:04:35 +02:00
Philippe Teuwen
6b5a0f8319
Rename and unguard CMD_DOWNLOAD_RAW_ADC_SAMPLES_125K ans it's used more generally than LF
2019-05-04 23:56:59 +02:00
Philippe Teuwen
3176684f4a
Add usart dev cmds & dynamic flash support capability
2019-05-03 22:30:17 +02:00
iceman1001
8e2d5370f9
fix: seems the mutex messed up on ubuntu but there it works without.
2019-05-03 21:58:47 +02:00
iceman1001
a49ae2d0ce
FIX: slow reconfigure on mingw of serial port
2019-05-03 21:33:00 +02:00
iceman1001
ed1950a0f5
fix: cross thread communictions of timeout variable
2019-05-03 17:53:32 +02:00
Philippe Teuwen
4f11ef048f
style
2019-05-01 01:38:52 +02:00
Philippe Teuwen
820a6d99a9
better offline mode
2019-04-30 23:52:40 +02:00
iceman1001
f8f39d6196
fix: passing a struct.
2019-04-30 22:03:20 +02:00
Philippe Teuwen
63cd4a9fbb
Merge branch 'better_color_handling'
...
* better_color_handling:
Remove cmd_debug from flasher, we've COMMS_DEBUG_RAW if needed
Use PrintAndLogEx in flasher
Simplify color & banner logic
Smart color handling:
2019-04-30 21:37:19 +02:00
Philippe Teuwen
27f7057961
Rename few USB -> PM3 to avoid misleading interpretations
2019-04-30 21:10:11 +02:00
Philippe Teuwen
5c9c38ff71
Use PrintAndLogEx in flasher
2019-04-30 20:19:29 +02:00
iceman1001
cddc25994c
fix: by reference
2019-04-30 16:16:17 +02:00
Philippe Teuwen
0a4b90ac20
Simplify color & banner logic
2019-04-30 13:02:27 +02:00
iceman1001
e1063e2836
chg: reconfigure uart timeouts when compiled for FPC and connecting over USB.
2019-04-30 12:57:44 +02:00
Philippe Teuwen
a91d0a7b19
Smart color handling:
...
* if on Windows, no color, as usual
* if on Linux, color only on real term
* no color when > foo
* no color in the logfile
2019-04-30 00:41:52 +02:00
Philippe Teuwen
f4d62eec09
Fix COMMS_DEBUG_RAW
2019-04-29 23:02:49 +02:00
Philippe Teuwen
32a512b13e
Support break_after_ACK for MIX frames
2019-04-29 22:39:18 +02:00
Philippe Teuwen
ac9f3b29f6
better COMMS_DEBUG_RAW
2019-04-29 22:38:54 +02:00
Philippe Teuwen
fc6be9fea4
Define USB_CMD_DATA_SIZE_MIX
2019-04-29 22:38:26 +02:00
Philippe Teuwen
5e8fc73527
Debug hexdumps of comm
2019-04-29 01:20:03 +02:00
iceman1001
9779868753
style
2019-04-28 11:09:46 +02:00
iceman1001
c5c364d994
fix: compilation on mingw
2019-04-27 11:57:11 +02:00
Philippe Teuwen
e2e0b704c5
Several changes in the initial connection, see details:
...
* TestProxmark uses pingng
* New command CMD_CAPABILITIES to transmit capabilities from pm3 to host
* Use TestProxmark to retrieve capabilities with that new command
* CloseProxmark if TestProxmark fails
* Hide baudrate for USB and retrieve real baudrate from pm3 for BT
2019-04-27 02:46:20 +02:00
Philippe Teuwen
7d1161d7d8
First packet is in TestProxmark, not pm3_version
2019-04-27 01:16:43 +02:00
Philippe Teuwen
12937884f6
move uart_speed to conn struct and display baudrate only for real UART
2019-04-27 01:15:52 +02:00
Philippe Teuwen
3b6a249646
move global connection flags to cnn struct
2019-04-26 23:16:24 +02:00
Philippe Teuwen
01b31c742b
Use block_after_ACK in flashmem too
2019-04-26 13:53:11 +02:00
Philippe Teuwen
b12be75a5b
Remove block_after_ACK mechanism on NG frames, flashing uses OLD and NG won't use ACK anymore
2019-04-26 12:02:34 +02:00
Philippe Teuwen
a14b3d8b87
Merge branch 'master' into experimental_varlen
...
* master:
missing bracket
text
CHG: remove WITH_EMV since its not used at all.
2019-04-26 10:54:12 +02:00