Skip to content

Commit

Permalink
feat: Add starting status
Browse files Browse the repository at this point in the history
  • Loading branch information
santiagosalamandri committed Oct 17, 2022
1 parent 657d451 commit 3898096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iso15118/secc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging

from iso15118.secc import SECCHandler
from iso15118.secc.controller.interface import EVSEServiceStatus
from iso15118.secc.controller.simulator import SimEVSEController
from iso15118.shared.exificient_exi_codec import ExificientEXICodec

Expand All @@ -14,6 +15,7 @@ async def main():
the SECC (Supply Equipment Communication Controller)
"""
sim_evse_controller = await SimEVSEController.create()
await sim_evse_controller.set_status(EVSEServiceStatus.STARTING)
await SECCHandler(
exi_codec=ExificientEXICodec(), evse_controller=sim_evse_controller
).start()
Expand Down

0 comments on commit 3898096

Please sign in to comment.