Skip to content

nikosft/CoAP-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Some CoAP examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published