Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startTransaction() TransactionEvent Request Invalid Type #2

Open
ichbinwilly opened this issue Jul 25, 2018 · 1 comment
Open

startTransaction() TransactionEvent Request Invalid Type #2

ichbinwilly opened this issue Jul 25, 2018 · 1 comment

Comments

@ichbinwilly
Copy link

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.

@fmstuff
Copy link
Contributor

fmstuff commented Apr 24, 2020

Fixed by #5 - issue can be closed. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants