Add baud rate setting and some minor changes

This commit is contained in:
Steffen Lange 2019-04-19 14:39:18 +02:00
parent 7e8ba61b04
commit 13ffe0c2c7
10 changed files with 52 additions and 18 deletions

View file

@ -12,7 +12,7 @@
GQ Geiger Counter Communication Protocol: http://www.gqelectronicsllc.com/download/GQ-RFC1201.txt
*/
int gq_open(const char *device);
int gq_open(const char *device, speed_t baud);
void gq_close(int device);
int gq_get_cpm(int device);
bool gq_set_heartbeat_off(int device);