summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-11 14:37:24 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-11 14:37:24 +0000
commit2b77e2e8198e16cae6d1411c4ec65bf87d6c4dd7 (patch)
tree0b64987dd0f89eddbde09eae13b898e346771ace /include
parent973c22b7aa5ba83bef47f2f523551ac81fb10fcb (diff)
Add inquiry info structure with RSSI and page scan mode
Diffstat (limited to 'include')
-rw-r--r--include/hci.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index 7311e169..3368121d 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -1039,6 +1039,16 @@ typedef struct {
int8_t rssi;
} __attribute__ ((packed)) inquiry_info_with_rssi;
#define INQUIRY_INFO_WITH_RSSI_SIZE 14
+typedef struct {
+ bdaddr_t bdaddr;
+ uint8_t pscan_rep_mode;
+ uint8_t pscan_period_mode;
+ uint8_t pscan_mode;
+ uint8_t dev_class[3];
+ uint16_t clock_offset;
+ int8_t rssi;
+} __attribute__ ((packed)) inquiry_info_with_rssi_and_pscan_mode;
+#define INQUIRY_INFO_WITH_RSSI_AND_PSCAN_MODE_SIZE 15
#define EVT_TESTING 0xFE