Thread COAP Server sample with nRF52840_Dongle

Hello,

I have tested a thread network with a nRF52840 SDK programmed with Thread COAP Client sample and two nRF52840SDK programmed with Thread COAP Server sample.

All is working correctly.

Now I'd like to use some nRF52840_Dongle boards as Server.

I read in the documentation that Dongle is not supported for this sample, but all the same I'd like to know if there is a way to permit to use Dongle (perhaps modifying something in Kconfig, or in prj.conf...).

Thanks in advance for your reply

Parents Reply Children
  • The reason the dongle is not listed as supported devices is just that we have not done any testing on that sample for the dongle. But I tested now. I recommend that you copy the coap_server\boards\nrf52840dk_nrf52840.overlay file, and rename the copy nrf52840dongle_nrf52840.overlay (keep it in the boards folder), so that the build system will pick it up when you build for the dongle.

    Then you can build the coap server sample for the dongle, either using the command:

    west build -b nrf52840dongle_nrf52840 -d build

    Or by selecting it from the drop down menu in VS Code when creating a new build configuration. If it is not an option, make sure to select the "All" checkbox:

    Best regards,

    Edvin

  • Thank you, 

    Now I manage to use nRF52840_Dongle boards as Server.

Related