diff --git a/src/hci_cmd.c b/src/hci_cmd.c index 7b3cfefdb..f27cd17a1 100644 --- a/src/hci_cmd.c +++ b/src/hci_cmd.c @@ -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) */ diff --git a/src/hci_cmd.h b/src/hci_cmd.h index 5bc7ab91f..165bf6170 100644 --- a/src/hci_cmd.h +++ b/src/hci_cmd.h @@ -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;