Questions tagged [coap]

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

224 questions
0
votes
0 answers

Import error: No module "coap"

I have the following script: #!/usr/bin/python from coap import coap c = coap.coap() p = c.GET('coap://bbbb::1415:92cc:0:2/.well-known/core') print ''.join([chr(b) for b in p]) However, when I run it, it gives the following error in line 3…
0
votes
2 answers

CoAP confirmable response

My server exposes a set of measurements but only those that have not been read yet. For this purpose, I have only implemented a single resource /new that discards measurements that it has just sent after a GET request. How can I make the server…
bbc
  • 240
  • 2
  • 8
0
votes
0 answers

IPv6 multicast in Contiki or Thingsquare

I am working on a project involving some stm32 motes and a border router running Contiki (but I am planning to switch to ThingSquare very soon). The border router is connected via tunslip6 to a computer, and a server is running on the computer. I…
Discipulus
  • 245
  • 1
  • 3
  • 13
0
votes
2 answers

Californium build failure using maven

I am trying to build the Californium repository https://github.com/eclipse/californium using maven. Typing "mvn clean install" gives the following output: [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while…
Discipulus
  • 245
  • 1
  • 3
  • 13
-1
votes
1 answer

How can I write a simple application using Openthread library

Even to develop a simple application, the existing examples in Openthread are complex to refer. Can anybody provide a list of steps to use Openthread "mdt/fdt library" and develop a simple application, from where a CoAP message can be sent or…
rptech
  • 1
  • 1
-1
votes
1 answer

Multiple CoAP server in small close network

I want to know, what happend and how to implement solutions in a real scenario. When we have a closed network (without gateway from 6lowpan to ipv4 network) when we have one CoAP server and node clients are in this network. What is the correct…
drVrh
  • 37
  • 6
-1
votes
1 answer

RESTful API with COAP, MQTT, or other lightweight protocol

I have a working HTTP RESTful API that will receive an ID, then check against data in the database. Based on the status of the record and related records it will then return either state errors or if everything is ready to begin it will return some…
-1
votes
2 answers

Copper Mozilla plugin doesn't work on 56.0.1 (64 bit)

I installed Copper on Mozilla version 56.0.1 but it didn't show up any Copper GUI.
-1
votes
1 answer

CoAP.NET for Xamarin

My project need to use CoAP.NET. But after adding CoAP.NET in PCL, the Android or iOS project will report an error like this when building. "Xamarin.Android.Common.targets: Error: Exception while loading assemblies: System.IO.FileNotFoundException:…
-1
votes
1 answer

extract coap query

I need your help in extracting the query value in a coap message.The coap message looks like coap://[ff08:90:5001:0:0:0:0:1]:12345/c?a=4 decoded packet is 52 02 00 00 91 63 63 61 3d 34 . Here 63 61 3d 34 is the query part ?a=4 . There is a data…
foo_l
  • 591
  • 2
  • 10
  • 28
-2
votes
2 answers

CoAPS Server, which coaps server can be used

1/ now, i want make libcoap client connect to a coaps server, but it cannot find a coaps server 2/ so, i neened a coaps server with psk, who can give it to me? I have implementation of CoAP (libcoap), and implementation of DTLS (tinyDTLS). I want…
-3
votes
1 answer

How to send CoAP requests with Python?

Is there a way to send CoAP requests, like HTTP requests, using Python. I tried below one but I got many errors. rec = reuest.get(coap://localhost:5683/other/block)
-3
votes
1 answer

Test Harness tool for COAP and MQTT

I am looking for some automated tool to test the basic functionality for CoAP and MQTT protocol. I have figured out the jMeter but it does not works for CoAP as it does not handle the UDP requests. Please share if anybody know a tool that can be…
Anchit Mittal
  • 3,412
  • 4
  • 28
  • 48
-4
votes
1 answer

c pointer issue with random garbage

I had written one coap client with libcoap to communicate with leshan server The issue is whenever I did a PUT request, first time it is correct, but if I do a PUT request from leshan, say 12345678 is the payload it adds a garbled value after…
Zim
  • 43
  • 2
  • 10
1 2 3
14
15