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

Skip to content
Commit db2190a5 authored by Michael Sun's avatar Michael Sun
Browse files

floss: metrics: convert device type into BlueZ compatible type

When reporting device type for paring/bonding state changes, BlueZ uses
connection types (LE v.s., BREDR) instead of device type
(LE, BREDR, DUAL). Update the Floss metrics to use the same
conventions.

However, minimal information is available regarding the paring/bonding
over which connection type at the Floss. Even the bond initiator can
use the "auto" type without specifying LE v.s., BREDR. So the type
matching is through best effort. A previously recorded connection type
will apply to the following metrics event, and an "auto" connection or
DUAL type device will be categorized as  UNKNOWN before submission.

BUG: 240781725
Tag: #floss
Test: emerge-${BOARD} floss
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I9063ed5039d671d3ad8c79a0167eb180edac4367
parent 4d93a6bd
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