diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-01-13 20:16:40 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-01-13 20:16:40 +0000 |
commit | 32c8a21b7da2397da204015f4bf45983226cbed9 (patch) | |
tree | 015bfb6f5d3af83427eac58cc7e9fbab69582ead /include/hci.h | |
parent | 6c2fed4529b256285e495ccdb066de331db42ff4 (diff) |
Add function for reading the RSSI and the link quality
Diffstat (limited to 'include/hci.h')
-rw-r--r-- | include/hci.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hci.h b/include/hci.h index 683c988f..54bb8849 100644 --- a/include/hci.h +++ b/include/hci.h @@ -791,13 +791,13 @@ typedef struct { } __attribute__ ((packed)) reset_failed_contact_counter_rp; #define RESET_FAILED_CONTACT_COUNTER_RP_SIZE 4 -#define OCF_GET_LINK_QUALITY 0x0003 +#define OCF_READ_LINK_QUALITY 0x0003 typedef struct { uint8_t status; uint16_t handle; uint8_t link_quality; -} __attribute__ ((packed)) get_link_quality_rp; -#define GET_LINK_QUALITY_RP_SIZE 4 +} __attribute__ ((packed)) read_link_quality_rp; +#define READ_LINK_QUALITY_RP_SIZE 4 #define OCF_READ_RSSI 0x0005 typedef struct { |