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.