mirror of
https://github.com/espressif/openthread.git
synced 2026-07-02 10:20:24 +00:00
7a0eb2c2e7
`CoapSecure` is always used by joiner, border agent or commissioner. DTLS should not be shared with the application `CoapSecure`. This commit includes the following changes: * allow multiple DTLS by using `TimerMilliContext` * move `CoAP::mSocket` into `Dtls` * move `ThreadNetif::mDtls` into `CoapSecure` * remove unnecessary getters of `Dtls` and `CoapSecure`