|
From: Peter K. <pk...@us...> - 2002-11-19 14:11:43
|
The following files were modified in linux/include/linux/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- btcommon.h 1.97 1.98=20=20=20=20=20=20=20=20=20=20=20=20=20=20 hci.h 1.78 1.79=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added BTREADREMOTENAME ioctl to get the Bluetooth name of a remote client. The diff of the modified file(s): --- btcommon.h 27 Sep 2002 12:54:12 -0000 1.97 +++ btcommon.h 19 Nov 2002 14:11:42 -0000 1.98 @@ -1,7 +1,7 @@ /* * btcommon.h -- Contains common object structs/defines for bluetooth stack * - * Copyright (C) 2000, 2001 Axis Communications AB + * Copyright (C) 2000, 2001, 2002 Axis Communications AB * * Authors: Mattias Agren <mat...@ax...> * Mats Friden <mat...@ax...> @@ -149,6 +149,7 @@ #define BT_SDP_REQUEST _IOW(BT_IOC_MAGIC, 0x0F, bt_sdp_request) #define BT_GETCACHEDLINKKEY _IOWR(BT_IOC_MAGIC, 0x10, u8[22]) #define BTDISCONNECT_BB _IOW(BT_IOC_MAGIC, 0x11, u8[6]) +#define BTREADREMOTENAME _IOWR(BT_IOC_MAGIC, 0x12, u8[BT_NAME_LENGTH]) =20 /* Ioctls executing HCI commands */ =20 --- hci.h 8 Apr 2002 10:14:07 -0000 1.78 +++ hci.h 19 Nov 2002 14:11:43 -0000 1.79 @@ -2,7 +2,7 @@ * hci.c -- Implementation of Bluetooth Host Controller Interface following * the UART transport layer=20 * - * Copyright (C) 2000, 2001 Axis Communications AB + * Copyright (C) 2000, 2001, 2002 Axis Communications AB * * Author: Mats Friden <mat...@ax...> * @@ -188,7 +188,6 @@ s32 hci_read_num_broadcast_restransmissions(void); s32 hci_write_num_broadcast_restransmissions(u8 num_broadcast_retran); =20=20 - /* Informational Parameters */ s32 hci_read_local_bd(u8 *bd); s32 hci_read_local_version_info(s32 block); @@ -200,6 +199,7 @@ /* Internal */ /* FIXME -- add parameter to choose from different devices */ s32 get_remote_bd(int line, u8 *bd); +s32 get_remote_name(int line, u8 *name, u32 length); =20 void update_ncp(u8 nbr_of_hdl, u8 *pkt); =20 |