Harald.HCI.Commands.ControllerAndBaseband.SetEventMask (harald v0.3.0) View Source

Reference: version 5.2, Vol 4, Part E, 7.3.1.

Link to this section Summary

Functions

Return a map ready for encoding.

Link to this section Types

Specs

t() :: %{
  event_mask: %{
    inquiry_complete_event: Harald.HCI.flag(),
    inquiry_result_event: Harald.HCI.flag(),
    connection_complete_event: Harald.HCI.flag(),
    connection_request_event: Harald.HCI.flag(),
    disconnection_complete_event: Harald.HCI.flag(),
    authentication_complete_event: Harald.HCI.flag(),
    remote_name_request_complete_event: Harald.HCI.flag(),
    encryption_change_event: Harald.HCI.flag(),
    change_connection_link_key_complete_event: Harald.HCI.flag(),
    mast_link_key_complete_event: Harald.HCI.flag(),
    read_remote_supported_features_complete_event: Harald.HCI.flag(),
    read_remote_version_information_complete_event: Harald.HCI.flag(),
    qos_setup_complete_event: Harald.HCI.flag(),
    hardware_error_event: Harald.HCI.flag(),
    flush_occurred_event: Harald.HCI.flag(),
    role_change_event: Harald.HCI.flag(),
    mode_change_event: Harald.HCI.flag(),
    return_link_keys_event: Harald.HCI.flag(),
    pin_code_request_event: Harald.HCI.flag(),
    link_key_request_event: Harald.HCI.flag(),
    link_key_notification_event: Harald.HCI.flag(),
    loopback_command_event: Harald.HCI.flag(),
    data_buffer_overflow_event: Harald.HCI.flag(),
    max_slots_change_event: Harald.HCI.flag(),
    read_clock_offset_complete_event: Harald.HCI.flag(),
    connection_packet_type_changed_event: Harald.HCI.flag(),
    qos_violation_event: Harald.HCI.flag(),
    page_scan_mode_change_event: Harald.HCI.flag(),
    page_scan_repition_mode_change_event: Harald.HCI.flag(),
    flow_specification_complete_event: Harald.HCI.flag(),
    inquiry_result_with_rssi_event: Harald.HCI.flag(),
    read_remote_extended_features_complete_event: Harald.HCI.flag(),
    synchronous_connection_complete_event: Harald.HCI.flag(),
    synchronous_connection_changed_event: Harald.HCI.flag(),
    sniff_subrating_event: Harald.HCI.flag(),
    extended_inquiry_result_event: Harald.HCI.flag(),
    encryption_key_refresh_complete_event: Harald.HCI.flag(),
    io_capability_request_event: Harald.HCI.flag(),
    io_capability_response_event: Harald.HCI.flag(),
    user_confirmation_request_event: Harald.HCI.flag(),
    user_passkey_request_event: Harald.HCI.flag(),
    remote_oob_data_request_event: Harald.HCI.flag(),
    simple_pairing_complete_event: Harald.HCI.flag(),
    link_supervision_timeout_changed_event: Harald.HCI.flag(),
    enhanced_flush_complete_event: Harald.HCI.flag(),
    user_passkey_notification_event: Harald.HCI.flag(),
    keypress_notification_event: Harald.HCI.flag(),
    remote_host_supported_features_notification_event: Harald.HCI.flag(),
    le_meta_event: Harald.HCI.flag(),
    reserved_map: Harald.HCI.reserved_map()
  }
}

Link to this section Functions

Return a map ready for encoding.

Keys under :event_mask will be defaulted if not supplied.

Options

encoded - boolean(). false. Whether the return value is encoded or not. :default - boolean(). false. The default value for unspecified fields under the :event_mask field.