added hci_sniff_mode

This commit is contained in:
matthias.ringwald 2011-06-20 18:15:49 +00:00
parent b3f1f84df3
commit be93454b1f
2 changed files with 5 additions and 0 deletions

View File

@ -274,6 +274,7 @@ extern const hci_cmd_t hci_reset;
extern const hci_cmd_t hci_role_discovery; extern const hci_cmd_t hci_role_discovery;
extern const hci_cmd_t hci_set_event_mask; extern const hci_cmd_t hci_set_event_mask;
extern const hci_cmd_t hci_set_connection_encryption; extern const hci_cmd_t hci_set_connection_encryption;
extern const hci_cmd_t hci_sniff_mode;
extern const hci_cmd_t hci_switch_role_command; extern const hci_cmd_t hci_switch_role_command;
extern const hci_cmd_t hci_write_authentication_enable; extern const hci_cmd_t hci_write_authentication_enable;
extern const hci_cmd_t hci_write_class_of_device; extern const hci_cmd_t hci_write_class_of_device;

View File

@ -228,6 +228,10 @@ OPCODE(OGF_LINK_CONTROL, 0x1A), "B"
/** /**
* Link Policy Commands * Link Policy Commands
*/ */
const hci_cmd_t hci_sniff_mode = {
OPCODE(OGF_LINK_POLICY, 0x03), "H2222"
// handle, Sniff_Max_Interval, Sniff_Min_Interval, Sniff_Attempt, Sniff_Timeout:
};
const hci_cmd_t hci_qos_setup = { const hci_cmd_t hci_qos_setup = {
OPCODE(OGF_LINK_POLICY, 0x07), "H114444" OPCODE(OGF_LINK_POLICY, 0x07), "H114444"
// handle, flags, service_type, token rate (bytes/s), peak bandwith (bytes/s), // handle, flags, service_type, token rate (bytes/s), peak bandwith (bytes/s),