X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=libaltos%2Flibaltos_private.h;h=56f6335b18fa6ef05d8ebcb859e25a492e077421;hb=debian;hp=f8e5231bf26b488d901b617e385d168d8f77607a;hpb=c0ad087008856cfc2233b977abfc3f1dcbaccdcc;p=fw%2Faltos diff --git a/libaltos/libaltos_private.h b/libaltos/libaltos_private.h index f8e5231b..9b9b4ec4 100644 --- a/libaltos/libaltos_private.h +++ b/libaltos/libaltos_private.h @@ -25,6 +25,7 @@ #include #define BLUETOOTH_PRODUCT_TELEBT "TeleBT" +#define BT_PORT_DEFAULT 6 #define USB_BUF_SIZE 64 @@ -35,6 +36,7 @@ struct altos_file { unsigned char in_data[USB_BUF_SIZE]; int in_used; int in_read; + int busy; }; #ifdef LINUX @@ -61,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_ */