summaryrefslogtreecommitdiffstats
path: root/include/hci_lib.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-01-13 20:16:40 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-01-13 20:16:40 +0000
commit32c8a21b7da2397da204015f4bf45983226cbed9 (patch)
tree015bfb6f5d3af83427eac58cc7e9fbab69582ead /include/hci_lib.h
parent6c2fed4529b256285e495ccdb066de331db42ff4 (diff)
Add function for reading the RSSI and the link quality
Diffstat (limited to 'include/hci_lib.h')
-rw-r--r--include/hci_lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hci_lib.h b/include/hci_lib.h
index 5c83b5e8..969db1f2 100644
--- a/include/hci_lib.h
+++ b/include/hci_lib.h
@@ -92,6 +92,8 @@ int hci_write_inquiry_mode(int dd, uint8_t mode, int to);
int hci_read_afh_mode(int dd, uint8_t *mode, int to);
int hci_write_afh_mode(int dd, uint8_t mode, int to);
int hci_set_afh_classification(int dd, uint8_t *map, int to);
+int hci_read_link_quality(int dd, uint16_t handle, uint8_t *link_quality, int to);
+int hci_read_rssi(int dd, uint16_t handle, int8_t *rssi, int to);
int hci_read_afh_map(int dd, uint16_t handle, uint8_t *mode, uint8_t *map, int to);
int hci_for_each_dev(int flag, int(*func)(int s, int dev_id, long arg), long arg);