4 years, 9 months ago.

Set up an on-mesh commissioner for Thread Mesh Network

Hey,

I'am working with Mbed5(.12), creating Thread networks based on the "mbed-os-example-mesh-minimal" example. Setting up a Network and let other nodes join with pre-set network-credential "thread-use-static-link-config" works.

I wonder if there is the possibility to give an active router the (on-mesh) commissioner role, instead of using an external commissioner (e.g. an App connected with the network via boarder router raspberry pi). I found nothing in the source about commissioning and also not in the Mesh-API. Since the Mbed Thread-Stack is certified I wonder if this feature is really missing.

Thank you for any hint.

With best regards, Sebastian

1 Answer

4 years, 8 months ago.

Hi,

Unfortunately the mesh-API does not provide the functionality. Please take a look at: https://github.com/ARMmbed/mbed-os/blob/master/features/nanostack/sal-stack-nanostack/nanostack/thread_commissioning_api.h. You can get the interface_id using the mesh-API get_interface_id()

Best Regards,

Arto

Hey,

thanks for your hint. But actually I think with this API your are able to program an "on-mesh commissioner", since it says so in the .h-file.

"* This is a public API used for creating a commissioning device. You can create an on-mesh commissioner

  • and a native commissioner." - thread_commissioning_api.h

With best regards, Sebastian

posted by Sebastian Miethe 29 Jul 2019