mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-06 02:24:25 +08:00
fb97136ae1
The "Connectability" of a HID device, as defined by the HID spec, governs the way the host may and should connect to a HID device or expect a connection from it. In the comon case of mice and keyboards the HIDNormallyConnectable is FALSE and HIDReconnectInitiate is TRUE, since those devices only attempt a connection to the host when they have some data to transfer. A connection attempt initiated from the host after the device drops the connection (while still paired) will result in a Page timeout. This patch exposes a new property called "ReconnectMode" combining the those two SDP attributes as shown in the Connectability section of the HID spec (see section 5.4.2). The property can have one of the following four values: "None", "Device", "Host", "Any", and is derived from the SDP cached value on device creation even if the device is off. |
||
---|---|---|
.. | ||
alert | ||
audio | ||
cups | ||
cyclingspeed | ||
deviceinfo | ||
gatt | ||
health | ||
heartrate | ||
iap | ||
input | ||
network | ||
proximity | ||
sap | ||
scanparam | ||
thermometer | ||
time |