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

Skip to content
Commit 7072fda7 authored by Rongxuan Liu's avatar Rongxuan Liu
Browse files

Divide long single gap data in le_advertising_manager

When host send long single entry gap data > 251 bytes, gd
advertising_manager would reject instead of dividing into fragments.
We need to support this usage as it's allowed by Spec. For
advertising/scan response data, we need to divide the data if length is 252 ~ 255 bytes.
For periodic advertising data, we need to divide if length is 253 ~ 255
bytes.

Change is under flag. Tested with
adb shell device_config put bluetooth com.android.bluetooth.flags.divide_long_single_gap_data true

NO_IFTTT=Modification was to fix missing libraries failure

Test: atest bluetooth_test_gd_unit
Test: manual test with long gap data and check air traces
Bug: 310217895
Bug: 303546333
Change-Id: I94bc4dbadb7a53b7008b2dca4659dbd489503318
parent ce428d6c
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