Re: [RFC] need for new scan api for bluetooth low energy.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

> have you looked at the the Add Device management command with the 0x00 Action. That will just send out Device Found events for devices in range and uses passive scanning.
>
> In addition if you are paired with a device and actually want to connect to it, you can use Action 0x02 to allow for background connection. This is currently in use for LE HID devices.
>

This still only sends one Device Found event though right? In Jakub's
case, a mgmt event is desired to let the userspace know every time a
new advertisement packet is received, with the updated RSSI and
TxPower and so on.

I think this ties in with some of the previous conversations on the
list about adding a device scan API that is geared towards
applications (rather than OS UI). That is, not only a mgmt API that
enables these kinds of use cases but also (probably) a high-level API
exposed from bluetoothd that allows applications to scan for devices
filtered by service UUIDs, contents of the manufacturer data field,
and so on.

As for the Add Device command, does bluetoothd currently use this somehow?

Thanks,
Arman
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux