Samy Kamkar
27f7537430
Revert changes except for macOS where we still delay
2021-01-21 20:36:24 -08:00
Samy Kamkar
4c50adc0eb
Error out on uart_send_single if any byte fails tx
2021-01-18 11:41:48 -08:00
Samy Kamkar
c8cf4b924e
Fix UART sleep on windows
2021-01-17 12:31:39 -08:00
Samy Kamkar
27836d7810
Add Windows support for single byte UART TX
2021-01-17 11:02:12 -08:00
Samy Kamkar
f1b6ee4c06
Add header declaration
2021-01-16 16:20:34 -08:00
Samy Kamkar
62216df450
Improve reliability of PN532 HSU
2021-01-16 12:07:52 -08:00
Samy Kamkar
8c1bf6f56f
Complete macOS + PN532 UART support
2021-01-16 11:59:46 -08:00
Samy Kamkar
9f3c859c3b
Fix PN532 UART support (8 data bits per HSU TX)
2021-01-16 11:50:41 -08:00
Samy Kamkar
20b3fddc89
Add note on getting macOS working via PN532 UART
2021-01-16 11:43:58 -08:00
Philippe Teuwen
7ebf9b92d6
Merge pull request #626 from aviallon/fix-typo-pcsc
...
Fix typo in variable name in pcsc.c
2020-11-02 13:24:33 +01:00
Antoine Viallon
3af2e14acc
Fix typo in variable name in pcsc.c
2020-11-02 12:30:59 +01:00
Adam Laurie
b5180a6a70
Merge pull request #624 from FeitianSmartcardReader/master
...
Modify code to add compatibility of readers
2020-10-24 15:28:25 +01:00
Feitian Technologies
0cd314c514
Modify code to add compatibility of readers
...
Follow the NXP Contactless card IC rules to be compatible with Feitian new and old R502 reader.
2020-10-20 14:29:15 +08:00
Philippe Teuwen
c3f739dea3
Merge pull request #622 from timgates42/bugfix_typo_mechanism
...
docs: fix simple typo, mecanism -> mechanism
2020-10-11 16:33:51 +02:00
Tim Gates
126cf9c1be
docs: fix simple typo, mecanism -> mechanism
...
There is a small typo in contrib/win32/libnfc/buses/uart.c, libnfc/drivers/acr122_usb.c, libnfc/drivers/acr122s.c, libnfc/drivers/arygon.c, libnfc/drivers/pn532_uart.c, libnfc/drivers/pn53x_usb.c.
Should read `mechanism` rather than `mecanism`.
2020-10-11 07:43:16 +11:00
Philippe Teuwen
d9a04a54ff
document RC_FILE_TYPE
2020-07-11 15:12:57 +02:00
Philippe Teuwen
cc4311acab
Merge pull request #611 from gelotus/msvc
...
windows compiling with native tools and clang, macos catalina compiling, added travis ci build tests
2020-07-11 15:12:13 +02:00
Unknown
e37d24e691
Merge branch 'msvc2' into msvc
2020-07-08 13:38:46 +02:00
Unknown
1077228fbd
style
2020-07-08 13:26:45 +02:00
Unknown
5c09dc180a
forget to add linux clang cmake
2020-07-08 13:24:26 +02:00
Unknown
d5fcd08d41
remove unused packages
2020-07-08 13:14:13 +02:00
Unknown
f56bbabf6c
easy reading condition
2020-07-08 13:06:45 +02:00
Unknown
9cece8b55d
add cr
2020-07-08 13:06:03 +02:00
Unknown
7ad18a2120
some cleanings
2020-07-07 19:41:07 +02:00
WangYi
e21fab3685
Example and util compile fine.
2020-07-05 00:55:23 +02:00
WangYi
82f23c411d
Make it compile under MSVC2017.
2020-07-05 00:54:54 +02:00
Adam Laurie
66d3560608
Merge pull request #609 from gelotus/fix-4k
...
Fix 4k - [@gelotus]
(we can re-introduce support for other card types later as long as we adhere to the principal that we don't write unless requested to)
2020-07-04 18:20:34 +01:00
Philippe Teuwen
fc51c8662b
Merge pull request #610 from iceman1001/master
...
chg: make version printing obey verbose flag
2020-07-01 21:48:47 +02:00
iceman1001
db081ed12d
chg: make version printing obey verbose flag
2020-07-01 21:28:02 +02:00
Unknown
6fb61d3c1e
error handling
2020-06-30 17:19:24 +02:00
Unknown
f2677da74c
too many different clone tags, let the user to chose action
...
too many different clone tags, let the user to chose action
2020-06-30 16:18:47 +02:00
Unknown
0bf4cec661
remove direct write check
2020-06-30 14:52:07 +02:00
Adam Laurie
0de55961c4
Merge pull request #608 from gelotus/nfc-mfclassic
...
Improve support for gen2 and gen3 tags
thanks @gelotus
2020-06-28 14:20:32 +01:00
Unknown
c8fcaea8ab
no need to differentiate routines
2020-06-27 16:17:15 +02:00
Unknown
6921e57fb8
correct typo
2020-06-27 13:33:04 +02:00
Unknown
01bc5693d9
another hardcode value
2020-06-26 19:08:04 +02:00
Unknown
db957aabdf
adds write condition check in unlock_card()
2020-06-26 18:29:01 +02:00
Unknown
f7b9b0eafa
remove unused stuff for block 0 writing
2020-06-26 13:36:18 +02:00
Unknown
709ef8381f
reinit for retrieving new uid after block 0 write
2020-06-26 13:34:50 +02:00
Unknown
3c55b8746b
swap 0 block write and other blocks write
...
when writing to gen2 and possible on gen3, it writes first block 3 wich is the trailing sector before writing to block 0, so the last write to block 0 fails because authenticate to old keyset
2020-06-26 01:50:11 +02:00
Unknown
02f0f6b290
add verbose case
...
add verbose case
2020-06-26 01:28:57 +02:00
Unknown
7a5e654309
hardcoded values
2020-06-25 23:56:38 +02:00
Unknown
2b21d87e8e
add gen2 desc to help
...
add gen2 desc to help
2020-06-25 23:45:17 +02:00
Unknown
4e922e8194
sends lib log to /dev/null in posix and added option (v) to reactivate
...
There in an error handling and messaging inside
2020-06-25 23:32:03 +02:00
Unknown
3f4b7a037a
add rewrite support for gen2 tags with W command
...
add rewrite support for gen2 tags with W command
2020-06-25 23:10:06 +02:00
Unknown
dd96571f88
no need to loop, only one block
2020-06-25 19:49:04 +02:00
Unknown
5a87f1f3db
Splitting block 0 writing and other block writing, not needed anymore
2020-06-25 19:29:38 +02:00
Adam Laurie
7b6ff73c4b
only test DirectWrite write if we need to. only write block 0 if specifically requested to.
2020-06-25 17:45:20 +02:00
Adam Laurie
e560689f60
restore original block count logic and add debuggers for block0
2020-06-25 17:44:20 +02:00
Adam Laurie
a28a537610
partial fix of nfc-mfclassic which only writes first sector of each block and not sector 1,2,3 unles 'unlocked' write - debuggers still in!
2020-06-25 17:43:19 +02:00