summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-10-27 22:49:49 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-10-27 22:49:49 +0000
commitdd3e8a6ab8938c4d8f62765e7c03a005807fbb64 (patch)
treee44b5f8ae367edf62c61b1846eec8d9b7ce16adc
parentc9d47fdc3cc13c9a581701001de8bfdec47002ab (diff)
Update security filter for Extended Inquiry Response (EIR)
-rw-r--r--tools/hcisecfilter.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/hcisecfilter.c b/tools/hcisecfilter.c
index 5827f143..ce0082e9 100644
--- a/tools/hcisecfilter.c
+++ b/tools/hcisecfilter.c
@@ -69,7 +69,7 @@ int main(void)
hci_set_bit(EVT_READ_REMOTE_EXT_FEATURES_COMPLETE, event_mask);
hci_set_bit(EVT_SYNC_CONN_COMPLETE, event_mask);
hci_set_bit(EVT_SYNC_CONN_CHANGED, event_mask);
- //hci_set_bit(EVT_EXTENDED_INQUIRY_RESULT, event_mask);
+ hci_set_bit(EVT_EXTENDED_INQUIRY_RESULT, event_mask);
printf("Event mask: { 0x%08x, 0x%08x }\n",
event_mask[0], event_mask[1]);
@@ -86,7 +86,7 @@ int main(void)
hci_set_bit(OCF_READ_CLOCK_OFFSET, ocf_mask);
hci_set_bit(OCF_READ_LMP_HANDLE, ocf_mask);
- printf("OGF_LINK_CTL: { 0x%08x, 0x%08x, 0x%04x, 0x%02x }\n",
+ printf("OGF_LINK_CTL: { 0x%08x, 0x%08x, 0x%06x, 0x%02x }\n",
ocf_mask[0], ocf_mask[1], ocf_mask[2], ocf_mask[3]);
/* OGF_LINK_POLICY */
@@ -95,7 +95,7 @@ int main(void)
hci_set_bit(OCF_READ_LINK_POLICY, ocf_mask);
hci_set_bit(OCF_READ_DEFAULT_LINK_POLICY, ocf_mask);
- printf("OGF_LINK_POLICY: { 0x%08x, 0x%08x, 0x%04x, 0x%02x }\n",
+ printf("OGF_LINK_POLICY: { 0x%08x, 0x%08x, 0x%06x, 0x%02x }\n",
ocf_mask[0], ocf_mask[1], ocf_mask[2], ocf_mask[3]);
/* OGF_HOST_CTL */
@@ -124,9 +124,9 @@ int main(void)
hci_set_bit(OCF_READ_INQUIRY_MODE, ocf_mask);
hci_set_bit(OCF_READ_PAGE_SCAN_TYPE, ocf_mask);
hci_set_bit(OCF_READ_AFH_MODE, ocf_mask);
- //hci_set_bit(OCF_READ_EXT_INQUIRY_RESPONSE, ocf_mask);
+ hci_set_bit(OCF_READ_EXT_INQUIRY_RESPONSE, ocf_mask);
- printf("OGF_HOST_CTL: { 0x%08x, 0x%08x, 0x%04x, 0x%02x }\n",
+ printf("OGF_HOST_CTL: { 0x%08x, 0x%08x, 0x%06x, 0x%02x }\n",
ocf_mask[0], ocf_mask[1], ocf_mask[2], ocf_mask[3]);
/* OGF_INFO_PARAM */
@@ -139,7 +139,7 @@ int main(void)
hci_set_bit(OCF_READ_COUNTRY_CODE, ocf_mask);
hci_set_bit(OCF_READ_BD_ADDR, ocf_mask);
- printf("OGF_INFO_PARAM: { 0x%08x, 0x%08x, 0x%04x, 0x%02x }\n",
+ printf("OGF_INFO_PARAM: { 0x%08x, 0x%08x, 0x%06x, 0x%02x }\n",
ocf_mask[0], ocf_mask[1], ocf_mask[2], ocf_mask[3]);
/* OGF_STATUS_PARAM */
@@ -150,7 +150,7 @@ int main(void)
hci_set_bit(OCF_READ_AFH_MAP, ocf_mask);
hci_set_bit(OCF_READ_CLOCK, ocf_mask);
- printf("OGF_STATUS_PARAM: { 0x%08x, 0x%08x, 0x%04x, 0x%02x }\n",
+ printf("OGF_STATUS_PARAM: { 0x%08x, 0x%08x, 0x%06x, 0x%02x }\n",
ocf_mask[0], ocf_mask[1], ocf_mask[2], ocf_mask[3]);
return 0;