CoAP example "Provisioning"

In the nRF-connect SDK, the examples openthread/coap_client / coap_server mention a process called "Provisioning".

To me, it seems like this is meant to auto-discover CoAP servers.

If so, I have three questions:

1. Is mDNS also supported? Why use this provisioning thing instead of mDNS?

2. Is this provisioning procedure standard? Is the process described somewhere? Is it usual in the CoAP context?

3. Where, in the OpenThread/Thread context, is the term "Provisioning" also used and what does it mean there?

Thank you for your time,

Daniel

Parents
  • Hello,

    The provisioning is only used to find the other device with the corresponding server that matches the client, as you say.

    Once your device is inside the network, it is really up to you to decide what and how you want to do things. 

    1: mDNS is also a possibility. Please see the documentation on mDNS Discovery in Openthread.io.

    2: I don't know, to be honest. Openthread "only" provides a network with IP connectivity. What the customers do after this really depends on their product specification (and we don't usually see that much of their specific implementation).

    3: Provisioning is not greatly described in the documentation, but it is a way to expose resources in a COAP server-client application. You can read about the API around provisioning by searching for it in openthread.io, but other than that, I don't have a good answer, other than the usage demonstrated in the COAP server/client application.

    Best regards,

    Edvin

Reply
  • Hello,

    The provisioning is only used to find the other device with the corresponding server that matches the client, as you say.

    Once your device is inside the network, it is really up to you to decide what and how you want to do things. 

    1: mDNS is also a possibility. Please see the documentation on mDNS Discovery in Openthread.io.

    2: I don't know, to be honest. Openthread "only" provides a network with IP connectivity. What the customers do after this really depends on their product specification (and we don't usually see that much of their specific implementation).

    3: Provisioning is not greatly described in the documentation, but it is a way to expose resources in a COAP server-client application. You can read about the API around provisioning by searching for it in openthread.io, but other than that, I don't have a good answer, other than the usage demonstrated in the COAP server/client application.

    Best regards,

    Edvin

Children
No Data
Related