mbc_master_get_transaction_info() function
The helper function to expose transaction info from modbus layer
Arguments
ptinfo
the pointer to transaction info structure
Return value
- esp_err_t ESP_OK - the transaction info is saved in the appropriate parameter structure - esp_err_t ESP_ERR_INVALID_ARG - invalid argument of function or parameter descriptor - esp_err_t ESP_ERR_INVALID_STATE - invalid state during data processing or allocation failure