Skip to content

Get Adapter Mac Address #432

@DanielHabenicht

Description

@DanielHabenicht

Feature Description

To know which adapter is selected / select the right adapter it would be great to be able to access its mac address.
As adapter_info should not be relied on.

Example:

impl Central for Adapter {
    async fn adapter_mac(&self) -> Result<BDAddr> {
        // Get actual adapter address...
        Ok(BDAddr::from("B8:27:EB:7C:51:30"))
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions