ot::Coap::CoapBase::AbortTransaction() method
Aborts CoAP transactions associated with given handler and context. The associated response handler will be called with kErrorAbort.
Arguments
aHandler
A function pointer that should be called when the transaction ends.
aContext
A pointer to arbitrary context information.
Return value
kErrorNone Successfully aborted CoAP transactions. kErrorNotFound CoAP transaction associated with given handler was not found.
ot::Coap::CoapBase::AbortTransaction() reads 1 variable:
![]()
ot::Coap::CoapBase::AbortTransaction()