secc.states package

Submodules

secc.states.evse_state module

class secc.states.evse_state.DcEVSEState(*args, **kwargs)

Bases: shared.state.V2GState

This is a class that represents a DC EVSE state.

abstract process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

class secc.states.evse_state.EVSEState(*args, **kwargs)

Bases: shared.state.V2GState

This is a class that represents an EVSE state.

abstract process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.initial_state module

class secc.states.initial_state.InitialState

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_authorization_request module

class secc.states.process_authorization_request.ProcessAuthorizationRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_authorization_setup_request module

class secc.states.process_authorization_setup_request.ProcessAuthorizationSetupRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_dc_cable_check_request module

class secc.states.process_dc_cable_check_request.ProcessDcCableCheckRequest

Bases: secc.states.evse_state.DcEVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_dc_charge_loop_request module

class secc.states.process_dc_charge_loop_request.ProcessDcChargeLoopRequest

Bases: secc.states.evse_state.DcEVSEState

static is_limit_achieved(limit, value)
process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_dc_charge_parameter_discovery_request module

class secc.states.process_dc_charge_parameter_discovery_request.ProcessDcChargeParameterDiscoveryRequest

Bases: secc.states.evse_state.DcEVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_dc_pre_charge_request module

class secc.states.process_dc_pre_charge_request.ProcessDcPreChargeRequest

Bases: secc.states.evse_state.DcEVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_dc_welding_detection_request module

class secc.states.process_dc_welding_detection_request.ProcessDcWeldingDetectionRequest

Bases: secc.states.evse_state.DcEVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_power_delivery_request module

class secc.states.process_power_delivery_request.ProcessPowerDeliveryRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_schedule_exchange_request module

class secc.states.process_schedule_exchange_request.ProcessScheduleExchangeRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_service_detail_request module

class secc.states.process_service_detail_request.ProcessServiceDetailRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_service_discovery_request module

class secc.states.process_service_discovery_request.ProcessServiceDiscoveryRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_service_selection_request module

class secc.states.process_service_selection_request.ProcessServiceSelectionRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_session_setup_request module

class secc.states.process_session_setup_request.ProcessSessionSetupRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_session_stop_request module

class secc.states.process_session_stop_request.ProcessSessionStopRequest

Bases: secc.states.evse_state.EVSEState

process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

secc.states.process_supported_app_protocol_request module

class secc.states.process_supported_app_protocol_request.ProcessSupportedAppProtocolRequest

Bases: secc.states.evse_state.EVSEState

static get_priority(app_protocol)
get_supported_app_protocols()
process_payload(payload) shared.reaction_message.ReactionToIncomingMessage

Processes the payload and readies the next message.

Parameters

payload – The data that will be processed.

Returns

ReactionToIncomingMessage – the reaction the processed data.

Module contents