californium

CoAP/DTLS Java Implementation

Github星跟踪图

Californium logo

Eclipse Californium is a Java implementation of RFC7252 - Constrained Application Protocol for IoT Cloud services. Thus, the focus is on scalability and usability instead of resource-efficiency
like for embedded devices. Yet Californium is also suitable for embedded JVMs.

More information can be found at
http://www.eclipse.org/californium/
and http://coap.technology/.

Build using Maven

You need to have a working maven installation to build Californium.
Then simply run the following from the project's root directory:

$ mvn clean install

Executable JARs of the examples with all dependencies can be found in the demo-apps/run folder.

Using Californium in Maven Projects

We are publishing Californium's artifacts for milestones and releases to Maven Central.
To use the latest released version as a library in your projects, add the following dependency
to your pom.xml (without the dots):

  <dependencies>
    ...
    <dependency>
            <groupId>org.eclipse.californium</groupId>
            <artifactId>californium-core</artifactId>
            <version>2.0.0</version>
    </dependency>
    ...
  </dependencies>
  ...
Current Builds

You can also be bold and try out the most recent build from master.
However, we are not publishing those to Maven Central but to Californium's project repository at Eclipse only.
You will therefore need to add the Eclipse Repository to your pom.xml first:

  <repositories>
    ...
    <repository>
      <id>repo.eclipse.org</id>
      <name>Californium Repository</name>
      <url>https://repo.eclipse.org/content/repositories/californium/</url>
    </repository>
    ...
  </repositories>

You can then simply depend on 2.1.0-SNAPSHOT.

Eclipse

The project can be easily imported into a recent version of the Eclipse IDE.
Make sure to have the following before importing the Californium (Cf) projects:

Then choose [Import... » Maven » Existing Maven Projects] to import californium into Eclipse.

IntelliJ

The project can also be imported to IntelliJ as follows:

In IntelliJ, choose [File.. » Open] then select the location of the cloned repository in your filesystem. IntelliJ will then automatically import all projects and resolve required Maven dependencies.

Interop Server

A test server is running at coap://californium.eclipse.org:5683/.
It is an instance of the cf-plugtest-server from the demo-apps.
The root resource responds with its current version.
More information can be found at http://californium.eclipse.org/.

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

Contact

A bug, an idea, an issue? Join the Mailing list
or create an issue here on GitHub.

Contributing

Please check out our contribution guidelines

主要指标

概览
名称与所有者eclipse-californium/californium
主编程语言Java
编程语言HTML (语言数: 6)
平台
许可证Other
所有者活动
创建于2015-09-24 15:27:15
推送于2025-05-21 12:43:37
最后一次提交
发布数88
最新版本名称3.14.0 (发布于 )
第一版名称1.0.0-RC1 (发布于 )
用户参与
星数747
关注者数50
派生数372
提交数3.6k
已启用问题?
问题数788
打开的问题数16
拉请求数1339
打开的拉请求数2
关闭的拉请求数201
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?