Skip to content

startTransaction() TransactionEvent Request Invalid Type #2

Open
@ichbinwilly

Description

@ichbinwilly

Hi,

I found two errors in the startTransaction(), both of them are invalid type errors.
Refer to OCPP 2.0: Part 2- Specification, page 323 1.62 TransactionEvent section.

  1. transactionData.remoteStartId should be INTEGER
"transactionData": {
		"id": lastTranId,
		"remoteStartId": 0 //integer
}
  1. sampledValue.value should be DECIMAL
"meterValue": [{
		"timestamp": formatDate(new Date()),
		"sampledValue": [{
			"value": 0 //decimal
		}]
}]

Thanks.

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