[coaps] refine definition of CoapSecure::Connect (#3178)

This commit is contained in:
Yakun Xu
2018-10-17 23:21:53 +02:00
committed by Jonathan Hui
parent b0f84aa210
commit 72fa647805
7 changed files with 40 additions and 34 deletions
+2 -2
View File
@@ -188,7 +188,7 @@ otError otCoapSecureSetCaCertificateChain(otInstance * aInstance,
* This method initializes DTLS session with a peer.
*
* @param[in] aInstance A pointer to an OpenThread instance.
* @param[in] aMessageInfo A pointer to a message info structure.
* @param[in] aSockAddr A pointer to the remote sockaddr.
* @param[in] aCallback A pointer to a function that will be called when the DTLS connection
* state changes.
* @param[in] aContext A pointer to arbitrary context information.
@@ -197,7 +197,7 @@ otError otCoapSecureSetCaCertificateChain(otInstance * aInstance,
*
*/
otError otCoapSecureConnect(otInstance * aInstance,
const otMessageInfo * aMessageInfo,
const otSockAddr * aSockAddr,
otHandleCoapSecureClientConnect aHandler,
void * aContext);