|
From: Mattias A. <mat...@us...> - 2001-08-01 09:39:25
|
The following file was modified in apps/bluetooth/experimental: Name Old version New version Comment ---- ----------- ----------- ------- bt_if.h 1.17 1.18=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * added ioctl for HCIREADCOUNTRYCODE * added comment * added bt_read_country_code The diff of the modified file(s): --- bt_if.h 2001/07/30 10:18:53 1.17 +++ bt_if.h 2001/08/01 09:39:24 1.18 @@ -194,6 +194,7 @@ =20 /* Informational Parameters */ =20 +#define HCIREADCOUNTRYCODE _IOR(BT_IOC_MAGIC, 0x43, int) #define HCIREADLOCALBDADDR _IOR(BT_IOC_MAGIC, 0x45, unsigned char[6]) =20 /* Status Parameters */ @@ -242,7 +243,10 @@ =20 #define BTSENDTESTDATA _IOW(BT_IOC_MAGIC, 0xf0, int[2]) #define HCITESTCONNECTREQ _IOW(BT_IOC_MAGIC, 0xf1, unsigned char[6]) + +/* | len (1) | test string | -- used for unplug tests */ #define BTTESTCOMMAND _IOW(BT_IOC_MAGIC, 0xf2, unsigned char[261]) + #define BTSETMSSWITCH _IOW(BT_IOC_MAGIC, 0xf3, unsigned char) #define BTSETBCSPMODE _IOW(BT_IOC_MAGIC, 0xf4, unsigned char) =20 @@ -340,6 +344,8 @@ unsigned char minor_class,=20 unsigned char format); =20 +int bt_read_country_code(int bt_cfd, unsigned char *result); + void enable_dut(int bt_cfd); =20 =20 @@ -348,6 +354,7 @@ =20 /* Sets friendly name to name */ void bt_set_local_name(int bt_cfd, const unsigned char *name); + /*=20 * Misc functions=20 */ |