Skip to content

bluetooth: GAP Device Name and Apperance write callbacks #93723

@rkel

Description

@rkel

Is your feature request related to a problem? Please describe.

Zephyr Bluetooth stack supports GAP Name and Appearance to be writable. Currently this parameters can be changed without any possibility for the application to know about the change. Application may want to update advertising data when this happen or do anything else (like update the displayed name).

Describe the solution you'd like

Implementation similar to bt_conn_cb with its BT_CONN_CB_DEFINE macro. Lets add BT_CONN_GAP_CB_DEFINE that would hold name_updated_cb and appearance_updated_cb.

Describe alternatives you've considered

Would it make more sense to add the callbacks to bt_conn_cb?

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions