This project contains some CoAP examples. The jar file included in the lib folder is a light version of Californium CoAP framework, generated by the Cal-lite project (https://github.com/nikosft/Cal-lite).
It creates a resource that can be accessed using the GET method. The resource returns a simple message.
It creates a resource that can be accessed using the POST method. The resource echoes back the posted message.
It creates a resource that can be accessed using the GET method over DTLS. The resource returns a simple message. In order to execute this example, first run the GenKeys.sh script. This script generates a self-signed certificate that is used by the server. In this example subscribers are not authenticated.