edgexfoundry / edgexfoundry/device-coap-c

Coap-client doesn't receives data

Open
#39 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
3
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I keep the issue open here:
https://github.com/edgexfoundry/edgex-compose/issues/252#issuecomment-1153966946

I want to use device-coap in edge x and I used containers.
I have a problem when I try to send data to edgex with the command: coap-client -m post -t 0 -e 1001 coap://127.0.0.1/a1r/d1/int I receive the message: WARN coap_network_read: unreachable.

If instead you execute the commands:
`coap-client-notls -m post -t 0 -e 1001 coap://127.0.0.1:5684/a1r/d1/int`
I do not receive any error message but neither the data that the d2 device inside the edgex should send. Thank you

** EdgeXFoundry Jakarta 2.2**

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked EdgeX Compose issue comment and reproduce the two coap-client commands against the EdgeX Jakarta 2.2 container setup. Compare the unreachable warning with the silent request on port 5684, then trace the device-coap-c service entry points to determine why data from the d2 device is not received. Done means the request succeeds and the expected data is visible in EdgeX.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.