Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
- Change arduinoWebSockets URL param to path ([#278](https://github.com/matth-x/MicroOcpp/issues/278))
- Avoid creating conf when operation fails ([#290](https://github.com/matth-x/MicroOcpp/pull/290))
- Fix whitespaces in MeterValues ([#301](https://github.com/matth-x/MicroOcpp/pull/301))
- Make SmartChargingProfile txId field optional ([#348](https://github.com/matth-x/MicroOcpp/pull/348))

## [1.0.3] - 2024-04-06

Expand Down
2 changes: 1 addition & 1 deletion src/MicroOcpp/Operations/SetChargingProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void SetChargingProfile::processReq(JsonObject payload) {
return;
}

if (chargingProfile->getTransactionId() < 0 ||
if (chargingProfile->getTransactionId() >= 0 &&
chargingProfile->getTransactionId() != transaction->getTransactionId()) {
//transactionId undefined / mismatch
accepted = false;
Expand Down