X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=libaltos%2Flibaltos_private.h;h=9b9b4ec40a53f9de85ccd0ed3d048bc771469bf8;hb=HEAD;hp=f8e5231bf26b488d901b617e385d168d8f77607a;hpb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;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_ */