Audrey Diacre
5c7454a2f7
Timeout is now integer.
2011-11-25 11:37:30 +00:00
Audrey Diacre
784a2f86a2
Change byte_t type to uint8_t (Fixes Issue 147)
2011-11-24 10:54:42 +00:00
Audrey Diacre
c718fafee7
Massive code clean up: (Fixes Issue 161)
...
- Remove typedef from internal structs
- Remove _t suffix from types
- Fix tests using connstrings
2011-11-23 15:55:40 +00:00
Romuald Conty
b2666dea15
windows port improved:
...
- PCSC headers/libs are not a requierement sif you dont select ACR122 driver
- uart_win32 implementation now handles timeouts
2011-10-01 14:50:53 +00:00
Romuald Conty
5ecf382dfc
windows: Oups... timeout is a pointer...
2011-10-01 09:59:27 +00:00
Romuald Conty
afd015f1b7
Attempt to provide a Windows implementation of timeouts handling in UART
2011-09-30 14:02:51 +00:00
Romuald Conty
f6b582cf2b
windows: Remove DGB/WARN/ERROR obsolete macros usage.
2011-09-21 06:54:53 +00:00
Romuald Conty
eb70f3842e
Error handling improvement:
...
- Attempt to sort errors depending their source
- Rename DE* errors to differenciate Device-Error and Driver-Error
- Add ENOTIMPL error to raise a error when a feature is not (yet) implemented in libnfc
2011-06-27 16:31:10 +00:00
Romuald Conty
c40319c7b4
Windows: implement automatic uart port detection and input flush (Thanks to Edwin Evans)
2011-06-16 11:50:39 +00:00
Romuald Conty
917717c4ca
drivers: UART based drivers could now use uart_flush_input() to discard junk bytes on input.
2011-05-25 10:31:19 +00:00
Romuald Conty
2e630f7e0f
windows port: fix uart_receive() under Win32 platform
2011-05-10 17:02:33 +00:00
Romuald Conty
7bb4f4597d
windows port: implement abort mecanism in pn532_uart driver (Based on provided patch: many thanks to Edwin Evans)
2011-05-10 13:26:57 +00:00
Romuald Conty
921d28d976
Attempt to provide an abort mecanism for windows users...
2011-05-09 11:14:43 +00:00
Romuald Conty
5db8be908b
Windows support contribution:
...
- Move CMake modules from cmake_modules/ to cmake/modules/
- CMake now use cmake/config_windows.h.cmake to create config.h on Windows platform
- contrib/windows.h header is automagically included by config.h
- Put missing NFC_EXPORT macro on front of emulation API
- nfc-mfclassic and nfc-mfcultralight examples are now compiled under Windows
Many thanks to Glenn Ergeerts which provide the initial patch.
2011-03-31 13:38:49 +00:00
Romuald Conty
8ed870d886
windows: implement a dynamicly construct list of serial ports (Thanks to Edwin Evans)
2011-03-30 14:19:53 +00:00
Romuald Conty
544030099e
Make libnfc compile under Windows
...
Apply adapted patch from Glenn (Thanks!)
2011-03-09 09:41:40 +00:00
Romuald Conty
835823809f
Split UART implementations: POSIX and Windows
...
It could ease to port to other system like MiKey and it should be easy to track which is the concerned OS while uart driver is modified.
2010-11-17 08:48:03 +00:00