Fix issue where conn info could not be found 50/303750/1
authorWootak Jung <wootak.jung@samsung.com>
Wed, 3 Jan 2024 00:11:39 +0000 (09:11 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 4 Jan 2024 08:12:15 +0000 (17:12 +0900)
commit93c93735743d032973e566b4587bed0218071892
tree2867a8187db35007b3d1c8f4dd4a571f8f1d7315
parent211ff1227086ec7bded0a76c18e560a2ad709f89
Fix issue where conn info could not be found

Branch logic is required because remote device management method is
different depending on the stack.

In the case of bluez, it is managed by remote address,
so if you distinguish it by instance ID, conn info may not be found.

In the case of bluedroid, it is managed by conn ID,
so you need to find conn info using remote address + instance ID.

Change-Id: Ieea79d1b86ff72dc3490a68fdfb50de934b4d04d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-service/services/gatt/bt-service-gatt.c