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

Enable Joiner support in Openthread CoAP Client sample in nrfConnect SDK

hi,

I am running openthread coap_client sample from NRFconnect SDK v1.6.1 and I have enabled joiner in my code.

But still, when I flash the code on nrf52840dk_board, it starts openthread on a pre-commissioned state and doesn't enable joiner.

Kindly suggest how can I commission my coap_client on my pre-existing thread network.

Parents
  • Hi Bhumika,

    After some investigation, I found you should not expect coap_client to just work as a jointer(you need to configure it through OT CLI commands for the commissioning process). The coap client and server sample are just used to demo how to use coap protocal based on a predefined thread network.

    To learn about the thread network commissioning process, you should start with an OpenThread commissioning introduction. You need to run OT commands to set up different roles for the commissioning process on the Thread network.

    Best regards,

    Charlie

  • Hi Charlie,

    Thanks for your support.

    Also, I have one more query, how to use the CoAP Client example to send a CoAP message to my own CoAP server which is present on my OpenThread Border Router. 

  • Hi Bhumika Jain,

    The solution shouldn't have much difference from the current CoAP client and server samples. Please refer to the implementation of their source codes.

    Best regards,

    Charlie

Reply Children
No Data
Related