mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-03 20:54:18 +00:00
hci_cmd: added hci_read_inquiry_scan_activity and hci_write_inquiry_scan_activity
This commit is contained in:
parent
1375370385
commit
4eac239104
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
### Added
|
||||
GATT Client: allow to register for any notification/indication and/or any connection
|
||||
hci_cmd: added hci_read_inquiry_scan_activity and hci_write_inquiry_scan_activity
|
||||
|
||||
### Changed
|
||||
- AVRCP Target: volume in avrcp_target_volume_changed is reported as current value in interim response to register for volume change notifications
|
||||
|
@ -645,6 +645,13 @@ const hci_cmd_t hci_write_page_timeout = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x18), "2"
|
||||
};
|
||||
|
||||
/**
|
||||
* @param scan_enable (no, inq, page, inq+page)
|
||||
*/
|
||||
const hci_cmd_t hci_write_scan_enable = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x1A), "1"
|
||||
};
|
||||
|
||||
/**
|
||||
*/
|
||||
const hci_cmd_t hci_read_page_scan_activity = {
|
||||
@ -660,10 +667,17 @@ OPCODE(OGF_CONTROLLER_BASEBAND, 0x1C), "22"
|
||||
};
|
||||
|
||||
/**
|
||||
* @param scan_enable (no, inq, page, inq+page)
|
||||
*/
|
||||
const hci_cmd_t hci_write_scan_enable = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x1A), "1"
|
||||
*/
|
||||
const hci_cmd_t hci_read_inquiry_scan_activity = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x1D), ""
|
||||
};
|
||||
|
||||
/**
|
||||
* @param inquiry_scan_interval (* 0.625 ms)
|
||||
* @param inquiry_scan_window (* 0.625 ms, must be <= inquiry_scan_interval)
|
||||
*/
|
||||
const hci_cmd_t hci_write_inquiry_scan_activity = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x1E), "22"
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -112,6 +112,7 @@ extern const hci_cmd_t hci_qos_setup;
|
||||
extern const hci_cmd_t hci_read_bd_addr;
|
||||
extern const hci_cmd_t hci_read_buffer_size;
|
||||
extern const hci_cmd_t hci_read_encryption_key_size;
|
||||
extern const hci_cmd_t hci_read_inquiry_scan_activity;
|
||||
extern const hci_cmd_t hci_read_le_host_supported;
|
||||
extern const hci_cmd_t hci_read_link_policy_settings;
|
||||
extern const hci_cmd_t hci_read_link_supervision_timeout;
|
||||
@ -155,6 +156,7 @@ extern const hci_cmd_t hci_write_default_erroneous_data_reporting;
|
||||
extern const hci_cmd_t hci_write_default_link_policy_setting;
|
||||
extern const hci_cmd_t hci_write_extended_inquiry_response;
|
||||
extern const hci_cmd_t hci_write_inquiry_mode;
|
||||
extern const hci_cmd_t hci_write_inquiry_scan_activity;
|
||||
extern const hci_cmd_t hci_write_le_host_supported;
|
||||
extern const hci_cmd_t hci_write_link_policy_settings;
|
||||
extern const hci_cmd_t hci_write_link_supervision_timeout;
|
||||
@ -170,6 +172,14 @@ extern const hci_cmd_t hci_write_simple_pairing_debug_mode;
|
||||
extern const hci_cmd_t hci_write_simple_pairing_mode;
|
||||
extern const hci_cmd_t hci_write_synchronous_flow_control_enable;
|
||||
|
||||
|
||||
/**
|
||||
* @param inquiry_scan_interval (* 0.625 ms)
|
||||
* @param inquiry_scan_window (* 0.625 ms, must be <= inquiry_scan_interval)
|
||||
*/
|
||||
const hci_cmd_t hci_write_inquiry_scan_activity = {
|
||||
|
||||
|
||||
extern const hci_cmd_t hci_le_add_device_to_white_list;
|
||||
extern const hci_cmd_t hci_le_clear_white_list;
|
||||
extern const hci_cmd_t hci_le_connection_update;
|
||||
|
Loading…
x
Reference in New Issue
Block a user