Linux-Bluetooth Archive on
 help / color / Atom feed
* LE Set Extended Scan Enable command
@ 2020-02-06 15:47 Alex Vallo
  0 siblings, 0 replies; only message in thread
From: Alex Vallo @ 2020-02-06 15:47 UTC (permalink / raw)
  To: linux-bluetooth


Does Bluez have a function hci_le_set_ext_scan_enable() similar to hci_le_set_scan_enable()?
If not, is there a particular reason why not?

hci_le_set_scan_enable(int dev_id, uint8_t enable, uint8_t filter_dup, int to);
// LE Set Scan Enable -- Bluetooth Core Spec v5.2, Vol 4, Part E, Section 7.8.11 (page 2496)
hci_send_cmd(device_handle, 0x08, 0x0C, 0x02, &param)
hci_send_cmd(device_handle, OGF_LE_CTL, OCF_LE_SET_SCAN_ENABLE, LE_SET_SCAN_ENABLE_CP_SIZE, &param)

// LE Set Extended Scan Enable -- Bluetooth Core Spec v5.2, Vol 4, Part E, Section 7.8.65 (page 2613)
hci_send_cmd(device_handle, 0x08, 0x42, 0x06, &param);

Thank you,
Alex Vallo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 15:47 LE Set Extended Scan Enable command Alex Vallo

Linux-Bluetooth Archive on

Archives are clonable:
	git clone --mirror linux-bluetooth/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bluetooth linux-bluetooth/ \
	public-inbox-index linux-bluetooth

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone