gaqgateway.blogg.se

Free basic serial port programming in c
Free basic serial port programming in c











added the prefix "RS232_" to all functions in order to prevent clashes with other libraries added the function RS232_IsDCDEnabled() Fixed a bug that made it impossible to read from the serial port on Linux 64-bit systems. Fixed a bug that could set wrong baudrates on Linux systems (POSIX instead of BSD style). Changed function RS232_OpenComport(), from now on, an extra argument is required to set the mode. Added the possibility to set the mode (databits, parity and stopbits). Fixed a bug that affected the parity settings. Check if the serial port is already opened by another process, before trying to open it. added the functions: RS232_flushRX(), RS232_flushTX() and RS232_flushRXTX().

Free basic serial port programming in c

always unlock the device in case of an error. Bugfix: RS232_SendBuf() did not return the number of bytes on Linux. extended comport range to COM32 for windows added function to check for status of "RING" Added support for hardware flow control using RTS and CTS lines.

Free basic serial port programming in c

This is free software, it is experimental and available under the GPL License version 3.ĭespite this software is intend to be usefull, there is no warranty, use this software at your own risk.Īdded functions RS232_enableBREAK() and RS232_disableBREAK(). No serial port available on your computer? Use a USB to RS232 cable. It uses polling to receive characters from the serial port. It has been tested with GCC on Linux and Mingw-w64 on Windows. Here you can find code to use the serial port. EDFbrowser EDFlib for C/C++ EDFlib for Java EDFlib for Python EDF resampler EDF de-identifier EDF+D to EDF+C converter EDF test file generator EDF for Labview RS-232 DSRemote Serial Com Tester Eagle to KiCad converter Timer library













Free basic serial port programming in c