Commit graph

4 commits

Author SHA1 Message Date
Michael Farrell
067bfc8b76 Refactoring uart interface (#341)
* uart: Major cleanups
- Adds documentation to the uart API.
- Fixes a buffer overflow issue in `uart_receive`, where the maximum parameter was ignored.
- Splits the maximum length and bytes recieved variables in `uart_receive`.
- Downsizes the receive buffer to the minimum required, saving 16MiB of RAM at runtime.
- Refactors the POSIX and Win32 implementations of uart into separate files.
- Removes the unused `uart_{get,set}_parity` functions, which were not implemented on Win32.
2017-07-05 20:22:02 +02:00
roel@libnfc.org
62ee4fedd5 Finally figured out a way to claim a serial port interface under unix 2013-03-22 16:42:26 +00:00
roel@libnfc.org
13dbdd6bb1 (dirty) fix for linux to clean up the /dev/ttyACM* quicker 2013-03-21 10:59:56 +00:00
roel@libnfc.org
5bcc76c427 added missing files 2012-12-04 23:41:54 +00:00