This implementation of the Constrained Application Protocol bases on the asynchronous and event-driven network application framework Netty (thats where the 'n' in nCoAP comes from). The nCoAP framework currently covers
but without DTLS (i.e. support for the coaps scheme).
JavaDoc is available here. The nCoAP project is organized in several maven modules, i.e.,
<groupId>de.uzl.itm</groupId>
<artifactId>ncoap-core</artifactId>
for the raw protocol implementation (including the extensions mentioned above). For CoAP application development this is probably what you want. Note, that for several reasons some interfaces and package names changed since the latest stable version (1.8.2). To use the latest bleeding edge version add the following to your pom.xml:
<repositories>
...
<repository>
<id>itm-maven-repository-snapshots</id>
<name>ITM Maven Snapshots Repository</name>
<url>https://maven.itm.uni-luebeck.de/repositories/snapshots</url>
</repository>
...
</repositories>
...
<dependencies>
...
<dependency>
<groupId>de.uzl.itm</groupId>
<artifactId>ncoap-core</artifactId>
<version>1.8.3-SNAPSHOT</version>
</dependency>
...
</dependencies>
The other models, i.e.,
<groupId>de.uzl.itm</groupId>
<artifactId>ncoap-simple-client</artifactId>
and
<groupId>de.uzl.itm</groupId>
<artifactId>ncoap-simple-server</artifactId>
provide simple CoAP applications for both, client and server. There intention is to highlight, how easy it is to write such applications using ncoap.