X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=libaltos%2Flibaltos_private.h;h=9b9b4ec40a53f9de85ccd0ed3d048bc771469bf8;hb=9db486f6d78b8a2ae855168338e0ea7d6ee4231f;hp=56f6335b18fa6ef05d8ebcb859e25a492e077421;hpb=1594691ea88ca84634eea237ac8137a5bdc19f5c;p=fw%2Faltos diff --git a/libaltos/libaltos_private.h b/libaltos/libaltos_private.h index 56f6335b..9b9b4ec4 100644 --- a/libaltos/libaltos_private.h +++ b/libaltos/libaltos_private.h @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -24,6 +25,7 @@ #include #define BLUETOOTH_PRODUCT_TELEBT "TeleBT" +#define BT_PORT_DEFAULT 6 #define USB_BUF_SIZE 64 @@ -34,6 +36,7 @@ struct altos_file { unsigned char in_data[USB_BUF_SIZE]; int in_used; int in_read; + int busy; }; #ifdef LINUX @@ -60,4 +63,10 @@ altos_flush(struct altos_file *file); int altos_fill(struct altos_file *file, int timeout); +int +altos_bt_port(struct altos_bt_device *device); + +void +altos_pause_one_second(void); + #endif /* _LIBALTOS_PRIVATE_H_ */