Home
last modified time | relevance | path

Searched refs:coaps (Results 1 – 3 of 3) sorted by relevance

/openthread-2.7.6/src/cli/
DREADME_COAPS.md20 > coaps psk <your-psk> <your-psk-id>
26 > coaps x509
36 > coaps start
38 > coaps resource test-resource
45 > coaps start
47 > coaps connect <peer-ip6-address>
49 coaps connected
50 > coaps get test-resource
52 coaps response from fdde:ad00:beef:0:9903:14b:27e0:5744 with payload: 68656c6c6f576f726c6400
53 > coaps put test-resource con payload
[all …]
DREADME.md36 - [coaps](README_COAPS.md)
/openthread-2.7.6/src/core/meshcop/
Dborder_agent.cpp113 Coap::CoapSecure &coaps = Get<Coap::CoapSecure>(); in SendErrorMessage() local
116 VerifyOrExit((message = NewMeshCoPMessage(coaps)) != nullptr, error = kErrorNoBufs); in SendErrorMessage()
118 SuccessOrExit(error = coaps.SendMessage(*message, coaps.GetMessageInfo())); in SendErrorMessage()
128 Coap::CoapSecure &coaps = Get<Coap::CoapSecure>(); in SendErrorMessage() local
131 VerifyOrExit((message = NewMeshCoPMessage(coaps)) != nullptr, error = kErrorNoBufs); in SendErrorMessage()
149 SuccessOrExit(error = coaps.SendMessage(*message, coaps.GetMessageInfo())); in SendErrorMessage()
585 Coap::CoapSecure &coaps = Get<Coap::CoapSecure>(); in Start() local
589 SuccessOrExit(error = coaps.Start(kBorderAgentUdpPort)); in Start()
590 SuccessOrExit(error = coaps.SetPsk(Get<KeyManager>().GetPskc().m8, OT_PSKC_MAX_SIZE)); in Start()
591 coaps.SetConnectedCallback(HandleConnected, this); in Start()
[all …]