Setting a timeout for device_connect_le()

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

 



Hi,
is it possible to set up a timeout for `device_connect_le()`?

Here is the output from the logs that explains it more clearly:

   ../bluez-5.46/src/device.c:att_disconnected_cb() Automatic
connection disabled
   ../bluez-5.46/attrib/gattrib.c:g_attrib_unref() 0xe04c8: g_attrib_unref=0
   ../bluez-5.46/src/device.c:device_connect_le() Connection attempt
to: F5:D4:41:9C:86:B0
   #### 40+ seconds of waiting
   #### can this be timed out after 10s?
   ../bluez-5.46/src/device.c:att_connect_cb() connect error:
Connection refused (111)

Is it possible to enforce a fixed timeout for this?

Be Well,
Alan
--
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