Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 62a595e9 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

gatt: Extend dumpsys information

With this patch  we are adding gatt state history along with information
on the gatt if holders.
This will help to debug which applications are keeping ACL connects.

e.g. logs:

stack::gatt    last 78 tcb state transitions:
stack::gatt    2024-08-09 14:51:21.415 xx:xx:xx:xx:9d:0b, BT_TRANSPORT_LE, state: GATT_CH_OPEN, No ACL holders
stack::gatt    2024-08-09 14:51:21.419 xx:xx:xx:xx:9d:0b, BT_TRANSPORT_LE, state: GATT_CH_OPEN, ACL holders gatt_if:13,
stack::gatt    2024-08-09 15:00:45.024 xx:xx:xx:xx:9d:0b, BT_TRANSPORT_LE, state: GATT_CH_CLOSE, ACL holders gatt_if:13,
stack::gatt    2024-08-09 15:00:53.335 xx:xx:xx:xx:13:0d, BT_TRANSPORT_LE, state: GATT_CH_OPEN, No ACL holders
stack::gatt    2024-08-09 15:00:53.341 xx:xx:xx:xx:13:0d, BT_TRANSPORT_LE, state: GATT_CH_OPEN, ACL holders gatt_if:12,
stack::gatt    2024-08-09 15:00:54.314 xx:xx:xx:xx:13:0d, BT_TRANSPORT_LE, state: GATT_CH_CLOSE, ACL holders gatt_if:12,

Also some additional logs are added to logcat on the same matter

Bug: 331775328
Test: mmm packages/modules/Bluetooth
Flag: EXEMPT, logging only code
Change-Id: I13aaa33a56a3a54c095ff292fa671740372251d1
parent be578012
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment