codelabsab / rust-ocpp

Libraries for ocpp 1.6 and 2.0.1
https://docs.rs/rust-ocpp/latest/rust_ocpp/
Apache License 2.0
67 stars 16 forks source link

Use 32-bit integers like the specification states #28

Closed tommymalmqvist closed 11 months ago

tommymalmqvist commented 11 months ago

Switch to using 32-bit integers since that is what the specification states.

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ce6036f) 84.47% compared to head (66fb85b) 84.47%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #28 +/- ## ======================================= Coverage 84.47% 84.47% ======================================= Files 280 280 Lines 4849 4849 ======================================= Hits 4096 4096 Misses 753 753 ``` | [Files](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab) | Coverage Δ | | |---|---|---| | [src/v1\_6/messages/cancel\_reservation.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvY2FuY2VsX3Jlc2VydmF0aW9uLnJz) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/change\_availability.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvY2hhbmdlX2F2YWlsYWJpbGl0eS5ycw==) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/clear\_charging\_profile.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvY2xlYXJfY2hhcmdpbmdfcHJvZmlsZS5ycw==) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/get\_composite\_schedule.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvZ2V0X2NvbXBvc2l0ZV9zY2hlZHVsZS5ycw==) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/get\_diagnostics.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvZ2V0X2RpYWdub3N0aWNzLnJz) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/get\_local\_list\_version.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvZ2V0X2xvY2FsX2xpc3RfdmVyc2lvbi5ycw==) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/meter\_values.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvbWV0ZXJfdmFsdWVzLnJz) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/remote\_start\_transaction.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvcmVtb3RlX3N0YXJ0X3RyYW5zYWN0aW9uLnJz) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/remote\_stop\_transaction.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvcmVtb3RlX3N0b3BfdHJhbnNhY3Rpb24ucnM=) | `100.00% <ø> (ø)` | | | [src/v1\_6/messages/reserve\_now.rs](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab#diff-c3JjL3YxXzYvbWVzc2FnZXMvcmVzZXJ2ZV9ub3cucnM=) | `100.00% <ø> (ø)` | | | ... and [76 more](https://app.codecov.io/gh/codelabsab/rust-ocpp/pull/28?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codelabsab) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.