ot::MeshCoP::SecureTransport::Open() method
Opens the socket.
Arguments
aReceiveHandler
A pointer to a function that is called to receive payload.
aConnectedHandler
A pointer to a function that is called when connected or disconnected.
aContext
A pointer to arbitrary context information.
Return value
kErrorNone Successfully opened the socket. kErrorAlready The connection is already open.
ot::MeshCoP::SecureTransport::Open() calls 2 functions:
![]()
ot::MeshCoP::SecureTransport::Open()
ot::MeshCoP::SecureTransport::Open() reads 3 variables and writes 1 variable:
![]()
ot::MeshCoP::SecureTransport::Open()