• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lorenzodonini / ocpp-go / 24502108742 / 1
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix/mocks
DEFAULT BRANCH: master
Ran 16 Apr 2026 09:16AM UTC
Files 54
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Apr 2026 09:13AM UTC coverage: 82.862% (+0.04%) from 82.818%
24502108742.1

Pull #416

github

andig
feat(ocpp2.1): Add Phase C - transactions, meter, remotecontrol packages

Implements OCPP 2.1 functional blocks with full JSON schema conformance:

transactions package:
- TransactionEvent (CS -> CSMS)
- GetTransactionStatus (CSMS -> CS)

meter package:
- MeterValues (CS -> CSMS)

remotecontrol package:
- RequestStartTransaction (CSMS -> CS)
- RequestStopTransaction (CSMS -> CS)
- TriggerMessage (CSMS -> CS)
- UnlockConnector (CSMS -> CS)

New types in types.go:
- Transaction-related: ChargingState, TransactionEvent, TriggerReason,
  StoppedReason, PreconditioningStatus, TransactionLimit, Transaction
- Cost-related: CostDimension, TariffCost, TaxRate, Price, TotalPrice,
  TotalUsage, TotalCost, CostDimensionValue, ChargingPeriod, CostDetails
- Remote control: MessageTrigger, TriggerMessageStatus, UnlockStatus

Schema conformance fixes:
- Removed MeasurandTemperature (not in OCPP 2.1)
- Fixed RequestStartTransactionRequest.evseId min=1 (per schema)
- Added required tag to TransactionEventRequest.seqNo
- Added range validation for chargingPriority (-9 to 9)
- Added min=1 to updatedPersonalMessageExtra array

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pull Request #416: feat: Add OCPP 2.1 support

3723 of 4493 relevant lines covered (82.86%)

18.16 hits per line

Source Files on job 24502108742.1
  • Tree
  • List 54
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24502108742
  • d307a6dc on github
  • Prev Job for on feat/ocpp-2.1-support (#17022091823.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc