mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-22 15:40:16 +00:00
added hci_read_rssi command
This commit is contained in:
parent
cb00d3aa12
commit
fdf1d293a2
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user