Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Delay the resumption of the message queue after reconnect #283

Merged
merged 10 commits into from
Dec 8, 2023

Conversation

valentin-dimov
Copy link
Contributor

Some OCTT tests (as well as real CSMS) send certain requests to the charging station after a reconnect (e.g. checking transaction status) and expect the charging station to respond to them before emptying its message queue.

This PR adds a configurable delay between a reconnect and the resumption of the message queue. During this delay, the charging station can still respond to requests from the CSMS, but any outgoing requests will only be sent after the delay passes.

@valentin-dimov valentin-dimov merged commit daa4950 into main Dec 8, 2023
3 checks passed
@valentin-dimov valentin-dimov deleted the vd-delay-message-queue-resume-after-reconnect branch December 8, 2023 09:08
couryrr-afs pushed a commit to US-JOET/libocpp that referenced this pull request Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants