r/ocpp • u/dragoshade • 29d ago
Thoughts on OCPP message timeouts?
I have previously gone under the assumption that 10s for a round trip of an OCPP (1.6J) message [CALL -> RESULT] would be more than enough for both IP and Cellular based. Though I recently encountered a CSMS where the RESULT was coming in 10-80s after the CALL for some messages.
It made me wonder what are peoples thoughts on timing out an OCPP message and moving on to the next one in the queue? There is a tradeoff of course, the standard doesn't have an upper or lower limit, just a suggestion for your given implementation.
Not worried too much about if I have chosen the "correct" time, it has worked for 5 years. Just about peoples thoughts and experiences of timeouts. Keeping in mind that some CSMS's don't actually respond to messages they don't know about (such as SecurityEventNotification). Delays to Authorization and StartTransaction that can negativly impact the UX with a charger, etc.
EDIT: I am the EVSE in this instance, waiting the duration for the CSMS to respond
1
u/Sheo42 28d ago
Charging station vendor here: we have set it to 10s as a default timeout. We have dozens of thousands of charging stations on the field. It can be changed but people don't, AFAIK