BlueHeron.HCI.Command.ControllerAndBaseband.SetEventMask (blue_heron v0.4.1) View Source

Reset the baseband

  • OGF: 0x3
  • OCF: 0x1
  • Opcode: <<1, 12>>

Bluetooth Spec v5.2, Vol 4, Part E, section 7.3.1

The HCI_Set_Event_Mask command is used to control which events are generated by the HCI for the Host. If the bit in the Event_Mask is set to a one, then the event associated with that bit will be enabled. For an LE Controller, the “LE Meta event” bit in the event_Mask shall enable or disable all LE events in the LE Meta event (see Section 7.7.65). The event mask allows the Host to control how much it is interrupted.

The Controller shall ignore those bits which are reserved for future use or represent events which it does not support. If the Host sets any of these bits to 1, the Controller shall act as if they were set to 0.

Command Parameters

Accepts a list of event identifiers as atoms to indicate whether that event should be included in the mask.

see Bluetooth Spec v5.2, Vol 4, Part E, section 7.3.1, Command parameters

Return Parameters

Link to this section Summary

Link to this section Functions