Skip to content

Bluetooth: Host: More specific printing of address type #87287

@koffes

Description

@koffes

Is your enhancement proposal related to a problem? Please describe.

No problem, but when calling

static inline int bt_addr_le_to_str(const bt_addr_le_t *addr, char *str,
size_t len)

it may only print "random".

Describe the solution you'd like

The above is fine, and correct, but it would be nice if this could also account for the address being random static or random private. It may be as simple as looking at if CONFIG_BT_PRIVACY is set or not, but that needs to be checked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementChanges/Updates/Additions to existing features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions