EVerest API definition for SLAC 1.0.0

API for EVerest API clients implementing SLAC.

  • #EVerest
  • #slac

Servers

  • mqtt://localhost:1883/everest_api/1/slac/{module_id}mqttdefault

    default local MQTT

    object
    module_id
    required
    string

    The ID of the module as defined in the EVerest config file.

Operations

  • RECEIVE e2m/reset

    Direction: EVerest to Module

    Operation IDreceive_reset

    Available only on servers:

    Accepts the following message:

    Reset SLACreceive_reset

    Reset SLAC

    Message IDreceive_reset
    Payload
    boolean

    true: start SLAC after reset, false: stop SLAC

    Examples

  • RECEIVE e2m/enter_bcd

    Direction: EVerest to Module

    Operation IDreceive_enter_bcd

    Available only on servers:

    Accepts the following message:

    Enter B/C/Dreceive_enter_bcd

    Signal pilot state change to B/C/D from A/E/F.

    Message IDreceive_enter_bcd

    Examples

  • RECEIVE e2m/leave_bcd

    Direction: EVerest to Module

    Operation IDreceive_leave_bcd

    Available only on servers:

    Accepts the following message:

    Leave B/C/Dreceive_leave_bcd

    Signal pilot state change to A/E/F from B/C/D.

    Message IDreceive_leave_bcd

    Examples

  • SEND m2e/state

    Direction: Module to EVerest

    Operation IDsend_state

    Available only on servers:

    Accepts the following message:

    SLAC statesend_state

    Provides the state enum.

    Message IDsend_state
    object

    Examples

  • SEND m2e/request_error_routine

    Direction: Module to EVerest

    Operation IDsend_request_error_routine

    Available only on servers:

    Accepts the following message:

    Request error routinesend_request_error_routine

    Inform the higher layer to execute the error routine for a SLAC connection retry

    Message IDsend_request_error_routine
    Payload
    null

    Examples

  • SEND m2e/ev_mac_address

    Direction: Module to EVerest

    Operation IDsend_ev_mac_address

    Available only on servers:

    Accepts the following message:

    EV MAC addresssend_ev_mac_address

    Inform higher layers about the MAC address of the vehicle (upper case)

    Message IDsend_ev_mac_address
    object

    Examples

  • SEND m2e/raise_error

    Direction: Module to EVerest

    Operation IDsend_raise_error

    Available only on servers:

    Accepts the following message:

    Send raise errorsend_raise_error

    Signal to EVerest that an error happened.

    Message IDsend_raise_error
    object

    Examples

  • SEND m2e/clear_error

    Operation IDsend_clear_error

    Available only on servers:

    Accepts the following message:

    Send clear errorsend_clear_error

    Signal to EVerest that an error was resolved.

    Message IDsend_clear_error
    object

    Examples

  • RECEIVE e2m/heartbeat

    Direction: EVerest to Module

    Operation IDreceive_heartbeat

    Available only on servers:

    Accepts the following message:

    Receive heartbeatreceive_heartbeat

    Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration

    Message IDreceive_heartbeat
    Payload
    integer

    64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached

    Examples

  • SEND m2e/communication_check

    Operation IDsend_communication_check

    Available only on servers:

    Accepts the following message:

    Send communication checksend_communication_check

    Signal to EVerest that communication is good or check shall be stopped

    Message IDsend_communication_check
    Payload
    boolean

    Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check'

    Examples

Messages

  • #1Reset SLACreceive_reset

    Reset SLAC

    Message IDreceive_reset
    Payload
    boolean

    true: start SLAC after reset, false: stop SLAC

  • #2Enter B/C/Dreceive_enter_bcd

    Signal pilot state change to B/C/D from A/E/F.

    Message IDreceive_enter_bcd
  • #3Leave B/C/Dreceive_leave_bcd

    Signal pilot state change to A/E/F from B/C/D.

    Message IDreceive_leave_bcd
  • #7SLAC statesend_state

    Provides the state enum.

    Message IDsend_state
    object
  • #9Request error routinesend_request_error_routine

    Inform the higher layer to execute the error routine for a SLAC connection retry

    Message IDsend_request_error_routine
    Payload
    null
  • #10EV MAC addresssend_ev_mac_address

    Inform higher layers about the MAC address of the vehicle (upper case)

    Message IDsend_ev_mac_address
    object
  • #11Send raise errorsend_raise_error

    Signal to EVerest that an error happened.

    Message IDsend_raise_error
    object
  • #12Send clear errorsend_clear_error

    Signal to EVerest that an error was resolved.

    Message IDsend_clear_error
    object
  • #13Receive heartbeatreceive_heartbeat

    Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration

    Message IDreceive_heartbeat
    Payload
    integer

    64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached

  • #14Send communication checksend_communication_check

    Signal to EVerest that communication is good or check shall be stopped

    Message IDsend_communication_check
    Payload
    boolean

    Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check'

Schemas

  • Enabled
    boolean

    true: start SLAC after reset, false: stop SLAC

  • object
  • object
  • object
  • object
  • ErrorEnum
    string

    Type of Error

    • CommunicationFault: The communication to the hardware or underlying driver is lost or has errors.
    • VendorError: 'Vendor specific error code. Will stop charging session.'
    • VendorWarning: 'Vendor specific error code. Charging may continue.'
  • CommunicationCheck
    boolean

    Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check'

  • HeartBeatId
    integer

    64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached