first cut at turnon scripts for EasyTimer v2
[fw/altos] / libaltos / libaltos_private.h
index 56f6335b18fa6ef05d8ebcb859e25a492e077421..9b9b4ec40a53f9de85ccd0ed3d048bc771469bf8 100644 (file)
@@ -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 <string.h>
 
 #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_ */