:orphan: .. _everest_interfaces_ev_board_support: ################ ev_board_support ################ | This defines the board support package for the EV side ********* Variables ********* | **bsp_event**: *object* (:ref:`board_support_common-BspEvent `) | Events from CP/Relais | **bsp_measurement**: *object* (:ref:`board_support_common-BspMeasurement `) | BSP Measurements | **ev_info**: *object* (:ref:`evse_manager-EVInfo `) | More details about the EV if available ******** Commands ******** | **enable**:*void* | Enable/disable the simulation | **value**: *boolean* | true to enable, false to disable | **set_cp_state**:*void* | Sets the CP State that should be set by the EV board support driver (controlled by S2) | **cp_state**: *string* (:ref:`ev_board_support-EvCpState `) | The CP State | **allow_power_on**:*void* | Sets allow_power_on flag. If false, contactor must never be switched on. | **value**: *boolean* | True: allow power on, false: do not allow power on. | **diode_fail**:*void* | Setting a diode failure | **value**: *boolean* | True: diode failure | **set_ac_max_current**:*void* | Setting the max current requested from the ev | **current**: *number* | Max current requested from the ev | **set_three_phases**:*void* | Setting three or one phase support | **three_phases**: *boolean* | True: Three phase support, False: One phase support | **set_rcd_error**:*void* | Setting a rcd error. Only for simulation purpose. | **rcd_current_mA**: *number* | RCD current in mA ****** Errors ****** | **/errors/generic** : | **CommunicationFault** : Communication with the underlying hardware or device has a fault | **VendorError** : Vendor specific error code. | **VendorWarning** : Vendor specific error code.