Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 820 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 820 Bytes

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).

Examples

Hello World

It creates a resource that can be accessed using the GET method. The resource returns a simple message.

Hello World POST

It creates a resource that can be accessed using the POST method. The resource echoes back the posted message.

DTLS

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.