Skip to content

connectorId=0 on RemoteStartTransaction should be rejected #161

@Habbus

Description

@Habbus

Hi,
We are working on some testing against the ocpp1.6 spec and noticed the following issue.
The RemoteStartTransaction.req has an optional connectorId. Currently, the TransactionManager treats an unset optional as connectorid=0. However, the ocpp1.6 standard states the following on the connectorId field:

Optional. Number of the connector on which to start the transaction.
connectorId SHALL be > 0

Our test case expects a status of Rejected in the RemoteStartTransaction.conf. The spec specifically states that connectorId should be larger than 0.

Would you be fine with changing the logic so the RemoteStartTransaction.req is Rejected when connectorId is set and equal to 0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions