Questions tagged [coap]

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

224 questions
1
vote
0 answers

Converting pcapng file into csv file

I'm using Ubuntu terminal and I'm running using tshark -r file.pcapng -T fields -e 6lowpan.src -e frame.proto >file.csv I also can't get protocol info. I want to convert a .pcapng file into a .csv file. But, I'm not able to retrieve 6 lowpan…
John Main
  • 11
  • 1
1
vote
1 answer

Understanding CoAP proxies

According to the CoAP specification RFC7252 section 5.7 two types of CoAP proxies exists, namely forward-proxy and reverse-proxy. Orthogonal to this definition a proxy can be CoAP-CoAP or HTTP-CoAP proxy. I have the following questions according to…
Stefan
  • 83
  • 8
1
vote
1 answer

Setting up Copper CoAP Plugin for Firefox

I'm trying to set up Copper on Firefox version 53.0.3 and I am aware that the extension/plugin is not available anymore for Firefox 56+. I followed the instructions on how to set it up (https://github.com/mkovatsc/Copper) and I'm stuck at creating…
Ameer
  • 11
  • 1
  • 3
1
vote
0 answers

how to start coap server in camel-coap-starter springboot

I am trying to use some CoAP server implementation for my sprint server. Now I am trying to write spring controller for my server, I came across https://mvnrepository.com/artifact/org.apache.camel/camel-coap-starter but I could't see any server…
scoder
  • 2,451
  • 4
  • 30
  • 70
1
vote
1 answer

What is the best practice to deploy CoAP-DTLS server that can support multiple PSK identity/secret sets?

We're estimating the practicability to replace our conventional HTTPS/RESTful over cellular network (4G-LTE) with CoAP/DTLS over NB-IoT, to prolong the battery life of remote devices. The IoT application we've deployed only takes a tiny proportion…
RichardLiu
  • 1,902
  • 1
  • 19
  • 18
1
vote
1 answer

How to send token in CoAP requests?

Is there a consensus on how to send tokens as part of CoAP requests? HTTP clients share their identity/credentials through the Authorization header (or eventually the Cookie header) or less often as part of the URL (e.g. a JSON Web Token encoded in…
DurandA
  • 1,095
  • 1
  • 17
  • 35
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
0 answers

CoAP.Net Throws a StackOverflow Exception

I'm trying to use CoAP.Net using the most basic example could ever be var server = new CoapServer(); server.Start(); Console.ReadKey(); However, even for this simple test the application terminates due to a StackOverflow exception I took a look…
Scarnet
  • 738
  • 2
  • 11
  • 36
1
vote
1 answer

Which ports uses unity when it runs?

I made a car movement simulation with Unity, now I need to implement CoAP protocol, in an example made in C# I see that they use this string urlToCall = "coap://localhost:5683/sensors/temp"; So I guess I need to know the URL of Unity,…
1
vote
1 answer

IoT Protocol Stack

I have a doubt about the IoT Protocol Stack . Searching between papers on google scholar or IEEE about IoT , i find the actual "IoT Protocol Stack" : IoT Stack I think it is uncorrect . The doubt is about the transport layer and application…
Salsa94
  • 45
  • 5
1
vote
0 answers

CoAP Observer Arduino Server

i'm trying to implement an observer resource on Arduino based on the following CoAP library. When the observed resource changes from 0 to 1 a message is sended to the CoAP client. The problem is that in the client side I receive the following…
dani
  • 23
  • 5
1
vote
2 answers

What does CoAP Max transaction in Contiki means?

I didn't get whether Max transactions refer to client side or server side of CoAP. For instance, if COAP_MAX_OPEN_TRANSACTIONS is 4. Does it mean that CoAP Client can send 4 parallel request to different servers or it means that CoAP Server can…
HI_205
  • 21
  • 2
1
vote
1 answer

Errors compiling WolfSSL

I'm a newbie,and I'm trying to compile static library for Click Router, currently wolfSSL, i'm on Ubuntu 17.10 i'm following these steps: Clone wolfSSL GIT repo: cd clickDynCOAP git clone https://github.com/fvdnabee/wolfssl.git cd wolfssl git…
nope123
  • 11
  • 2
1
vote
1 answer

How to join ipv6 multicast group using libcoap?

I'm new to ipv6 and libcoap. I'm using the "coap-server" example provided in libcoap for testing my coap client. I cannot get coap-server to listent to multicast to work properly. I've tried the following commands ./coap-server -g FF02::FD # return…
Tony Lin
  • 765
  • 3
  • 15
  • 35