I wrote a Serial Communication Tester with graphical interface for Linux:
Serial Com Tester
The software is free (from the viewpoint of the software, not the user).
Have fun.
Type: Posts; User: Theodoor
I wrote a Serial Communication Tester with graphical interface for Linux:
Serial Com Tester
The software is free (from the viewpoint of the software, not the user).
Have fun.
If you intend to write a GPL-licensed, opensource and multiplatform program in C or C++ and you want to use the serial port, look here:
RS-232 for Linux and Windows
With this library, you can...
I avoid those issues by applying the GPL-licence to all my software.
It uses the built-in functions. It calls the respective Linux or windows api depending to the platform in use.
The reason I posted this, is that there are always new novice-programmers which are...
If you intend to write a GPL-licensed, opensource and multiplatform program in C or C++ and you want to use a timer, look here:
Timer function code for Linux and Windows
With this library, you...
I want to remove the last n bytes from a file, no matter what the content is.
In the mean time, I found this: File Size - The GNU C Library
Problem is, truncate() is not portable. (I use GCC on...
I need to shorten a big file by removing a couple of bytes at the end of a file.
Is this possible without (temporary) copying to another file?
In other words, I want to change the filesize...
Consider this:
http://cboard.cprogramming.com/networking-device-communication/119973-rs232-serial-port-library-linux-windows.html
The problem is solved.
I made a misstake somewhere in my program.
Actually, the program that reads the file is able to see the new arrived data in the file.
Sorry for bothering.
Best regards.
Hello everybody,
This is the situation:
I have a program that is continuously writing to a file. That works fine.
I have written a program that opens the same file and reads the content at...
Hello,
Because the standard C library does not provide a non-blocking function to read the keyboard input,
I decided to modify the lowlevel standard input in order to make the function getchar()...
There is no difference with a serial port because the VCP-drivers emulates a serial port.
Except for that you have to open /dev/ttyUSB0 instead of /dev/ttyS0.
You can use this library for USB-devices as well in case your USB-device uses a FTDI-chip
for USB-connection in combination with a VCP-driver (Virtual ComPort).
Linux has this USB-VCP-driver...
Put the two files in the directory where your other C files are.
Put the following define in the headerfile of the module from
where you want to use the RS-232 functions:
#include "rs232.h"
...
If you intend to write a GPL-licensed, opensource and multiplatform program in C or C++ and you want to use the serial port, look here:
RS-232 for Linux and WIN32
With this library, you can use...