shared/gatt-db: Add timeout to read/write

System Internals / BlueZ - Luiz Augusto von Dentz [intel.com] - 12 November 2014 07:46 UTC

This adds a timeout (1 second) to attribute operations since these can cause unexpected transport disconnections if they take too long to complete.

bfbc96b shared/gatt-db: Add timeout to read/write
src/shared/gatt-db.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 61 insertions(+), 5 deletions(-)

Upstream: git.kernel.org


  • Share