added hci_read_rssi command

This commit is contained in:
matthias.ringwald@gmail.com 2014-08-26 17:59:51 +00:00
parent cb00d3aa12
commit fdf1d293a2
3 changed files with 16 additions and 0 deletions

View File

@ -579,6 +579,7 @@ extern const hci_cmd_t hci_read_link_supervision_timeout;
extern const hci_cmd_t hci_read_local_supported_features;
extern const hci_cmd_t hci_read_num_broadcast_retransmissions;
extern const hci_cmd_t hci_read_remote_supported_features_command;
extern const hci_cmd_t hci_read_rssi;
extern const hci_cmd_t hci_reject_connection_request;
extern const hci_cmd_t hci_remote_name_request;
extern const hci_cmd_t hci_remote_name_request_cancel;

View File

@ -111,6 +111,7 @@ extern "C" {
#define OGF_LINK_POLICY 0x02
#define OGF_CONTROLLER_BASEBAND 0x03
#define OGF_INFORMATIONAL_PARAMETERS 0x04
#define OGF_STATUS_PARAMETERS 0x05
#define OGF_LE_CONTROLLER 0x08
#define OGF_BTSTACK 0x3d
#define OGF_VENDOR 0x3f

View File

@ -404,6 +404,20 @@ OPCODE(OGF_INFORMATIONAL_PARAMETERS, 0x09), ""
// no params
};
/**
* Status Paramters
*/
/**
* @param handle
*/
const hci_cmd_t hci_read_rssi = {
OPCODE(OGF_STATUS_PARAMETERS, 0x05), "H"
// no params
};
#ifdef HAVE_BLE
/**
* Low Energy Commands