pub fn bt_device_ioctl(
handle: &BtDeviceHandle,
cmd: u32,
arg: u64,
) -> Result<u64, KernelError>Expand description
Perform an ioctl on the Bluetooth device node.
Supported commands:
BT_IOCTL_GET_ADAPTER_INFO: Read adapter address, name, and stateBT_IOCTL_SET_SCAN_MODE: Set inquiry/page scan modeBT_IOCTL_RESET: Reset the HCI controller