mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
Merge pull request #236 from skoperst/develop
hci: add page-scan related commands
This commit is contained in:
commit
5e71c55d29
@ -618,6 +618,12 @@ const hci_cmd_t hci_read_local_name = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x14), ""
|
||||
};
|
||||
|
||||
/**
|
||||
*/
|
||||
const hci_cmd_t hci_read_page_timeout = {
|
||||
OPCODEX(OGF_CONTROLLER_BASEBAND, 0x17), ""
|
||||
};
|
||||
|
||||
/**
|
||||
* @param page_timeout (* 0.625 ms)
|
||||
*/
|
||||
@ -625,6 +631,20 @@ const hci_cmd_t hci_write_page_timeout = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x18), "2"
|
||||
};
|
||||
|
||||
/**
|
||||
*/
|
||||
const hci_cmd_t hci_read_page_scan_activity = {
|
||||
OPCODEX(OGF_CONTROLLER_BASEBAND, 0x1B), ""
|
||||
};
|
||||
|
||||
/**
|
||||
* @param page_scan_interval (* 0.625 ms)
|
||||
* @param page_scan_window (* 0.625 ms, must be <= page_scan_interval)
|
||||
*/
|
||||
const hci_cmd_t hci_write_page_scan_activity = {
|
||||
OPCODEX(OGF_CONTROLLER_BASEBAND, 0x1C), "22"
|
||||
};
|
||||
|
||||
/**
|
||||
* @param scan_enable (no, inq, page, inq+page)
|
||||
*/
|
||||
|
@ -117,6 +117,8 @@ extern const hci_cmd_t hci_read_link_supervision_timeout;
|
||||
extern const hci_cmd_t hci_read_local_extended_ob_data;
|
||||
extern const hci_cmd_t hci_read_local_extended_oob_data;
|
||||
extern const hci_cmd_t hci_read_local_name;
|
||||
extern const hci_cmd_t hci_read_page_timeout;
|
||||
extern const hci_cmd_t hci_read_page_scan_activity;
|
||||
extern const hci_cmd_t hci_read_local_oob_data;
|
||||
extern const hci_cmd_t hci_read_local_supported_commands;
|
||||
extern const hci_cmd_t hci_read_local_supported_features;
|
||||
@ -157,6 +159,7 @@ extern const hci_cmd_t hci_write_local_name;
|
||||
extern const hci_cmd_t hci_write_loopback_mode;
|
||||
extern const hci_cmd_t hci_write_num_broadcast_retransmissions;
|
||||
extern const hci_cmd_t hci_write_page_timeout;
|
||||
extern const hci_cmd_t hci_write_page_scan_activity;
|
||||
extern const hci_cmd_t hci_write_scan_enable;
|
||||
extern const hci_cmd_t hci_write_secure_connections_test_mode;
|
||||
extern const hci_cmd_t hci_write_simple_pairing_debug_mode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user