Commit: cb85f71b0dfd508947d3756626cd1d44add38884
Parent: e6f2ce8a05a76538cadc8e7477f400fce03d095a
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-08-26 01:10:42
Tree: 425d7068f20354f0aa6021bb93074a2831005793

gatt: Do not always attempt to connect EATT immediately Wait the bt_gatt_client becomes ready (has performed service discovery) before attempting to connect EATT when acting as peripheral/acceptor since the central/initiator might actually attempt to connect EATT channels in the same way which can potentially cause a collisions.

Diffstat

M src/device.c | 7 +++++++
M src/gatt-client.c | 74 ++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/gatt-client.h | 1 +

3 files changed, 44 insertions(+), 38 deletions(-)

View Full Diff | Patch