OCPP-2.0-CP-Simulator icon indicating copy to clipboard operation
OCPP-2.0-CP-Simulator copied to clipboard

startTransaction() TransactionEvent Request Invalid Type

Open ichbinwilly opened this issue 6 years ago • 1 comments

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.

ichbinwilly avatar Jul 25 '18 10:07 ichbinwilly

Fixed by #5 - issue can be closed. 😊

fmstuff avatar Apr 24 '20 05:04 fmstuff