From: Peter K. <pk...@us...> - 2001-09-10 10:16:22
|
The following files were modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bluetooth.h 1.44 1.45=20=20=20=20=20=20=20=20=20=20=20=20 btcommon.h 1.82 1.83=20=20=20=20=20=20=20=20=20=20=20=20 hci.h 1.67 1.68=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added BCSP DFU support. The diff of the modified file(s): --- bluetooth.h 2001/07/31 17:50:55 1.44 +++ bluetooth.h 2001/09/10 10:16:22 1.45 @@ -90,6 +90,7 @@ =20 s32 bt_initiated(void); s32 bt_use_bcsp(s32 new_use_bcsp); +s32 bt_dfu_mode(s32 new_dfu_mode); void bt_connect_cfm(u32 con_id, s32 status); s32 bt_sprint_status(u8 *buf); void bt_send_sdp_data_received(u8 line, u8 *data, int len); --- btcommon.h 2001/08/29 09:34:44 1.82 +++ btcommon.h 2001/09/10 10:16:22 1.83 @@ -209,7 +209,11 @@ =20 #define BTINITBCSP _IO(BT_IOC_MAGIC, 0xf6) =20 -#define BTSETMAXCONNECTIONS _IOW(BT_IOC_MAGIC, 0xf7, u8) +#define BT_SET_DFU_MODE _IOWR(BT_IOC_MAGIC, 0xf7, s32) +#define BT_SEND_DFU_COMMAND _IOWR(BT_IOC_MAGIC, 0xf8, u8[2048]) +#define BT_RETRIEVE_DFU_RESPONSE _IOWR(BT_IOC_MAGIC, 0xf9, u8[2048]) + +#define BTSETMAXCONNECTIONS _IOW(BT_IOC_MAGIC, 0xfa, u8) =20 /* NOTE ! * N_BT should be defined in /include/asm/termios.h=20 --- hci.h 2001/08/17 09:19:00 1.67 +++ hci.h 2001/09/10 10:16:22 1.68 @@ -107,6 +107,16 @@ void hci_receive_acl(u8 *data, s32 count); void hci_receive_hq(u8 *data, u32 count); void hci_receive_bcsp(u8 *data, u32 count); +void hci_receive_dfu(u8 *data, u32 count); + +s32 hci_read_dfu(u8* data, u32 count); + +void hci_init_dfu(void); +void hci_shutdown_dfu(void); +#endif + +#ifdef CONFIG_BLUETOOTH_CSR +s32 csr_pskey(u16 ps_key, u16 rw_mode, u16 *retb, u16 n_pars); #endif =20 s32 lp_connect_req(u8 bd_addr[]); |