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

refactor(slac): remove dead code #717

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

a-w50
Copy link
Contributor

@a-w50 a-w50 commented Jun 11, 2024

  • the EvseSlac module had config options for evse_id and nid, which both are not used at all
  • the specification states, that the nid needs to be derived from the nmk, and hence shouldn't be set directly anyway
  • furthermore, the specification states, that the evse_id should have the value of 0x00 (which the current implementation also does)
  • the same is true for the option ev_id in the EvSlac module
  • all of these, therefore, unused options have been removed
  • NOTE: the JsSlacSimulator still has these config options and might need to be changed too

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

- the EvseSlac module had config options for `evse_id` and `nid`, which
  both are not used at all
- the specification states, that the `nid` needs to be derived from the
  `nmk`, and hence shouldn't be set directly anyway
- furthermore, the specification states, that the `evse_id` should have
  the value of `0x00` (which the current implementation also does)
- the same is true for the option `ev_id` in the EvSlac module
- all of these, therefore, unused options have been removed
- NOTE: the JsSlacSimulator still has these config options and might
  need to be changed too

Signed-off-by: aw <aw@pionix.de>
@corneliusclaussen corneliusclaussen merged commit 6c57d23 into main Jun 11, 2024
6 checks passed
@corneliusclaussen corneliusclaussen deleted the refactor/slac_dead_code branch June 11, 2024 06:51
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

Successfully merging this pull request may close these issues.

3 participants