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

This command writes the value for the Scan_Enable configuration parameter.

  • OGF: 0x3
  • OCF: 0x1A
  • Opcode: <<26, 12>>

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

The Scan_Enable parameter controls whether or not the BR/EDR Controller will periodically scan for page attempts and/or inquiry requests from other BR/EDR Controllers. If Page Scan is enabled, then the device will enter page scan mode based on the value of the Page_Scan_Interval and Page_Scan_Window parameters. If Inquiry Scan is enabled, then the BR/EDR Controller will enter Inquiry Scan mode based on the value of the Inquiry_Scan_Interval and Inquiry_Scan_Window parameters.

Command Parameters

  • scan_enable:
    • 0x00 - No scans enabled. Default.
    • 0x01 - Inquiry Scan enabled. Page Scan disabled.
    • 0x02 - Inquiry Scan disabled. Page Scan enabled.
    • 0x03 - Inquiry Scan enabled. Page Scan enabled.

Return Parameters

Link to this section Summary

Link to this section Functions