lorenzodonini / ocpp-go

Open Charge Point Protocol implementation in Go
MIT License
277 stars 126 forks source link

Allow connectorID 0 for trigger message #264

Closed lorenzodonini closed 8 months ago

lorenzodonini commented 8 months ago

Fixes a validation bug caused by inconsistency in the spec. To prevent misinterpretation, the validation was changed from: connectorId > 0 to connectorId >= 0 for TriggerMessage.Req.

Closes #244