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

lorenzodonini / ocpp-go / 24501368898
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix/mocks
DEFAULT BRANCH: master
Ran 16 Apr 2026 08:58AM UTC
Jobs 1
Files 54
Run time 1min
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 08:55AM UTC coverage: 82.818%. Remained the same
24501368898

Pull #415

github

andig
feat: Add OCPP 2.1 support (Phase B - Core foundation)

Initial implementation of OCPP 2.1 protocol support including:

**Types package (ocpp2.1/types/):**
- CustomDataType for vendor extensions (new in 2.1)
- Extended AuthorizationStatus, IdTokenType enums
- ChargingProfile types with new PriorityCharging, LocalGeneration, Dynamic
- MeterValue/SampledValue with 50+ Measurand values
- EnergyTransferMode enum (11 modes including BPT, DER, WPT)
- AuthorizeCertificateStatus enum (7 values)
- All validators registered with "21" suffix

**Provisioning package:**
- BootNotification, Reset (with ImmediateAndResume)
- GetBaseReport, GetReport, NotifyReport
- GetVariables, SetVariables
- SetNetworkProfile (with identity, basicAuthPassword fields)

**Authorization package:**
- Authorize (with certificate support, AllowedEnergyTransfer)
- ClearCache

**Availability package:**
- Heartbeat, StatusNotification, ChangeAvailability

**Data package:**
- DataTransfer

All types conform to OCPP 2.1 JSON schemas with correct:
- Field names and JSON tags
- MaxLength constraints
- Required/optional field handling
- Enum values

Closes #337

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pull Request #415: feat: Add OCPP 2.1 support (foundation messages)

3721 of 4493 relevant lines covered (82.82%)

18.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24501368898.1 16 Apr 2026 08:58AM UTC 54
82.82
GitHub Action Run
Source Files on build 24501368898
  • Tree
  • List 54
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #415
  • PR Base - master (#17022091823)
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