mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-14 09:39:55 +00:00
added read/write num broadcast retransmissions
This commit is contained in:
parent
275f34570a
commit
12900f4689
@ -141,7 +141,7 @@ extern "C" {
|
||||
// data: event (8), len(8), channel (16)
|
||||
#define L2CAP_EVENT_CHANNEL_CLOSED 0x71
|
||||
|
||||
// data: event (8), len(8), status (8), address(48), handle (16), psm (16), local_cid(16), remote_cid (16)
|
||||
// data: event (8), len(8), address(48), handle (16), psm (16), local_cid(16), remote_cid (16)
|
||||
#define L2CAP_EVENT_INCOMING_CONNECTION 0x72
|
||||
|
||||
// data: event(8), len(8), handle(16)
|
||||
@ -281,6 +281,7 @@ 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;
|
||||
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_reject_connection_request;
|
||||
extern const hci_cmd_t hci_remote_name_request;
|
||||
extern const hci_cmd_t hci_remote_name_request_cancel;
|
||||
@ -298,6 +299,7 @@ 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;
|
||||
extern const hci_cmd_t hci_write_local_name;
|
||||
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_scan_enable;
|
||||
extern const hci_cmd_t hci_write_simple_pairing_mode;
|
||||
|
@ -299,6 +299,13 @@ const hci_cmd_t hci_write_class_of_device = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x24), "3"
|
||||
// Class of Device
|
||||
};
|
||||
const hci_cmd_t hci_read_num_broadcast_retransmissions = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x29), ""
|
||||
};
|
||||
const hci_cmd_t hci_write_num_broadcast_retransmissions = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x2a), "1"
|
||||
// Num broadcast retransmissions (e.g. 0 for a single broadcast)
|
||||
};
|
||||
const hci_cmd_t hci_host_buffer_size = {
|
||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x33), "2122"
|
||||
// Host_ACL_Data_Packet_Length:, Host_Synchronous_Data_Packet_Length:, Host_Total_Num_ACL_Data_Packets:, Host_Total_Num_Synchronous_Data_Packets:
|
||||
|
Loading…
x
Reference in New Issue
Block a user