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

Skip to content
Commit 614408f7 authored by Ying Hsu's avatar Ying Hsu
Browse files

floss: supports local name in advertising data

We keep a pointer to the Bluetooth adapter in BluetoothGatt context,
and use it to get the adapter name while starting an advertising set.
If the a local name field is required in this advertising set,
the adapter name will be converted to either completed local name or
shortened local name field, and then appended to the advertising data.

Bug: 233128394
Tag: #floss
Test: ./buid.py --target test
Test: "adapter set-name xyz "and "advertise on" on btclient

Change-Id: I01295188dc607f22fd78229feafd070982a2ed2f
parent 45fbace7
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