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. 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 <fabian.hartung@chargebyte.com>
  • Loading branch information
FaHaGit committed Sep 4, 2024
1 parent 2c12c9d commit 6f937d4
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 libocpp 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 6f937d4

Please sign in to comment.