Questions tagged [coap]

CoAP is an application protocol designed for constrained devices, designed to easily translate to HTTP.

224 questions
0
votes
0 answers

creating a map with udpconnection and associated payload information

I am trying to create a map to save the key as the connected client and its payload information. this is my code. How do I go about it The code allows the client to send payload information to the server package main import ( "fmt" "log" …
Ekaku509
  • 17
  • 6
0
votes
2 answers

Unable to Setup CoAP Server using Californium Java Library

I am trying to setup CoAP Server using Java library from http://mvnrepository.com/artifact/org.eclipse.californium/californium-core/1.0.1 public class HelloWorldServer extends CoapServer { private static final int COAP_PORT = 5683; /* …
Ashok
  • 601
  • 1
  • 17
  • 32
0
votes
1 answer

Why oBIX and CoAP together required

I am working on an building automation IOT system which has both oBIX and CoAP application to provide web services. As per my knowledge CoAP layer operates above oBIX handler. Also some interfaces of oBIX is similar to CoAP. My query is why oBIX is…
0
votes
1 answer

Californium CoAP Server Error on addEndpoints

I am trying one of example CoAP server program from https://github.com/eclipse/californium.core/tree/master/cf-helloworld-server/src/main/java/org/eclipse/californium/examples/HelloWorldServer.java I have used library CoAP from…
Ashok
  • 601
  • 1
  • 17
  • 32
0
votes
1 answer

How to retrieve updated content on an Observed resource in Leshan?

Currently I am working on proof of concept using Leshan to recieve log messages from devices on regular basis. We found that Observe request is the best way to go for this approach. So temporarily, since we don't have a custom object yet(Wakama…
user1860447
  • 1,316
  • 8
  • 25
  • 46
0
votes
1 answer

Unable to use microcoap library due to this error. Any fixes?

I am unable to use microcoap library (https://github.com/1248/microcoap) in Arduino IDE. When I try to compile it produces following error main-posix.c:1:24: fatal error: sys/socket.h: No such file or directory #include
Fahad Siddiqui
  • 1,829
  • 1
  • 19
  • 41
0
votes
2 answers

COAP as a Streaming Source

I am currently working on IOT Coap protocol.I accessed server on local host through copper firefox plugin. Then i Added resouce having "GET" functionality in server. After that i made its client as a streaming source. Here is the code of client…
Sadaf
  • 247
  • 5
  • 16
0
votes
1 answer

Looking for a CoAP api/library for android/java?

Is there a api/library for CoAP that I can use on android side? I've been looking for one for sometime now but with no luck at all.
Mr.Noob
  • 1,005
  • 3
  • 24
  • 58
0
votes
1 answer

CoAP and suburl

When I put up a resource as for example "SERVER" and client tries to reach SERVER/something does it fail to reach the resource? or it reaches SERVER resource and gives extra parameters? Thank you
Jae Park
  • 621
  • 4
  • 13
  • 27
0
votes
1 answer

Sensor Data on Vis.js

I am working with Wireless sensor networks and I have been obtaining the sensor's addresses and their sensing parameter like Temperature in JSON format. The format is as follows: {"eui":"c10c00000000007b","count":0"tmp102":" 0.0000 C"} As far are…
Shan-Desai
  • 3,101
  • 3
  • 46
  • 89
0
votes
2 answers

Cant use Micro-Coap library for arduino

I am trying to get the micro-coap librarby (https://github.com/1248/microcoap) to work on my arduino. When I try to compile it in the Arduino IDE, it reports that dependency in main-posix.c can not be found. Searches for the problem…
Siniyas
  • 443
  • 1
  • 5
  • 19
0
votes
0 answers

UDP Datagram Fragmentation is not happening in Californium CoAP, Why?

This is my CoAP Client code for sending requests with incremental payload size: CoapClient client = new CoapClient(uri); for (int payloadSize = start; payloadSize <= end; payloadSize += stepSize) { for (int repeatCount…
sakhoshdel
  • 111
  • 2
  • 8
0
votes
1 answer

Observe multiple resources of a Contiki device with CoAP

This question concerns the CoAP protocol and the CoRE link format as implemented in Contiki-OS. Suppose a Contiki device sharing several resources which are: Sensors Temperature Humidity Motion Battery voltage Solar panel voltage A client can…
Darko P.
  • 567
  • 1
  • 4
  • 14
0
votes
1 answer

Can we access the secured coap url through copper plugin in Firefox?

I am just wondering if we can access the DTLS enabled COAP urls through the copper plugin. I am able to access coap:\localhost:5683 How can we access coaps:\localhost:5683 after enabling DTLS, through copper plugin in the Firefox browser?
sSaroj
  • 268
  • 4
  • 18
0
votes
1 answer

CoAP Example for android Use Californium

I'm trying to build a CoAP server in android, and i's using californium's example. https://github.com/curioustechizen/Californium/tree/4ace5b85974a0646aaaa6ab43c9314d1c5a438e1 But I got error with Http.java in package…
Slimane Chen
  • 1
  • 1
  • 3
1 2 3
14
15