Skip to content

Fix changing the BLE MAC address #6086

Open
@willwade

Description

@willwade

We would love to be able to change MAC address of a ble device in circuitpy. Right now it’s the last thing holding us back to rewriting alll our code in py

use case. You can see some code here of how we are doing it in c https://github.com/AceCentre/morAce/blob/572e972336961dcf111b94a6fbabcda6ba3ca1be/morAce/morAce.ino#L852

imagine you use switch access on iOS. - if you want a device to change from a system switch interface to say a switch interface for a app then changing the MAC address is the only way to do it. If you don’t (& just change name, manufacturer name, device I’d etc) iOS just refuses to see it as a different device.

Another use case. We have some code that interprets morse code to hid. But then we want a user to use the same interface to use switch scanning. Doing it this way allows this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions