ev_board_support

This defines the board support package for the EV side

Variables

bsp_event: object (board_support_common-BspEvent)
Events from CP/Relais
bsp_measurement: object (board_support_common-BspMeasurement)
BSP Measurements
ev_info: object (evse_manager-EVInfo)
More details about the EV if available

Commands

enable:void
Enable/disable the simulation
value: boolean <required>
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 <required> (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 <required>
True: allow power on, false: do not allow power on.
diode_fail:void
Setting a diode failure
value: boolean <required>
True: diode failure
set_ac_max_current:void
Setting the max current requested from the ev
current: number <required>
Max current requested from the ev
set_three_phases:void
Setting three or one phase support
three_phases: boolean <required>
True: Three phase support, False: One phase support
set_rcd_error:void
Setting a rcd error. Only for simulation purpose.
rcd_current_mA: number <required>
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.