Lines Matching refs:CoapSecure

51 CoapSecure::CoapSecure(Instance &aInstance, bool aLayerTwoSecurity)  in CoapSecure()  function in ot::Coap::CoapSecure
52 : CoapBase(aInstance, &CoapSecure::Send) in CoapSecure()
54 , mTransmitTask(aInstance, CoapSecure::HandleTransmit, this) in CoapSecure()
58 Error CoapSecure::Start(uint16_t aPort) { return Start(aPort, /* aMaxAttempts */ 0, nullptr, nullpt… in Start()
60 Error CoapSecure::Start(uint16_t aPort, uint16_t aMaxAttempts, AutoStopCallback aCallback, void *aC… in Start()
71 Error CoapSecure::Start(MeshCoP::SecureTransport::TransportCallback aCallback, void *aContext) in Start()
82 Error CoapSecure::Open(uint16_t aMaxAttempts, AutoStopCallback aCallback, void *aContext) in Open()
97 void CoapSecure::Stop(void) in Stop()
105 Error CoapSecure::Connect(const Ip6::SockAddr &aSockAddr, ConnectedCallback aCallback, void *aConte… in Connect()
112 void CoapSecure::SetPsk(const MeshCoP::JoinerPskd &aPskd) in SetPsk()
122 Error CoapSecure::SendMessage(Message &aMessage, in SendMessage()
139 Error CoapSecure::SendMessage(Message &aMessage, in SendMessage()
150 Error CoapSecure::SendMessage(Message &aMessage, ResponseHandler aHandler, void *aContext) in SendMessage()
162 Error CoapSecure::SendMessage(Message &aMessage, in SendMessage()
171 Error CoapSecure::Send(ot::Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in Send()
181 void CoapSecure::HandleDtlsConnected(void *aContext, bool aConnected) in HandleDtlsConnected()
183 return static_cast<CoapSecure *>(aContext)->HandleDtlsConnected(aConnected); in HandleDtlsConnected()
186 void CoapSecure::HandleDtlsConnected(bool aConnected) { mConnectedCallback.InvokeIfSet(aConnected);… in HandleDtlsConnected()
188 void CoapSecure::HandleDtlsAutoClose(void *aContext) in HandleDtlsAutoClose()
190 return static_cast<CoapSecure *>(aContext)->HandleDtlsAutoClose(); in HandleDtlsAutoClose()
193 void CoapSecure::HandleDtlsAutoClose(void) in HandleDtlsAutoClose()
199 void CoapSecure::HandleDtlsReceive(void *aContext, uint8_t *aBuf, uint16_t aLength) in HandleDtlsReceive()
201 return static_cast<CoapSecure *>(aContext)->HandleDtlsReceive(aBuf, aLength); in HandleDtlsReceive()
204 void CoapSecure::HandleDtlsReceive(uint8_t *aBuf, uint16_t aLength) in HandleDtlsReceive()
217 void CoapSecure::HandleTransmit(Tasklet &aTasklet) in HandleTransmit()
219 … static_cast<CoapSecure *>(static_cast<TaskletContext &>(aTasklet).GetContext())->HandleTransmit(); in HandleTransmit()
222 void CoapSecure::HandleTransmit(void) in HandleTransmit()