Parent: 6fc599e334cead9cbd014f7830753bc28ee5868b
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-05-02 17:29:22
Tree: 250bf7fb392f3bbd059344fabc0e1ab9167aae7b
src/shared: Make default length handle EA By default bt_ad was setting just BT_AD_MAX_DATA_LEN (31) which is not enough to handle devices advertising using EA, so this switches the default to be BT_EA_MAX_DATA_LEN (251) since EA is much more common nowadays and for those case where the it is not supported (e.g. for advertisers without EA support) then shall be using bt_ad_set_max_len to adjust the maximum length. Fixes: https://github.com/bluez/bluez/issues/832
Diffstat
| M | src/shared/ad.c | | | 2 | +- |
| M | src/shared/ad.h | | | 1 | + |
2 files changed, 2 insertions(+), 1 deletions(-)