Linux test program

I’ve made some first steps to a linux velbus interface. Just wanted to share, maybe usefull to someone.
Little note, don’t expect it to be that structured code since I’m not used to program in C.


at the moment I use an usb interface (vmb1usb) wich in my system is recognized as /dev/ttyACM0, this is the default interface in the program, an other interface can be given at the command prompt (ex ./velbus /dev/ttyS0)
compiled with gcc (gcc -o velbus velbus.c).
remark: when using the usb interface, you 've to let the system know what the default baud rate is otherwise it will not work (command:stty -F /dev/ttyACM0 9600 )

Very interesting project