Commit graph

12 commits

Author SHA1 Message Date
Nonoo 9c8e356a21 Init virtual sound card, serial port and serial port TCP server only once
We init only once with the first device name we acquire, so apps using these
interfaces won't have issues with the interface going down while the app is
running.
2020-10-28 22:32:45 +01:00
Nonoo afa48dc7a0 Fix virtual serial port 2020-10-27 17:27:39 +01:00
Nonoo d2efa14e9c Move log into the main package 2020-10-26 09:09:30 +01:00
Nonoo f996301830 Add platform specific build tags 2020-10-25 21:25:38 +01:00
Nonoo 5a39c66f7e Simplify serial port write 2020-10-25 14:15:52 +01:00
Nonoo a45f07cd61 Set raw termios on the serial port 2020-10-25 12:55:53 +01:00
Nonoo a02edcc247 Move frame length constant 2020-10-25 12:55:41 +01:00
Nonoo f22f1b1ed4 Set max. serial frame length 2020-10-25 11:59:46 +01:00
Nonoo f79d23f755 Add support for restarting the whole process on failure 2020-10-23 14:00:59 +02:00
Nonoo 72b52d1b23 Don't report error on exit 2020-10-21 13:59:56 +02:00
Nonoo 0a4aaefa4e Implement serial port read/write loops 2020-10-21 09:37:26 +02:00
Nonoo f2edd1a106 Move platform specific stuff to separate files 2020-10-21 09:26:21 +02:00