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

Support 15118-20 DC BPT #169

Merged
merged 14 commits into from
Dec 20, 2022
Merged

Support 15118-20 DC BPT #169

merged 14 commits into from
Dec 20, 2022

Conversation

shalinnijel2
Copy link
Contributor

@shalinnijel2 shalinnijel2 commented Nov 28, 2022

Summary of changes:

  1. Added 15118-20 DC to supported protocols list
  2. Fixed various ChargeLoop struct definitions.
  3. Implemented the below states:
    1. DCCableCheck
    2. DCPreCharge
    3. DCWeldingDetection
    4. DCChargeLoop
  4. Added tests

@shalinnijel2 shalinnijel2 force-pushed the dc_dc_bpt branch 2 times, most recently from cc206ad to 2884f38 Compare November 28, 2022 17:06
@shalinnijel2 shalinnijel2 marked this pull request as ready for review December 9, 2022 12:06
iso15118/secc/controller/interface.py Outdated Show resolved Hide resolved
iso15118/secc/controller/interface.py Outdated Show resolved Hide resolved
iso15118/secc/controller/interface.py Outdated Show resolved Hide resolved
Comment on lines +1493 to +1500
if not await self.comm_session.evse_controller.is_contactor_closed():
self.stop_state_machine(
"Contactor didnt close for Cable Check",
message,
ResponseCode.FAILED,
)
return
await self.comm_session.evse_controller.start_cable_check()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as I mentioned to you before, we need to invert this. First we start cable check, then we check if the contactors are closed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will approve the PR, so I dont block your work, but change that if you can ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes have created a ticket here.

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.

2 participants