-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to select between advertising packet/scan response for BT LE device name #27692
Comments
@jhedberg Currently bt_set_name would clear the rest of the Scan Response data. Should we add the option to select the advertising name in the advertising packet instead? I remember you had some opinions on this. |
@joerchan I don't have a strong opinion either way wrt |
Currently when starting legacy advertising and setting
BT_LE_ADV_OPT_USE_NAME
option, the device name is set inside the scan response if one is provided when callingbt_le_adv_start
else inside the advertising packet.So there is not user-friendly way to send the same in the advertising packet if
BT_LE_ADV_OPT_USE_NAME
and scan response are used.It would be nice to have an additional flag to select where to put the name
A workaround to achieve the desired result is to no use
BT_LE_ADV_OPT_USE_NAME
and set explicitly the device name in the advertising packetThe text was updated successfully, but these errors were encountered: