CoAP is an application protocol designed for constrained devices, designed to easily translate to HTTP.
Questions tagged [coap]
224 questions
0
votes
1 answer
Buffer Parsing in C
i am looking at the CoAP implementation in ContikiOS, particularly at the header parsing and i am having some trouble understanding two operations. The code is bellow.
coap_pkt->version = (COAP_HEADER_VERSION_MASK & coap_pkt->buffer[0]) >>…

Joao s
- 150
- 1
- 8
0
votes
1 answer
Can implement ECDSA and ECDH like algorithm in CoAP with the help of californium?
I am working on CoAP implementation for my academics, I am trying to integrate combined version of ECDSA and ECDH like algorithm in CoAP and will observe behavior of protocol after implementation. Till now I have gone through Eclipse Californium is…

Akshay Patil
- 27
- 2
- 11
0
votes
1 answer
How can I get child "payload" On Coap
On the left side,I have LightRGB and ı can get the LightRGB payload with Client get request.I have ChangeColor as LightRGB child unfortunately but I can't get the ChangeColor payload.Payload is a xml output as you can see on the right side of the…

Burak Deniz
- 55
- 1
- 6
0
votes
2 answers
coap protcol real time data processing
I have a generic question, I would like to know if there is any framework to allow coap based paylaods to be proceed in realtime.
is kafka/storm a valid candidate?
any tutorial/link is highly appreciated.
my client is a coap based sensor sending…

user3291059
- 23
- 9
0
votes
2 answers
Nodejs + Can't set headers after they are sent
I am using node js, also i am requesting the some other third party coap url.
When I run this code getting the Error: Can't set headers after they are sent.
Don;t know what mistake I done.
FYR: https://github.com/mcollina/node-coap
Code:
var app =…

RSKMR
- 1,812
- 5
- 32
- 73
0
votes
1 answer
Send PUT Request to CoRE Resource Directory using CoAP
I want to generate PUT request. I have successfully generated GET request to get data from CoRE resource directory but I am unable to generate PUT request with xml payload. Your help would be highly appreciated.
Following is my code
function…

Muhammad Umar
- 349
- 3
- 14
0
votes
1 answer
How to add extra options to CoAP request?
I know that CoAP defines some options which can be included in the sending request and each option has their own number. The structure of the CoAP uri request looks like:
coap-URI = "coap:" "//" host [ ":" port ] path-abempty [ "?" query ]
where…

Ock
- 1,262
- 3
- 18
- 38
0
votes
1 answer
how to set the header when sending CoAP request using CoAP plugins Copper in Firefox
I would like to send CoAP request using CoAP plugins Cooper in Firefox, but have no idea how to add header to this request. Does anyone have an idea how to add header to the request using CoAP plugins Cooper.
Thank you

Ock
- 1,262
- 3
- 18
- 38
0
votes
1 answer
Proper way of adding resources dynamically to CoAP server
I created a method which can be used for adding dynamically URLs into CoAP server.This is the current approach I have implemented. But needs to know is this the proper way of adding resources into the CoAP server? Let's say…

GPrathap
- 7,336
- 7
- 65
- 83
0
votes
1 answer
Adding new resources dynamically - CoAP
Once CoAP server is started I need to add new resources dynamically. But I have to stop and start the server again in order to access new resources. I suppose adding new resources same as adding a new HTTP servlet into already started HTTP…

GPrathap
- 7,336
- 7
- 65
- 83
0
votes
1 answer
How to deploy Er REST Example on cc2650 platform
I am working on cc2650 and cc2531 dongle and I have already installed 6lbr. Now I need to check security for CoAP and I need to implement a simple example. I want to work on Er-REST example and I have some questions regarding to deployment.
1)Do I…

Dudu OK
- 3
- 5
0
votes
1 answer
About webserver ipv6 example
I am a beginner in IoT and I will work on Security in CoAP. I needed a basic example and I decided to go on webserver example.
I am using cc2531 and cc2650 and 6lbr now. So I will work on a real testbed and I have some questions regarding the…

Dudu OK
- 3
- 5
0
votes
1 answer
Is it possible to create an MQTT API to serve as a third-party API for other developers?
Is it possible to create an MQTT API service for being consumed by others?
If yes, how can I do that and would that be of any use?
If no, why? Maybe it is possible to set up an API using some other IoT-specific protocol (like CoAP or something…

Denis Yakovenko
- 3,241
- 6
- 48
- 82
0
votes
1 answer
Californium Framework CoAP and PUT request
I am trying to do a request to coap server (er-rest-example) using Californium.
I succesfully do a POST request.
But with PUT I am getting a BAD REQUEST, I try using this URLs in…

user3495449
- 9
- 4
0
votes
1 answer
How do you send a number when you answer a get request with coap
I've been reading the rfc 7252 for a while and I am probably blind but I can't find how can I send a simple number (integer or float) when you answer a get request for a ressource (for example the sensor /light, where do you write it in the…

Masa
- 60
- 7