mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 18:57:47 +00:00
[coaps] fix disconnected (#3623)
When DTLS is disconnected, the socket should also be disconnected from the previous peer.
This commit is contained in:
@@ -206,10 +206,8 @@ otError otCoapSecureConnect(otInstance * aInstance,
|
||||
*
|
||||
* @param[in] aInstance A pointer to an OpenThread instance.
|
||||
*
|
||||
* @retval OT_ERROR_NONE Successfully stopped the DTLS connection.
|
||||
*
|
||||
*/
|
||||
otError otCoapSecureDisconnect(otInstance *aInstance);
|
||||
void otCoapSecureDisconnect(otInstance *aInstance);
|
||||
|
||||
/**
|
||||
* This method indicates whether or not the DTLS session is connected.
|
||||
|
||||
Reference in New Issue
Block a user