This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to specify private address for nrfmesh

I want to use Non-Resolvable Private Address for nrfmesh packet. (every mesh packet is different address)

How to do?

  • Currently every mesh node has different Bluetooth address when advertising and they are random static address.

    Mesh protocol doesn't care about this address. It's only looking for packets on physical address (which is the BEARER_ACCESS_ADDR_DEFAULT = 0x8E89BED6).

    Could you let me know why you want Non-Resolvable Private Address ?

  • Could you let me know why you want Non-Resolvable Private Address ?

    For security. I do not want to be tracked mesh packets.

    Other mesh environment is use a Non-Resolvable Private Address.

    For example,

    *Zephyr bluetooth mesh and CSR proprietary mesh(CSRmesh)

  • Yes, but there isn't a big different between non-resolvable private address (except for a few requirement bits to tell the type of the address).

    But if you want to use your own defined address, you can modify set_default_advertiser_configuration() in advertiser.c to set your address.

  • Thank you.

    But I want to change BDADDR per 1block-packet(37/38/39channels).

    It seem to work that modify the advertiser_packet_alloc()/set_adv_address().(and add BDADDR type option?)

    Is there plan update?

  • Yes, it should work that way, you set to advertise with number of count =1 then change the address and advertise again. We currently don't have a plan to update the address yet.

Related