gattlib icon indicating copy to clipboard operation
gattlib copied to clipboard

Timeout

Open mweal-ed opened this issue 7 years ago • 3 comments

Add the following commands

  • gattlib_connect_timeout
  • gattlib_connect_async_timeout
  • gattlib_write_cmd_by_handle

note: these were only tested on Bluez 5

mweal-ed avatar Jul 17 '17 16:07 mweal-ed

I am happy with this patch but there is the commit 38ba174 in it which is not strictly related to it. If you remove this commit for the time being I will be happy to merge this patch.

oliviermartin avatar Jul 18 '17 07:07 oliviermartin

I believe these changes are dependent on the of the changes in PR #33 (38ba174). I will check in then next few days and see if I can pull them out as separate changes

mweal-ed avatar Jul 18 '17 13:07 mweal-ed

What is the status of these changes?

I tested with and without these changes and it looks like:

  • with the changes - connection to my device, but no data received from it.
  • without the changes - connection to my device and data received from it.

I really need gattlib_connect_timeout, as the ATMOTUBE LE device I have is slow to respond. It looks like a connection attempt first succeeds after 2-3 attempts.

Is there anything that I could do to help?

I assume that someone should look at the output of hcidump with and without the changes and compare them.

wojciiii avatar Oct 15 '17 15:10 wojciiii