The below fields are never assigned values in session's statistics. As a result, they are always sent as 0 (in comId 35) as well as in tlc_getStatistics().
In TRDP_STATISTICS_T:
I. TRDP_PD_STATISTICS_T
i. defQos
ii. defTtl
iii. defTimeout
II. TRDP_MD_STATISTICS_T (both UDP and TCP)
i. defQos
ii. defTtl
iii. defReplyTimeout
iv. defConfirmTimeout
Refer attached diff for a possible solution. ( The idea is to asign the default values in tlc_configSession )
Thank you, Siddhi. Small diff to your suggestion: the stats should be set outside the parameter checks...
Ah, yes! That is a better solution.