Assigning Unicast Addresss manually for each node.

I am working on a project in which i have got 100 nodes we are doing it in our custom board. so i need to assign unicast address manaully for each nodes inside it. How can it be possible to assign the address

can we do it through mesh app source code or do we need to change it in our SDK. which is a better option 

Also is the unicast address ranging from 0x0001 and 0x7FFF?

  • Hello,

    It is the network provisioner that hands out the unicast addresses for Mesh nodes, so unfortunately, it is not possible to set them in each node's application. You need a device acting as a provisioner (either a mobile phone or some other device to actually provision your 100 nodes into the network and assign them their unicast addresses. 

    Unfortunately, in the nRF Connect SDK, we don't have any samples where the nRF is acting as the provisioner. We have it in the old nRF5 SDK, so if you want the provisioner to run on an nRF, you can look into that, and this way, write an application that "automatically" will provision the 100 devices and assign them with their unicast address.

    Best regards,

    Edvin

Related