Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.57 KB

README.md

File metadata and controls

68 lines (51 loc) · 2.57 KB

Californium (Cf) CoAP framework


This repository is frozen, as the project is continued at the Eclipse Foundation. The new repositories are also on GitHub and can be found here.


Implements RFC 7252 (CoAP Standard)

Build Status

Californium is a Java CoAP implementation for IoT Cloud services. Thus, the focus is on scalability and usability instead of resource-efficiency like for embedded devices.

Maven

Use mvn clean install in the Cf root directory to build everything. Standalone JARs of the examples will be copied to ./run/. (For convenience they are directly included in the Git repository.)

The artifacts are hosted at Maven Central. Thus, it is enough to include the dependency on californium in the pom.xml of your project:

  <dependencies>
    ...
    <dependency>
      <groupId>ch.ethz.inf.vs</groupId>
      <artifactId>californium</artifactId>
      <version>0.18.7-final</version>
    </dependency>
    ...
  </dependencies>

Eclipse

The project also includes the project files for Eclipse. Make sure to have the following before importing the Californium (Cf) projects:

Then choose [Import... » Git » Projects from Git » Local] to import Californium into Eclipse.

Without Any Maven Support

In case you are using plain Eclipse projects without Maven, you also need to clone and import the element-connector and Scandium (Sc) Add these project to [Properties » Java Build Path » Projects].

Interop Server

A test server is running at coap://vs0.inf.ethz.ch:5683/. The root resource responds with its current version. More information can be found at http://vs0.inf.ethz.ch/.

Another interop server with a different implementation can be found at coap://coap.me:5683/. More information can be found at http://coap.me/.