extern int call_hci_read_bd_addr_cmd(int dd,bt_address *p_address,__u16 *p_ocf_ogf);
extern int call_hci_read_local_name_cmd(int dd, void *p_name,__u16 *p_ocf_ogf);
extern int call_hci_create_connection_cmd(int dd, bt_address *p_address, __u16 *p_ocf_ogf);
+extern int call_hci_accept_conn_req_cmd(int dd, bt_address *p_address, __u16 *p_ocf_ogf);
extern int hci_open_device(int dev_id);
+extern int hci_open_device_nonblock(int dev_id);
extern int hci_send_command(int dd, hci_request *p_req);
extern int hci_send_request(int dd, hci_request *p_req,int timeout);
//extern void print_device_list(int ctl);
extern __u16 swap_2_bytes(__u16 twobytes);
extern __u8 swap8(__u8 byte1);
extern __u16 swap16(__u16 byte2);
+extern __u16 swap_2_bytes(__u16 twobytes);
//extern void bacpy(bt_address p_dest, bt_address p_source);
extern void fill_add(bt_address *addr,__u8 first, __u8 sec, __u8 third, __u8 forth, __u8 fifth, __u8 sixth);
extern void printba(bt_address *ba);