New features (for OCPP 1.6 and 2.0.1), optimization of internal data structures and slight changes of the API.
PIO package: matth-x/[email protected]
Some of the internal changes also affect the API in MicroOcpp.h (e.g. ReadingContext
has been refactored from a C++ enum class to a C-style enum). See the descriptions in the PRs for potentially breaking changes.
Changelog:
Changed
- Change
MicroOcpp::ChargePointStatus
into C-style enum (#309) - Connector lock disabled by default per
MO_ENABLE_CONNECTOR_LOCK
(#312) - Relaxed temporal order of non-tx-related operations (#345)
- Use pseudo-GUIDs as messageId (#345)
- ISO 8601 milliseconds omitted by default (352)
- Rename
MO_NUM_EVSE
intoMO_NUM_EVSEID
(v2.0.1) (#371) - Change
MicroOcpp::ReadingContext
into C-style struct (#371) - Refactor RequestStartTransaction (v2.0.1) (#371)
Added
- Provide ChargePointStatus in API (#309)
- Built-in OTA over FTP (#313)
- Built-in Diagnostics over FTP (#313)
- Error
severity
mechanism (#331) - Build flag
MO_REPORT_NOERROR
to report error recovery (#331) - Support for
parentIdTag
(#344) - Input validation for unsigned int Configs (#344)
- Support for TransactionMessageAttempts/-RetryInterval (#345, #380)
- Heap profiler and custom allocator support (#350)
- Migration of persistent storage (#355)
- Benchmarks pipeline (#369, #376)
- MeterValues port for OCPP 2.0.1 (#371)
- UnlockConnector port for OCPP 2.0.1 (#371)
- More APIs ported to OCPP 2.0.1 (#371)
- Support for AuthorizeRemoteTxRequests (#373)
- Persistent Variable and Tx store for OCPP 2.0.1 (#379)
Removed
- ESP32 built-in HTTP OTA (#313)
- Operation store (files op-*.jsn and opstore.jsn) (#345)
- Explicit tracking of txNr (file txstore.jsn) (#345)
- SimpleRequestFactory (#351)
Fixed
- Skip Unix files . and .. in ftw_root (#313)
- Skip clock-aligned measurements when time not set
- Hold back error StatusNotifs when time not set (#311)
- Don't send Available when tx occupies connector (#315)
- Make ChargingScheduleAllowedChargingRateUnit read-only (#328)
Don't send StatusNotifs while offline (#344)(see (#371))- Don't change into Unavailable upon Reset (#344)
- Reject DataTransfer by default (#344)
- UnlockConnector NotSupported if connectorId invalid (#344)
- Fix regression bug of #345 (#353, #356)
- Correct MeterValue PreBoot timestamp (#354)
- Send errorCode in triggered StatusNotif (#359)
- Remove int to bool conversion in ChangeConfig (#362)
- Multiple fixes of the OCPP 2.0.1 extension (#371)