IOT-DSA / dslink-java-dsa-coap

DSA-over-COAP Link
Other
0 stars 1 forks source link

CoAP Client Connection Issues #6

Open jchinyou opened 6 years ago

jchinyou commented 6 years ago

HI All,

In my scenario, I've been trying to get it to connect to CoAP devices directly and the connection keeps failing. I have several CoAP devices that are acting as servers (They have data I want to collect).

I add the link to my DSA and then create a client connection outbound to my servers. Packet captures verify that the client is active and trying to connect to my devices but the path seems incorrect or weird. No matter what I try I can't seem to correct the path outbound to my devices. Based on Packet Capture the CoAP packet ends up with a path of "conn" or "_root";

URL Formats I've Tried: 1) coap://:5683/ 2) coap://:5683/.well-known 3) coap://:5683/.well-known/core

I was expecting an outbound packet with path ".well-known/core"

Can anyone shed some light on what I may be missing?

jchinyou commented 6 years ago

It just dawned on me, is CoRE supported with this implementation?