gcoaps Testing - kb2ma/RIOT GitHub Wiki
This page describes how to test DTLS based gcoap. It can be difficult to remember the details.
First, make sure the environment is OK. Run the dtls-sock example. Follow the readme, and note the default port is 20220.
Test two RIOT native instances
This test is similar to the dtls-sock test. Initialize tap via dist/tools/tapsetup. Be sure one of the RIOT instances use port tap0 and the other uses tap1. The test works with both link local addresses and ULAs.
Other
Testing against a libcoap instance does not work.