.. _everest_interfaces_slac:


####
slac
####

| ISO15118-3 SLAC interface for EVSE side


*********
Variables
*********
| **state**:*string* 
|  Provides the state enum.
|  enum:
|    - UNMATCHED
|    - MATCHING
|    - MATCHED
| **dlink_ready**:*boolean* 
|  Inform higher layers about a change in data link status. Emits true if link was set up and false when the link is shut down.
| **request_error_routine**:*null* 
|  Inform the higher layer to execute the error routine for a SLAC connection retry
| **ev_mac_address**:*string* 
|  Inform higher layers about the MAC address of the vehicle (upper case)
|  pattern:^[A-F0-9]{2}(:[A-F0-9]{2}){5}$

********
Commands
********
| **reset**:*void*
|  Reset SLAC
|  **enable**:*boolean* <required>
|   true: start SLAC after reset, false: stop SLAC
| **enter_bcd**:*boolean*
|  Signal pilot state change to B/C/D from A/E/F.
|  **Result**:*boolean* 
|   True on success, returns False if transition was unexpected and cannot be handled by SLAC state machine.
| **leave_bcd**:*boolean*
|  Signal pilot state change to A/E/F from B/C/D.
|  **Result**:*boolean* 
|   True on success, returns False if transition was unexpected and cannot be handled by SLAC state machine.
| **dlink_terminate**:*boolean*
|  Terminate the data link and become UNMATCHED.
|  **Result**:*boolean* 
|   True on success.
| **dlink_error**:*boolean*
|  Terminate the data link and restart the matching process.
|  **Result**:*boolean* 
|   True on success.
| **dlink_pause**:*boolean*
|  Request power saving mode, while staying MATCHED.
|  **Result**:*boolean* 
|   True on success.