--- /dev/null
+/*******************************************************************
+ bluetooth library
+
+ inface_bth.h - list of fce inface_bth.c and definition structurs for keeping information
+ about data queue
+
+ Copyright (C) 2006 by Petr Kovacik petr_kovacik@gmail.com
+
+ *******************************************************************/
+
+#ifndef _ID_RS232_H_
+#define _ID_RS232_H_
+
+#include <periph/sci_regs.h>
+//*************************************************************
+#define BTH_INFACE_BUF_LEN (70)
+#define BTH_INFACE_BUF_FULLTG (50)
+
+
+typedef struct{
+ __u8 *buf_beg; //start of adress structur
+ __u8 *buf_end; //end of adress structur - beg+sizeof(struct)
+ __u8 *ip; //actual position at queue
+ __u8 *op; //position first unread char of queue
+} bth_inface_que_t;
+
+
+ /* Queues */
+typedef struct bth_inface_info {
+ bth_inface_que_t bth_inface_que_in;
+ bth_inface_que_t bth_inface_que_out;
+
+ __u8 bth_inface_buf_in[BTH_INFACE_BUF_LEN];
+ __u8 bth_inface_buf_out[BTH_INFACE_BUF_LEN];
+} bth_inface_info_t;
+
+int bth_inface_sendch(int c);
+int bth_inface_bth_recch(void);
+int bth_inface_sendstr(const char *s);
+
+int bth_inface_que_out_free(int chan);
+int bth_inface_que_in_ready(int chan);
+int bth_inface_setmode(long int baud, int mode, int flowc, int chan);
+
+
+#endif /* _ID_RS232_H_ */
+
+/* Local variables: */
+/* c-basic-offset:2 */
+/* End: */