ot::Coap::TxParameters::From() method
Converts a pointer to `otCoapTxParameters` to `Coap::TxParamters` If the pointer is `nullptr`, the default parameters are used instead.
Arguments
aTxParameters
A pointer to tx parameter.
Return value
A reference to corresponding `TxParamters` if @p aTxParameters is not `nullptr`, otherwise the default tx parameters.
ot::Coap::TxParameters::From() is called by 2 functions and calls 1 function:
![]()
ot::Coap::TxParameters::From()
ot::Coap::TxParameters::From():
![]()
ot::Coap::TxParameters::From()