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

Improved handling in case CSMS responds with CALLERROR or not at all to BootNotification.req #431

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

Pietfried
Copy link
Contributor

  • Added handling for BootNotification.req in case CSMS responds with CALLERROR or no response at all
  • BootNotification now has special handling in the message queue so that it will be repeately sent in case of CALLERROR or no message timeout

…ALLERROR or no response at all

* BootNotification now has special handling in the message queue so that it will be repeately sent in case of CALLERROR or no message timeout

Signed-off-by: pietfried <pietgoempel@gmail.com>
Signed-off-by: pietfried <pietgoempel@gmail.com>
@Pietfried Pietfried requested a review from hikinggrass January 31, 2024 10:45
@Pietfried Pietfried linked an issue Jan 31, 2024 that may be closed by this pull request
Signed-off-by: pietfried <pietgoempel@gmail.com>
@@ -38,6 +38,9 @@ struct MessageQueueConfig {
bool queue_all_messages; // cf. OCPP 2.0.1. "QueueAllMessages" in OCPPCommCtrlr

int message_timeout_seconds = 30;
int boot_notification_retry_interval_seconds =
60; // interval for BootNotification.req in case response by CSMS is CALLERROR or CSMS does not respond at all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This formatting looks really strange

@Pietfried Pietfried merged commit d3971bd into main Jan 31, 2024
4 checks passed
@Pietfried Pietfried deleted the bugfix/handle-invalid-bootnotification-conf-by-csms branch January 31, 2024 18:01
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.

Retry BootNotification.req on timeout for BootNotification.conf
2 participants