Comments (7)
Hi @laurst this is nagging me so I'll fix it :) Thanks tho, totally missed this.
from rust-ocpp.
from rust-ocpp.
Hi @laurst, thank you for your input. You are actually correct, the specification states 32-bit so I'd happily take a PR :)
From the specification:
Integer
32 bit (31 bit resolution, 1 sign bit)
No leading 0’s No plus sign
Allowed value examples: 1234, -1234
Not Allowed: 01234, +1234
from rust-ocpp.
That was quick, thanks! I have to ask though, in which document do you see this specified? I've searched in both the 1.6 edition 2 spec, the erratas, the json spec, and I might be dense but I didn't see it.
from rust-ocpp.
file: OCPP-2.0.1_part2_specification.pdf
2.1.3. Primitive Datatypes
from rust-ocpp.
@tommymalmqvist This seems to be only for 2.0.1, is this also specified for 1.6?
from rust-ocpp.
@SirVer No, 1.6 has not defined it. Do you need 64-bit for 1.6? Else I think it'll be more safe to use 32-bit if there are many Pole's running on 32-bit.
from rust-ocpp.
Related Issues (11)
- Question on authoring approach HOT 5
- Real app examples using the lib HOT 2
- OCPP1.6 Missing Option for timestamp in StatusNotificationRequest HOT 1
- Derive default HOT 1
- Add support for types declared in OCPP JSON Specification (RPC Framework) HOT 2
- Consider putting 1.6 and 2.0 support behind feature flags HOT 4
- Consider enabling 1.6 feature flag on docs.rs HOT 1
- Adding #[serde(deny_unknown_fields, rename_all = "camelCase")] HOT 5
- Web socket HOT 2
- Consider publishing git tags and a changelog HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-ocpp.