Skip to content

If BT advertising data includes a local name, use that for device #20

@frankleonrose

Description

@frankleonrose

peripheral.name uses the GAP name. This can get out of sync from the device name assigned within the MapTheThings Arduino code. The intended node name is in the kCBAdvDataLocalName key of the advertised data, if available.

We saw a case where after DFU firmware update, the GAP name of a node was cached on a phone as "DfuTarg". The correct name was broadcast as kCBAdvDataLocalName, but was not used by app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions