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

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

Link to this section Summary

Functions

Return a map ready for encoding.

Link to this section Types

Specs

t() :: %{
  le_event_mask: %{
    le_connection_complete_event: Harald.HCI.flag(),
    le_advertising_report_event: Harald.HCI.flag(),
    le_connection_update_complete_event: Harald.HCI.flag(),
    le_read_remote_features_complete_event: Harald.HCI.flag(),
    le_long_term_key_request_event: Harald.HCI.flag(),
    le_remote_connection_parameter_request_event: Harald.HCI.flag(),
    le_data_length_change_event: Harald.HCI.flag(),
    le_read_local_p256_public_key_complete_event: Harald.HCI.flag(),
    le_generate_dhkey_complete_event: Harald.HCI.flag(),
    le_enhanced_connection_complete_event: Harald.HCI.flag(),
    le_directed_advertising_report_event: Harald.HCI.flag(),
    le_phy_update_complete_event: Harald.HCI.flag(),
    le_extended_advertising_report_event: Harald.HCI.flag(),
    le_periodic_advertising_sync_established_event: Harald.HCI.flag(),
    le_periodic_advertising_report_event: Harald.HCI.flag(),
    le_periodic_advertising_sync_lost_event: Harald.HCI.flag(),
    le_scan_timeout_event: Harald.HCI.flag(),
    le_advertising_set_terminated_event: Harald.HCI.flag(),
    le_scan_request_received_event: Harald.HCI.flag(),
    le_channel_selection_algorithm_event: Harald.HCI.flag(),
    le_connectionless_iq_report_event: Harald.HCI.flag(),
    le_connection_iq_report_event: Harald.HCI.flag(),
    le_cte_request_failed_event: Harald.HCI.flag(),
    le_periodic_advertising_sync_transfer_received_event: Harald.HCI.flag(),
    le_cis_established_event: Harald.HCI.flag(),
    le_cis_request_event: Harald.HCI.flag(),
    le_create_big_complete_event: Harald.HCI.flag(),
    le_terminate_big_complete_event: Harald.HCI.flag(),
    le_big_sync_established_event: Harald.HCI.flag(),
    le_big_sync_lost_event: Harald.HCI.flag(),
    le_request_peer_sca_complete_event: Harald.HCI.flag(),
    le_path_loss_threshold_event: Harald.HCI.flag(),
    le_transmit_power_reporting_event: Harald.HCI.flag(),
    le_biginfo_advertising_report_event: Harald.HCI.flag(),
    reserved: Harald.HCI.reserved()
  }
}

Link to this section Functions

Return a map ready for encoding.

Keys under :le_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 :le_event_mask field.