Parent: ab3ff0d2cd5aab8bde5a99cf76e4771eefa7f7a0
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-03-10 02:33:02
Tree: fc5e8757a0947d60883080b82d142dc4bdf55a26
gatt: Use DEFER_SETUP for EATT channels This makes use of DEFER_SETUP mechanism to do the following checks before accepting the connection: - Checks a valid device object exits - Checks if initiator/central as if the peripheral start connecting it may cause collisions. - Checks if the limit of allowed connections has been reached.
Diffstat
| M | src/device.c | | | 6 | +++- - - |
| M | src/device.h | | | 1 | + |
| M | src/gatt-client.c | | | 3 | ++- |
| M | src/gatt-database.c | | | 88 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - |
4 files changed, 75 insertions(+), 23 deletions(-)