otTcpCircularSendBufferDeinitialize() function
Deinitializes a TCP circular send buffer, detaching it if attached. If the TCP circular send buffer is not empty, then this operation will fail.
Arguments
aSendBuffer
The TCP circular send buffer to deinitialize.
Return value
OT_ERROR_NONE Successfully deinitialize the TCP circular send buffer. OT_ERROR_BUSY Circular buffer contains data and cannot be deinitialized.