Hi,
Is it possible to list down all available device to my console using static provisioner code on nrf52840DK using bluetooth mesh stack?
Thanks for your valuable Time
Regards,
Eisenheim
Hi,
Is it possible to list down all available device to my console using static provisioner code on nrf52840DK using bluetooth mesh stack?
Thanks for your valuable Time
Regards,
Eisenheim
HI,
If you start with the provisioner from the light_switch examples, with some modification you can get it to list all nodes currently provisioned into the mesh network, and/or list all unprovisioned nodes that it detects. Does that answer the question?
Regards,
Terje
Now it detects the unprovisioned nodes. I want the complete list of unprovisioned nodes with names like when we use nrf mesh app as provsioner.Is it possible with current provisioner code?.
Hi,
Not without some changes to the provisioner example, no. The provisioner example first tries to find a configurable number of generic onoff clients (representing switches), provisions and configures them one by one, then does the same for a configurable number of generic onoff servers (representing lights). This means it only listens for unprovisioned nodes until it finds one of the correct type (generic onoff server or client), then provisions and configures that node before listening for unprovisioned nodes again.
Depending on your specific use case, another approach may be to use the Interactive PyACI from a PC. See e.g. Interactive mesh provisioning and configuration, where in step 3 under "Provisioning" the provisioner created in step 1 (also under "Provisioning") is used for scanning for unprovisioned nodes, which lists UUIDs and RSSI values.
Regards,
Terje