Replies: 2 comments 2 replies
-
Technically yes. As you mentioned, One point, the observe functionality was contributed by intrested folks (from #4396). It is not a functionaility required/used by Thread stack itself, so it may not be as well-tested and validated as other features.
CLI In general CLI |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick reply @abtink . Do I need to change the code of openthread to acheive the successful CoAPS observe ? Let's consider 2 parties in CoAPS communication: server and client. But is it enough to use the vanilla openthread from mainline in order to server respond accordingly and the client receive the responses every time the server updates the resource ? In other words - is there any code changes in openthead needed for this ? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone,
I need your assistance in understanding the possibiliry of observing the resources over CoAPS.
From what I see in CLI of a client, there's no such option (
OT_COAP=ON
OT_COAP_OBSERVE=ON
OT_COAPS=ON
).So for
coap
we see the following command setBut
coaps
lacks ofobserve
andcancel
commandsOk, I started to look into the CoAPS implementation and it seems that
CoapSecure
class just inherits theCoapBase
that has theSendMessage
method which in theory should handle the transmission over DTLS socket.Q1. Is it possible at all to use CoAPS observe using OT SDK ?
Q2. If so - is there any code reference I may look at ?
Q2. Is it anyhow possible to use the OT CLI as a client for CoAPS observe ? Likely not but maybe I'm missing smth.
Beta Was this translation helpful? Give feedback.
All reactions