Questions tagged [californium]

Questions about using Eclipse Californium's APIs or interoperability with other CoAP/DTLS 1.2 implementations.

Questions about using Eclipse Californium:

  • using the APIs
  • configuring Californium CoAP
  • interoperability with other CoAP stacks (please include traffic captures)
  • configuring Californium DTLS 1.2
  • interoperability with other DTLS 1.2 stacks (please include traffic captures)
29 questions
4
votes
2 answers

Eclipse Californium CoAP wildcard as url path

I'm working on a CoAP app using Eclipse Californium that will declare explicitly only the root resource path, and the rest of the resources should be served and resolved through a wildcard /root/* just like on REST APIs or servlets. Is there any way…
user1079425
2
votes
2 answers

CoAP server could not be started

when I run HelloWorldServer.java of californium(examples), I got this error. How do I fix this? I run this in eclipse.. Mar 08, 2016 8:30:01 PM org.eclipse.californium.core.network.config.NetworkConfig createStandardWithFile INFO: Loading standard…
1
vote
2 answers

How set a Coap Observer that listen for response

I'm working with californium library to use Coap protocol in my eclipse project. I have sent a request to a server Coap. Now i have set on this server a different end point to give response. How can i implement an observer that listen and wait to…
1
vote
2 answers

How to handle custom coap options (non-standard)

I‘m working on a openHAB2 binding for the Shelly series of devices. The http interface is running well, but I can‘t register to get the COAP events. Does someone has experience with the Californium framework? Shelly uses non-standard Coap options…
Markus
  • 11
  • 2
1
vote
1 answer

Error caused by java.lang.NoClassDefFoundError and ClassNotFoundException

I am trying to implement a simple code to read the data from the ultrasonic and send it to a server by using Californium. The problem is that when I use debug, it doesn't have any error. However when I export the code to a runable jar file and run…
dondon
  • 105
  • 1
  • 1
  • 10
1
vote
0 answers

Push-based notifications with CoAP protocole in java

I am willing to use CoAP protocol to implement a push-based messaging system. In other words, one server observing some client and pushes notifications with some specific rate. I am using the java implementation of CoAP. However I did not find any…
Sitoumbaz
  • 61
  • 4
1
vote
1 answer

Where I should placed the "coap+tcp" uri?

I'm trying to write CoAP client protocol implementation for embedded device. Now I'm working on tcp-implementation. I don't understand where I should placed "coap+tcp" uri in the request. I'm testing my code with Californium, so that works fine…
Serge Maslyakov
  • 1,410
  • 1
  • 17
  • 23
1
vote
1 answer

Java Californium CoAP Server

I am using Californium Library for my CoAP Server. I have no difficulties using it. However, I was wondering if there is a way to set my resource as "root resource". It seems that some sites have no "suburl" on their server URL. (for ex.…
Jae Park
  • 621
  • 4
  • 13
  • 27
0
votes
0 answers

CoAP GET data read using Californium get or discover method is inconsistent

I'm trying to read the Weblinks from the CoAP endpoint /.well-known/core using the Californium CoapClient.discover(). The discover method returns the Weblinks all the time without any reported errors during execution. But the problem is with the…
prince
  • 1,129
  • 1
  • 15
  • 38
0
votes
1 answer

is Eclipse/Californium CoAP observer much slower than Aiocoap observer?

I'm trying to build a system in which I can connect some devices to a server over the internet. I want to stream some data over CoAP (10-30FPS), frame size = 3KB. Firstly, I used Aiocoap, it sends up to 100FPS but uses too much CPU, requests are…
0
votes
1 answer

How to run helloWorld using Maven californium - Java

I am new to Java environment, I'm trying to run a Coap server using Californium https://github.com/eclipse-californium/californium I cloned the git repo. then ran mvn clean install in the repo folder. I now want to run the hello world demo in…
0
votes
1 answer

DTLS-CoAP server from Contiki-NG fails during DTLS handshake

I have flashed a cc2650 Sensortag with cc26xx-web-demo example in Contiki-NG with option MAKE_WITH_DTLS=1 now I want to access it through a coaps:// request. When I try to access it as coaps:// from cf-browser it shows handshake failed but it works…
Salva Hasan
  • 33
  • 1
  • 6
0
votes
1 answer

Coap server resources discovery

I am using the californium library for coap communication and it is being deployed on the Android platform. I have started coap server in one device and the client is on another device, both are in the same network. Server code : Creating a server…
Mohammed Shoeb
  • 109
  • 1
  • 7
0
votes
1 answer

How can I set a CoAP post request Body with a requestparameter and a File?

I want to upload a file from a CoAP client by using the californium standard forwarded proxy to a server which supports http-communication. Is there an alternative with CoAP to build a post Request with a name of the RequestParameter and a payload…
Lalas
  • 3
  • 1
0
votes
1 answer

Query related to Connection Id exchange between DTLS Client & Server using Californium Scandium core

I am exploring on DTLS 1.2 using Californium-Scandium demo-apps projects. It appears that Scandium-core README.md supports the latest draft of Connection Identifiers for DTLS 1.2. According to Connection Identifiers for DTLS 1.2, the CID exchange…
Amrita Sah
  • 33
  • 7
1
2