Skip to content

Commit

Permalink
Fix dropped FirmwareStatusNotification::Installed message (refs EVERE…
Browse files Browse the repository at this point in the history
…ST-1175)

The variable to publish FirmwareStatusNotification::Installed message is
now delayed, because the message is dropped in case the OCPP client is
not connected or the OCPP module is not yet subscribed to the variable.
This is only a temporary solution as long as the
reported issues (EVerest/libocpp#758,
EVerest/everest-core#841) are not fixed.

Signed-off-by: Fabian Hartung <[email protected]>
  • Loading branch information
FaHaGit committed Sep 4, 2024
1 parent 2c12c9d commit 409604f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/CbSystem/main/systemImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ static std::string get_partition(PartitionType part_type) {
}

void systemImpl::ready() {
// TODO: Remove this sleep when fix of the issues (ref: https://github.com/EVerest/libocpp/issues/758,
// https://github.com/EVerest/everest-core/issues/841) are implemented
sleep(20);
check_update_marker();
}

Expand Down

0 comments on commit 409604f

Please sign in to comment.