AUTOSAR SWS EthernetStateManager
AUTOSAR SWS EthernetStateManager
AUTOSAR CP R20-11
Disclaimer
This work (specification and/or software implementation) and the material contained
in it, as released by AUTOSAR, is for the purpose of information only. AUTOSAR
and the companies that have contributed to it shall not be liable for any use of the
work.
The material contained in this work is protected by copyright and other types of
intellectual property rights. The commercial exploitation of the material contained in
this work requires a license to such intellectual property rights.
This work may be utilized or reproduced without any modification, in any form or by
any means, for informational purposes only. For any other purpose, no part of the
work may be utilized or reproduced, in any form or by any means, without permission
in writing from the publisher.
The work has been developed for automotive applications only. It has neither been
developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
Table of Contents
The main task of the Ethernet State Manager can be summarized as follows:
[SWS_EthSM_00001]
⌈The Ethernet State Manager shall provide an abstract interface to the AUTOSAR
Communication Manager to startup or shutdown the communication on an Ethernet
cluster. ⌋()
[SWS_EthSM_00002]
⌈ The Ethernet State Manager does not directly access the Ethernet hardware
(Ethernet Communication Controller and Ethernet Transceiver), but by means of the
Ethernet Interface. The Ethernet Interface redirects the request to the appropriate
driver module.⌋()
Abbreviation / Description:
Acronym:
API Application Program Interface
BSW Basic Software
BswM Basic Software Mode Manager
ComM Communication Manager
DEM Diagnostic Event Manager
DET Default Error Tracer
EcuM ECU State Manager
Eth Ethernet Controller
EthTrcv Ethernet Transceiver
EthSM Ethernet State Manager
EthIf Ethernet Interface
SchM BSW Scheduler
SoAd Socket Adapter
OA TC10 Open Alliance TC10 specification (see [19])
3 Related documentation
Thus, the specification SWS BSW General shall be considered as additional and
required specification for Ethernet State Manager.
4.1 Limitations
The EthSM can be used for Ethernet communication only. Its dedication is to operate
with the EthIf to control one or multiple underlying Ethernet Controllers and Ethernet
Transceiver Drivers. Other protocols than Ethernet (i.e. CAN, LIN or FlexRay) are not
supported.
The following items are not supported by the current version of this specification:
Wake on LAN. (Please note, wake-up and sleep on dataline according to the
OA TC10 specification (see [19]) is supported)
AUTOSAR TcpIp
TcpIp is called to request the TCPIP state (e.g. Online, Offline, On Hold, …).
TcpIP uses the API of the EthSM to provide the TCPIP state.
Remark:
Actually the module EthSM doesn´t provide link time configuration and post-build
time configuration.
[SWS_EthSM_00008] ⌈
The EthSM needs to report development errors if development errors are enabled by
configuration. Therefore, it includes the header file Det.h.⌋()
[SWS_EthSM_00010] ⌈
The EthSM implementation (EthSM.c) references the API of the EthIf. Therefore, it
includes the header file EthIf.h.⌋()
[SWS_EthSM_00013] ⌈
The EthSM module shall include the ComM_Bus_SM.h header file. ⌋()
6 Requirements traceability
7 Functional specification
An ECU can have different communication networks. Each network has to be
identified with a unique network handle. The ComM requests communication modes
from the networks. It knows by its configuration, which handle is assigned to what
kind of network. In case of Ethernet, it uses the Ethernet state manager, which is
responsible for the control flow abstraction of Ethernet networks. The following
sections describe this in detail.
[SWS_EthSM_00014] ⌈
The EthSM shall provide to the ComM an API, which can be used by the ComM to
request communication modes of Ethernet networks.⌋()
[SWS_EthSM_00015]⌈
Depending on the parameters handed over by this API, the EthSM shall execute a
state transition of the related network mode state machine (refer to section 7.6). ⌋()
[SWS_EthSM_00016]⌈
This transition shall translate the request into a respective API call to control the
assigned Ethernet peripherals.⌋()
[SWS_EthSM_00017]⌈
The EthSM shall provide an API, which can be polled by the ComM to get the current
communication mode of an Ethernet network. ⌋()
[SWS_EthSM_00018]⌈
The EthSM shall use a call-back notification of ComM to notify ComM of a change in
communication modes.⌋()
[SWS_EthSM_00022]⌈
Depending on the network mode state machine, the EthSM shall control the Ethernet
Interface Controller modes of each Ethernet network. ⌋()
[SWS_EthSM_00023]⌈
The EthSM shall use the API of the EthIf to control the operating modes of the
assigned Ethernet Interface Controllers.⌋()
One possible use case could be the usage of the Ethernet network in a tester
connection (see description below).
Note:
19 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Specification of Ethernet State Manager
AUTOSAR CP R20-11
[SWS_EthSM_00085] OBSOLETE ⌈
If FULL_COMMUNICATION is requested the Ethernet Interface Controller is set to
the state ACTIVE. To reach FULL_COMMUNICATION it is also necessary to get an
ACTIVE link state (Ethernet cable is connected) and an ONLINE TcpIP state (IP
communication is available). The link state will be detected by the Ethernet
Transceiver module and will be communicated by the Ethernet Interface. The TcpIP
state will be detected and communicated by the TcpIp module.⌋()
[SWS_EthSM_00086] OBSOLETE ⌈
If the ComM request NO_COMMUNICATION the Ethernet Interface Controller is set
to the state DOWN.⌋()
[SWS_EthSM_00087] OBSOLETE ⌈
The Ethernet network has to be wake up by the application and it´s either on
(FULL_COMMUNICATION) or off (NO_COMMUNICATION). So there is no need for
other states e.g. like SILENT_COMMUNICATION.⌋()
[SWS_EthSM_00024]⌈
The EthSM shall implement for each configured network handle one network mode
state machine (EthSM statemachine).⌋()
[SWS_EthSM_00203] DRAFT ⌈
The EthSM statemachine shall consist of 2 main states:
ETHSM_FULL_COMMUNICATION and ETHSM_NO_COMMUNICATION.⌋()
[SWS_EthSM_00204] DRAFT ⌈
The ETHSM_FULL_COMMUNICATION shall have 3 sub-states:
ETHSM_STATE_OFFLINE, ETHSM_STATE_WAIT_TRCVLINK and
ETHSM_STATE_WAIT_ONLINE.⌋()
[SWS_EthSM_00205] DRAFT ⌈
The ETHSM_NO_COMMUNICATION shall have 3 sub-states:
ETHSM_STATE_ONLINE, ETHSM_STATE_ONHOLD and
ETHSM_STATE_WAIT_OFFLINE.⌋()
[SWS_EthSM_00038] ⌈
If ComM calls the EthSM to request a certain communication mode for a certain
Ethernet network, the EthSM shall map the requested communication mode to the
corresponding EthSM state machine main state:
- If communication mode COMM_FULL_COMMUNICATION or
COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST is requested,
then the EthSM shall request internally the state
ETHSM_FULL_COMMUNICATION for the corresponding EthSM
statemachine
- If communication mode COMM_NO_COMMUNICATION is requested, then
EthSM shall request internally the state ETHSM_NO_COMMUNICATION for
the corresponding EthSM statemachine
⌋()
The following points give an overview, on how the EthSM statemachine generally
react on requested communication modes:
1. If communication mode COMM_FULL_COMMUNICATION is requested for a
certain Ethernet network and the corresponding EthSM statemachine is in
state ETHSM_NO_COMMUNICATION, then at least the following
preconditions has to be fulfilled to transit to
ETHSM_FULL_COMMUNICATION:
o Request ETH_MODE_ACTIVE for the corresponding Ethernet Interface
Controller.
o The corresponding Ethernet hardware has indicated
ETHTRCV_LINK_STATE_ACTIVE (active link state, thus, Ethernet
cable is connected) via EthSM_TrcvLinkStateChg
o The corresponding TcpIpCtrl has indicated TCPIP_STATE_ONLINE (IP
communication is available) via EthSM_TcpIpModeIndication
2. If communication mode
COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST is requested
for a certain Ethernet network, EthSMWakeupSleepOnDatalineEnabled is set
to TRUE and the corresponding EthSM statemachine is in state
ETHSM_NO_COMMUNICATION, then at least the following preconditions has
to be fulfilled to transit to ETHSM_FULL_COMMUNICATION:
o Request ETH_MODE_ACTIVE_WITH_WAKEUP_REQUEST for the
corresponding Ethernet Interface Controller.
o The corresponding Ethernet hardware has indicated
ETHTRCV_LINK_STATE_ACTIVE (active link state, thus, Ethernet
cable is connected) via EthSM_TrcvLinkStateChg
o The corresponding TcpIpCtrl has indicated TCPIP_STATE_ONLINE (IP
communication is available) via EthSM_TcpIpModeIndication
3. If the ComM request COMM_NO_COMMUNICATION and the corresponding
EthSM state machine is in state ETHSM_FULL_COMMUNICATION, then the
following preconditions shall be fulfilled to transist to
ETHSM_NO_COMMUNICATION:
o EthSM shall request ETH_MODE_DOWN for the corresponding
Ethernet Interface Controller
o The corresponding TcpIpCtrl has indicated TCPIP_STATE_OFFLINE ⌋()
4. If communication mode
COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST is requested
21 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Specification of Ethernet State Manager
AUTOSAR CP R20-11
The re-trigger of the Ethernet Interface Controller described in point 4. in the section
above is used to request the lower layer to trigger a wake-up on the network. This
could be used for example for Ethernet hardware which is compliant with OA TC10
(see [19])
The internal states are shown in Figure 7-1. Details are described in the following sub
chapters. An overview of the internal states are described in [SWS_EthSM_00041].
ETHSM_NO_COMMUNICATION
Initial
EthSM_Init()
EthSM_RequestComMode(COMM_FULL_COMMUNICATION)
/EthIf_SetControllerMode(ETH_MODE_ACTIVE)
ETHSM_STATE_WAIT_TRCVLINK BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_TRCVLINK) ETHSM_STATE_OFFLINE
EthSM_RequestComMode(COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST)
a /EthIf_SetControllerMode(ETH_MODE_ACTIVE_WITH_WAKEUP_REQUEST)
BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_TRCVLINK)
EthSM_RequestComMode(COMM_NO_COMMUNICATION)
/EthIf_SetControllerMode(ETH_MODE_DOWN)
BswM_EthSM_CurrentState(ETHSM_STATE_OFFLINE)
EthSM_TrcvLinkStateChg(ETHTRCV_LINK_STATE_ACTIVE)
/TcpIp_RequestComMode(TCPIP_STATE_ONLINE)
BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_ONLINE)
EthSM_RequestComMode(COMM_NO_COMMUNICATION)
/TcpIp_RequestComMode(TCPIP_STATE_OFFLINE)
EthIf_SetControllerMode(ETH_MODE_DOWN)
EthSM_TrcvLinkStateChg(ETHTRCV_LINK_STATE_DOWN)
BswM_EthSM_CurrentState(ETHSM_STATE_OFFLINE)
/TcpIp_RequestComMode(TCPIP_STATE_OFFLINE)
BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_TRCVLINK)
EthSM_RequestComMode(COMM_NO_COMMUNICATION)
ETHSM_STATE_WAIT_ONLINE /TcpIp_RequestComMode(TCPIP_STATE_OFFLINE)
EthIf_SetControllerMode(ETH_MODE_DOWN)
BswM_EthSM_CurrentState(ETHSM_STATE_OFFLINE)
a ComM_BusSM_ModeIndication(COMM_NO_COMMUNICATION)
EthSM_TcpIpModeIndication(TCPIP_STATE_OFFLINE)
/BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_TRCVLINK)
EthSM_TcpIpModeIndication(TCPIP_STATE_OFFLINE) ComM_BusSM_ModeIndication(COMM_NO_COMMUNICATION)
EthSM_TcpIpModeIndication(TCPIP_STATE_OFFLINE)
/BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_ONLINE) /EthIf_SetControllerMode(ETH_MODE_DOWN)
ComM_BusSM_ModeIndication(COMM_NO_COMMUNICATION) BswM_EthSM_CurrentState(ETHSM_STATE_OFFLINE)
ComM_BusSM_ModeIndication(COMM_NO_COMMUNICATION)
ETHSM_FULL_COMMUNICATION
EthSM_TcpIpModeIndication(TCPIP_STATE_ONLINE)
/BswM_EthSM_CurrentState(ETHSM_STATE_ONLINE) ETHSM_STATE_ONHOLD
ComM_BusSM_ModeIndication(COMM_FULL_COMMUNICATION) a
EthSM_TrcvLinkStateChg(ETHTRCV_LINK_STATE_ACTIVE)
/TcpIp_RequestComMode(TCPIP_STATE_ONLINE)
BswM_EthSM_CurrentState(ETHSM_STATE_ONLINE)
EthSM_TrcvLinkStateChg(ETHTRCV_LINK_STATE_DOWN)
/TcpIp_RequestComMode(TCPIP_STATE_ONHOLD)
BswM_EthSM_CurrentState(ETHSM_STATE_ONHOLD)
EthSM_RequestComMode(COMM_FULL_COMMUNICATION)
/BswM_EthSM_CurrentState(ETHSM_STATE_ONLINE) ETHSM_STATE_WAIT_OFFLINE
ETHSM_STATE_ONLINE
a EthSM_RequestComMode(COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST)
/EthIf_SetControllerMode(ETH_MODE_ACTIVE_WITH_WAKEUP_REQUEST)
BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_ONLINE)
EthSM_RequestComMode(COMM_NO_COMMUNICATION)
/TcpIp_RequestComMode(TCPIP_STATE_OFFLINE)
BswM_EthSM_CurrentState(ETHSM_STATE_WAIT_OFFLINE)
self transition a:
- trigger: EthSM_RequestComMode(COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST)
- guard: EthSMWakeupSleepOnDataLine == TRUE
- effect: EthIf_SetControllerMode(ETH_MODE_ACTIVE_WITH_WAKEUP_REQUEST)
Table 1 shows the expected state of the EthSM sub state, the state of the affected
Ethernet hardware and the IP assignment, according to the requested
communication mode of the ComM.
Requested
ComM Controller Transceiver Transceiver TcpIpCtrl
Mode EthSM sub state state state link state state
The first step is set the Ethernet controller to ETH_MODE_ACTIVE. After this is
done, the Ethernet State Manager is in the sub state
ETHSM_STATE_WAIT_TRCVLINK. In this sub state the state manager has to wait
for the monitored link state information of the Ethernet transceiver. After the link state
is set to ETHTRCV_MODE_ACTIVE, the Ethernet State Manager transit to sub state
ETHSM_STATE_WAIT_ONLINE. In this sub state the Ethernet state manager has to
wait for the monitored TcpIp stateinformation of the TcpIp module. After the TcpIp
module indicate TCPIP_STATE_ONLINE (= IP communication is available), the
Ethernet State Manager transit to main state ETHSM_ FULL_COMMUNICATION
and sub state ETHSM_STATE_ONLINE.
[SWS_EthSM_00025] ⌈
After the initialization of the EthSM the state machine shall have a transition to
ETHSM_STATE_OFFLINE.⌋()
Note: The initialization of the EthSM causes no further transactions in other modules.
So no separate sequence diagram is needed.
[SWS_EthSM_00088] ⌈
The transition from ETHSM_STATE_OFFLINE to
ETHSM_STATE_WAIT_TRCVLINK shall set the controller mode according to the
requested ComM communication mode:
- If ComM requested COMM_FULL_COMMUNICATION, then the controller
mode of the corresponding EthIfCtrl shall be requested with
ETH_MODE_ACTIVE
- If ComM requested
COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST, then the
controller mode of corresponding EthIfCtrl shall be requested with
ETH_MODE_ACTIVE_WITH_WAKEUP_REQUEST
⌋()
[SWS_EthSM_00206] DRAFT ⌈
If EthSMWakeupSleepOnDatalineEnabled is set to TRUE and the EthSM
statmachine is in state ETHSM_STATE_WAIT_TRCVLINK, and ComM request now
COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST, then EthSM shall
request the corresponding EthIfCtrl with
ETH_MODE_ACTIVE_WITH_WAKEUP_REQUEST.⌋(SRS_Eth_00158)
[SWS_EthSM_00128] ⌈
The transition from ETHSM_STATE_WAIT_TRCVLINK to
ETHSM_STATE_OFFLINE shall set the controller mode to ETH_MODE_DOWN. ⌋()
[SWS_EthSM_00130] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_WAIT_TRCVLINK to
ETHSM_STATE_OFFLINE the Ethernet State Manager shall call the callback
function BswM_EthSM_CurrentState of the BswM and transmit the internal state
ETHSM_STATE_OFFLINE.⌋()
[SWS_EthSM_00133] ⌈
The transition from ETHSM_STATE_WAIT_TRCVLINK to
ETHSM_STATE_WAIT_ONLINE shall request the TcpIp state
TCPIP_STATE_ONLINE from the TcpIp module.⌋()
[SWS_EthSM_00134] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_WAIT_TRCVLINK to
ETHSM_STATE_WAIT_ONLINE the Ethernet State Manager shall call the callback
[SWS_EthSM_00136] ⌈
In the state ETHSM_STATE_WAIT_ONLINE the state machine shall have a
transition to ETHSM_STATE_WAIT_TRCVLINK, if the Ethernet interface reports
ETHTRCV_LINK_STATE_DOWN for the corresponding network handle.⌋()
[SWS_EthSM_00137] ⌈
The transition from ETHSM_STATE_WAIT_ONLINE to
ETHSM_STATE_WAIT_TRCVLINK shall request the TcpIp state
TCPIP_STATE_OFFLINE from the TcpIp module.⌋()
[SWS_EthSM_00138] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_WAIT_ONLINE to
ETHSM_STATE_WAIT_TRCVLINK the Ethernet State Manager shall call the
callback function BswM_EthSM_CurrentState of the BswM and transmit the internal
state ETHSM_STATE_WAIT_TRCVLINK.⌋()
[SWS_EthSM_00141] ⌈
The transition from ETHSM_STATE_WAIT_ONLINE to ETHSM_STATE_OFFLINE
sets the controller mode to ETH_MODE_DOWN. ⌋()
[SWS_EthSM_00143] ⌈
The transition from ETHSM_STATE_WAIT_ONLINE to ETHSM_STATE_OFFLINE
shall request the TcpIp state TCPIP_STATE_OFFLINE from the TcpIp module.⌋()
[SWS_EthSM_00144] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_WAIT_ONLINE to
ETHSM_STATE_OFFLINE the Ethernet State Manager shall call the callback
function BswM_EthSM_CurrentState of the BswM and transmit the internal state
ETHSM_STATE_OFFLINE.⌋()
[SWS_EthSM_00148] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_WAIT_ONLINE to
ETHSM_STATE_ONLINE the Ethernet State Manager shall call the callback function
BswM_EthSM_CurrentState of the BswM and transmit the internal state
ETHSM_STATE_ONLINE.⌋()
[SWS_EthSM_00150]⌈
After the successful transition from ETHSM_STATE_WAIT_ONLINE to
ETHSM_STATE_ONLINE the Ethernet State Manager shall set the main state to
ETHSM_FULL_COMMUNICATION and call the callback function
ComM_BusSM_ModeIndication of the ComM with communication mode
COMM_FULL_COMMUNICATION.⌋()
[SWS_EthSM_00152] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_ONLINE to
ETHSM_STATE_WAIT_ONLINE the Ethernet State Manager shall call the callback
function BswM_EthSM_CurrentState of the BswM and transmit the internal state
ETHSM_STATE_WAIT_ONLINE.⌋()
[SWS_EthSM_00154] ⌈
After the successful transition from ETHSM_STATE_ONLINE to
ETHSM_STATE_WAIT_ONLINE the Ethernet State Manager shall set the main state
to ETHSM_NO_COMMUNICATION and call the callback function
ComM_BusSM_ModeIndication of the ComM with communication mode
COMM_NO_COMMUNICATION.⌋()
[SWS_EthSM_00157] ⌈
After entering the state ETHSM_STATE_WAIT_OFFLINE, the API
TcpIp_RequestComMode shall be called with TCPIP_STATE_OFFLINE. ⌋()
[SWS_EthSM_00166] ⌈
In the state ETHSM_STATE_ONLINE the state machine shall have a transition to
ETHSM_STATE_ONHOLD, if the Ethernet Interface reports
ETHTRCV_LINK_STATE_DOWN for the corresponding network handle. ⌋()
[SWS_EthSM_00167] ⌈
The transition from ETHSM_STATE_ONLINE to ETHSM_STATE_ONHOLD shall
request the TcpIp state TCPIP_STATE_ONHOLD from the TcpIp module.⌋()
[SWS_EthSM_00188]⌈
If the optional configuration parameter ETHSM_E_LINK_DOWN exists,
ETHSM_E_LINK_DOWN with EventStatus DEM_EVENT_STATUS_FAILED shall be
reported to the DEM module when switching from ETHSM_STATE_ONLINE to
ETHSM_STATE_ONHOLD.⌋()
[SWS_EthSM_00161] ⌈
The transition from ETHSM_STATE_WAIT_OFFLINE to ETHSM_STATE_OFFLINE
shall set the controller mode to ETH_MODE_DOWN.⌋()
[SWS_EthSM_00163] OBSLETE ⌈
After the successful transition from ETHSM_STATE_WAIT_OFFLINE to
ETHSM_STATE_OFFLINE the Ethernet State Manager shall call the callback
function BswM_EthSM_CurrentState of the BswM and transmit the internal state
ETHSM_STATE_OFFLINE.⌋()
[SWS_EthSM_00165] ⌈
After the successful transition from ETHSM_STATE_WAIT_OFFLINE to
ETHSM_STATE_OFFLINE the Ethernet State Manager shall set the main state to
ETHSM_NO_COMMUNICATION and call the callback function
ComM_BusSM_ModeIndication of the ComM with communication mode
COMM_NO_COMMUNICATION.⌋()
[SWS_EthSM_00209] DRAFT ⌈
In the state ETHSM_STATE_WAIT_OFFLINE the state machine shall have a
transition to ETHSM_STATE_ONLINE, if ComM requests
COMM_FULL_COMMUNICATION or
COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST for the
corresponding network handle.⌋()
[SWS_EthSM_00210] DRAFT ⌈
The transition from ETHSM_STATE_WAIT_OFFLINE to ETHSM_STATE_ONLINE
shall set the controller mode to ETH_MODE_ACTIVE_WITH_WAKEUP_REQUEST,
if ComM requested the EthSM statemachine with
COMM_FULL_COMMUNICATION_WITH_WAKEUP_REQUEST.⌋()
[SWS_EthSM_00211] DRAFT ⌈
The transition from ETHSM_STATE_WAIT_OFFLINE to
ETHSM_STATE_WAIT_ONLINE shall request the TcpIp state
TCPIP_STATE_ONLINE from the TcpIp module.⌋()
[SWS_EthSM_00171] ⌈
The transition from ETHSM_STATE_ONHOLD to ETHSM_STATE_ONLINE shall
request the TcpIp state TCPIP_STATE_ONLINE from the TcpIp module.⌋()
[SWS_EthSM_00172] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_ONHOLD to
ETHSM_STATE_ONLINE the Ethernet State Manager shall call the callback function
BswM_EthSM_CurrentState of the BswM and transmit the internal state
ETHSM_STATE_ONLINE.⌋()
[SWS_EthSM_00196]⌈
If the optional configuration parameter ETHSM_E_LINK_DOWN exists,
ETHSM_E_LINK_DOWN with EventStatus DEM_EVENT_STATUS_PASSED shall
be reported to the DEM module when switching from ETHSM_STATE_ONHOLD to
ETHSM_STATE_ONLINE.⌋()
[SWS_EthSM_00175] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_ONHOLD to
ETHSM_STATE_WAIT_TRCVLINK the Ethernet State Manager shall call the
callback function BswM_EthSM_CurrentState of the BswM and transmit the internal
state ETHSM_STATE_WAIT_TRCVLINK.⌋()
[SWS_EthSM_00177] ⌈
After the successful transition from ETHSM_STATE_ONHOLD to E
ETHSM_STATE_WAIT_TRCVLINK the Ethernet State Manager shall set the main
30 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Specification of Ethernet State Manager
AUTOSAR CP R20-11
[SWS_EthSM_00179] ⌈
The transition from ETHSM_STATE_ONHOLD to ETHSM_STATE_OFFLINE shall
set the controller mode to ETH_MODE_DOWN. ⌋()
[SWS_EthSM_00181]⌈
The transition from ETHSM_STATE_ONHOLD to ETHSM_STATE_OFFLINE shall
request the TcpIp state TCPIP_STATE_OFFLINE from the TcpIp module.⌋()
[SWS_EthSM_00182] OBSOLETE ⌈
After the successful transition from ETHSM_STATE_ONHOLD to
ETHSM_STATE_OFFLINE the Ethernet State Manager shall call the callback
function BswM_EthSM_CurrentState of the BswM and transmit the internal state
ETHSM_STATE_OFFLINE.⌋()
[SWS_EthSM_00184]⌈
After the successful transition from ETHSM_STATE_ONHOLD to
ETHSM_STATE_OFFLINE the Ethernet State Manager shall set the main state to
ETHSM_NO_COMMUNICATION and call the callback function
ComM_BusSM_ModeIndication of the ComM with communication mode
COMM_NO_COMMUNICATION.⌋()
[SWS_EthSM_00083] ⌈
Evertime the EthSM statemachine enters a sub-state, the EthSM shall report the
entered sub-state towards the BswM by calling BswM_EthSM_CurrentState(<entered
sub-state>) (e.g. when entering sub-state ETHSM_STATE_ONLINE, EthSM shall call
BswM_EthSM_CurrentState(ETHSM_STATE_ONLINE). The transistion to
ETHSM_STATE_OFFLINE after initialization (see [SWS_EthSM_00025]) shall not be
reported towards the BswM.⌋()
Note: The BswM need the information about the EthSM internal states (see
[SWS_EthSM_00041])
Note: The ComM needs the information about the communication states, e.g.
COMM_FULL_COMMUNICATION or COMM_NO_COMMUNICATION. The calls
towards the ComM are specified explicitely within the sub-states.
Variant 1 Variant 2
Adapted COTS
COTS Stack
Stack AUTOSAR
component
Ethernet
Interface Non-AUTOSAR
COTS Driver component
Ethernet Driver
[SWS_EthSM_00078]⌈
It is possible to set the Ethernet State Manager in a dummy mode (see chapter 10
configuration specification). In this mode, the Ethernet State Manager doesn’t
support the API to the Ethernet interface. The API to the ComM is available but the
functionality is deactivated. The function calls from the ComM will be answered with
the return value E_OK.⌋()
Based on this foundation, the following section specifies particular errors arranged in
the respective subsections below.
⌋()
[SWS_EthSM_00202]⌈
Error Name: ETHSM_E_LINK_DOWN
Short Description: Link down detection
Long Description: It shall be reported when the transceiver switches to “down” while
communication has already been established and is requested because
of communication request
Recommended DTC: N/A
FAIL During transition from ETHSM_STATE_ONLINE to
ETHSM_STATE_ONHOLD, which is triggered by
EthSM_TrcvLinkStateChg(ETHTRCV_LINK_STATE_DO
WN)
Detection Criteria:
PASS During transition from ETHSM_STATE_ONHOLD to
ETHSM_STATE_ONLINE, which is triggered by
EthSM_TrcvLinkStateChg(ETHTRCV_LINK_STATE_ACTI
VE)
Secondary Parameters: None
PRE_FAIL: Immediately
Time Required:
PASS: Configuration dependent
Monitor Frequency Continuous
MIL illumniation: N/A
33 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Specification of Ethernet State Manager
AUTOSAR CP R20-11
⌋()
8 API specification
Rte_Dem_Type.h Dem_EventIdType
Dem
Rte_Dem_Type.h Dem_EventStatusType
Std_Types.h Std_ReturnType
Std
Std_Types.h Std_VersionInfoType
⌋()
8.2.1 EthSM_NetworkModeStateType
[SWS_EthSM_00041]⌈
Name EthSM_NetworkModeStateType
Kind Enumeration
ETHSM_STATE_
-- EthSM is initialized in this state.
OFFLINE
ETHSM_STATE_ EthSM lost active transceiver link state, TcpIP state is still
--
ONHOLD ONLINE)
Description This type shall define the states of the network mode state machine.
Available
EthSM.h
via
⌋()
Note:
Depending on the Ethernet hardware, it may become necessary that
implementations deviate from API specifications in respect to the
asynchronous/synchronous behaviour.
8.3.1 EthSM_Init
[SWS_EthSM_00043]⌈
Service Name EthSM_Init
void EthSM_Init (
Syntax void
)
Sync/Async Synchronous
8.3.2 EthSM_GetVersionInfo
[SWS_EthSM_00046]⌈
Service Name EthSM_GetVersionInfo
void EthSM_GetVersionInfo (
Syntax Std_VersionInfoType* versioninfo
)
Sync/Async Synchronous
Reentrancy Reentrant
Parameters (out) versioninfo Pointer where to put out the version information.
Description This service puts out the version information of this module.
⌋(SRS_BSW_00407, SRS_BSW_00003)
8.3.3 EthSM_RequestComMode
[SWS_EthSM_00050]⌈
Service Name EthSM_RequestComMode
Std_ReturnType EthSM_RequestComMode (
NetworkHandleType NetworkHandle,
Syntax ComM_ModeType ComM_Mode
)
Sync/Async Asynchronous
Parameters
None
(inout)
Handles the communication mode and sets the Ethernet network active or
Description
passive.
⌋()
Remark: The function reentrancy is limited to different network handles. Reentrancy for
the same network is not to be regarded here.
[SWS_EthSM_00051] ⌈
The function EthSM_RequestComMode checks the network handle of the request. It
only accepts the request, if the network handle of the request is a handle contained in
[SWS_EthSM_00052] ⌈
The function EthSM_RequestComMode shall report
ETHSM_E_INVALID_NETWORK_HANDLE to the DET, if it does not accept the network
handle of the request.⌋()
[SWS_EthSM_00095] ⌈
The function EthSM_RequestComMode shall report
ETHSM_E_INVALID_NETWORK_MODE to the DET, if it does not accept the ComM_Mode
of the request.⌋()
[SWS_EthSM_00053] ⌈
If the function EthSM_RequestComMode accepts the function call, it shall store the
communication mode for the network handle and the corresponding network mode
switch of the state machine shall be initiated in the next main function cycle latest.⌋()
[SWS_EthSM_00054] ⌈
The function EthSM_RequestComMode shall report ETHSM_E_UNINIT to the DET, if
the EthSM is not initialized yet.⌋(SRS_BSW_00406)
[SWS_EthSM_00199]⌈
The function EthSM_RequestComMode shall accept SilentCom request from ComM
and will return E_OK. No error shall be reported to ComM in this case, though SilentCom
is not available according to SWS_EthSM_00203 and SWS_EthSM_00038⌋()
8.3.4 EthSM_GetCurrentComMode
[SWS_EthSM_00055]⌈
Service Name EthSM_GetCurrentComMode
Std_ReturnType EthSM_GetCurrentComMode (
NetworkHandleType NetworkHandle,
Syntax
ComM_ModeType* ComM_ModePtr
)
Sync/Async Synchronous
Parameters
None
(inout)
ComM_Mode
Parameters (out) Pointer where to put out the current communication mode
Ptr
This service shall put out the current communication mode of a Ethernet
Description
network.
⌋()
[SWS_EthSM_00057] ⌈
The function EthSM_GetCurrentComMode checks the network handle of the service
request. It only accepts the service, if the network handle of the request is a handle
contained in the EthSM configuration (configuration parameter EthSMNetworkHandle).
In this case the return value is set to E_OK.
If it is not contained in the configuration, the function denies the request. In this case the
return value is set to E_NOT_OK.⌋()
[SWS_EthSM_00058] ⌈
The function EthSM_GetCurrentComMode shall report
ETHSM_E_INVALID_NETWORK_HANDLE to the DET, if it does not accept the network
handle of the request.⌋()
[SWS_EthSM_00059] ⌈
The function EthSM_GetCurrentComMode puts out the current communication mode
for the network handle to the designated pointer of type ComM_ModeType, if it accepts
the request.⌋()
Remark: Because the Ethernet hardware needs a certain time to proceed with the
request and there is currently no notification mechanism specified, the real hardware
mode and the mode notified by the EthSM might be different until the hardware is ready.
[SWS_EthSM_00060] ⌈
The function EthSM_GetCurrentComMode shall report ETHSM_E_UNINIT to the
DET, if the EthSM is not initialized yet. ⌋ (SRS_BSW_00406, SRS_BSW_00374,
SRS_BSW_00003, SRS_BSW_00318)
8.4.1 EthSM_CtrlModeIndication
[SWS_EthSM_00190]⌈
Service Name EthSM_CtrlModeIndication
void EthSM_CtrlModeIndication (
uint8 CtrlIdx,
Syntax
Eth_ModeType CtrlMode
)
Service ID
0x09
[hex]
Sync/Async Synchronous
Parameters
None
(inout)
Parameters
None
(out)
Called when mode has been read out. Either triggered by previous EthIf_Get
Description ControllerMode or by EthIf_SetControllerMode call. Can directly be called within the
trigger functions.
⌋()
[SWS_EthSM_00191]⌈
If the function EthSM_CtrlModeIndication gets a CtrlIdx, which is not
configured in the configuration of the EthSM module, it shall call the function
Det_ReportError with ErrorId parameter ETHSM_E_PARAM_CONTROLLER.⌋()
[SWS_EthSM_00192]⌈
If the EthSM module is not initialized, when the function
EthSM_CtrlModeIndication is called, then the function
EthSM_CtrlModeIndication shall call the function Det_ReportError with
ErrorId parameter ETHSM_E_UNINIT.⌋()
8.4.2 EthSM_TrcvLinkStateChg
[SWS_EthSM_00109]⌈
Service Name EthSM_TrcvLinkStateChg
void EthSM_TrcvLinkStateChg (
uint8 CtrlIdx,
Syntax EthTrcv_LinkStateType TransceiverLinkState
)
Sync/Async Synchronous
Parameters
None
(inout)
This service is called by the Ethernet Interface to report a transceiver link state
Description
change.
⌋()
[SWS_EthSM_00112] ⌈
The function EthSM_TrcvLinkStateChg shall report
ETHSM_E_PARAM_CONTROLLER to the DET, if it does not accept the CtrlIdx of the
function call.⌋()
[SWS_EthSM_00114] ⌈
If the function EthSM_TrcvLinkStateChg does not report a DET error, it shall store
the transceiver link state for the affected network handle and the corresponding network
mode switch of the state machine shall be initiated in the next main function cycle latest.⌋
()
[SWS_EthSM_00115] ⌈
The function EthSM_TrcvLinkStateChg shall report ETHSM_E_UNINIT to the DET,
if the EthSM is not initialized yet.⌋(SRS_BSW_00406)
8.4.3 EthSM_TcpIpModeIndication
[SWS_EthSM_00110]⌈
Service Name EthSM_TcpIpModeIndication
void EthSM_TcpIpModeIndication (
uint8 CtrlIdx,
Syntax TcpIp_StateType TcpIpState
)
Sync/Async Synchronous
Parameters
None
(inout)
Parameters
None
(out)
This service is called by the TcpIp to report the actual TcpIp state (e.g. online,
Description
offline).
⌋()
[SWS_EthSM_00116] ⌈
If the function EthSM_TcpIpModeIndication gets a CtrlIdx, which is not configured in
the configuration of the EthSM module, it shall call the function Det_ReportError with
ErrorId parameter ETHSM_E_PARAM_CONTROLLER.⌋ ()
[SWS_EthSM_00118] ⌈
If development error detection is enabled, the parameter TcpIpState shall be checked for
being in the allowed range.
In case it is outside of the allowed range, the function EthSM_TcpIpModeIndication
shall ignore the state indication and report development error
ETHSM_E_INVALID_TCP_IP_MODE to the DET.⌋()
[SWS_EthSM_00119] ⌈
If the function EthSM_TcpIpModeIndication accepts the function call, it shall store
the TcpIp state for the affected network handle and the corresponding network mode
switch of the state machine shall be initiated in the next main function cycle latest.⌋()
[SWS_EthSM_00120] ⌈
The function EthSM_TcpIpModeIndication shall report ETHSM_E_UNINIT to the
DET, if the EthSM is not initialized yet.⌋(SRS_BSW_00406)
8.4.4 EthSM_SleepIndication
[SWS_EthSM_91004]{DRAFT} ⌈
Service
EthSM_SleepIndication (draft)
Name
void EthSM_SleepIndication (
Syntax uint8 Ctrl_Idx
)
Service ID
0xa
[hex]
Sync/Async Asynchronous
Parameters
None
(inout)
Parameters
None
(out)
This API is called by the EthIf and indicate that a sleep indication was detected on
the network. This API is only called if the ECU is acting as a passive communication
slave on the corresponding communication channel (the referenced EthTrcv of the
affected EthIfTransceiver has set EthTrcvActAsSlavePassiveEnabled to TRUE). This
Description
could be used e.g. for Ethernet hardware which is compliant to the OA TC10. In this
case the Ethernet hardware detect an Sleep.Indication which was triggered by a
Sleep.Request of the connected link partner.
Tags:atp.Status=draft
⌋(SRS_Eth_00159)
[SWS_EthSM_00213] DRAFT ⌈
If the function EthSM_SleepIndication gets a CtrlIdx, which is not configured in the
configuration of the EthSM module, it shall call the function Det_ReportError with
ErrorId parameter ETHSM_E_PARAM_CONTROLLER, if development error
reporting is enabled (see EthSMDevErrorDetect).
⌋(SRS_Eth_00159)
[SWS_EthSM_00214] DRAFT ⌈
44 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Specification of Ethernet State Manager
AUTOSAR CP R20-11
[SWS_EthSM_00215] DRAFT ⌈
If EthSM_SleepIndication is called, EthSM shall forward this call to ComM by calling
ComM_BusSM_BusSleepMode with the corresponding communication
channel.⌋(SRS_Eth_00159)
8.5.1 EthSM_MainFunction
[SWS_EthSM_00035]⌈
Service Name EthSM_MainFunction
void EthSM_MainFunction (
Syntax void
)
Sync/Async Synchronous
⌋()
[SWS_EthSM_00093] ⌈
The function EthSM_MainFunction shall be called cyclically with a fixed cycle time.
The cycle time could be defined via the configuration parameter
ETHSM_MAIN_FUNCTION_PERIOD. ⌋()
[SWS_EthSM_00197] ⌈
45 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Specification of Ethernet State Manager
AUTOSAR CP R20-11
The main function of the EthSM module shall operate the effects of the EthSM state
machine, which the EthSM module shall implement for each configured network. ⌋()
[SWS_EthSM_00198] ⌈
The EthSM shall monitor the requested and current state of the Ethernet Interface
Controller. If the EthSM detects a mismatch, it shall bring the hardware back to the
corresponding state. (i.e. FullCOM requires the state ETH_MODE_ACTIVE; NoCom
requires ETH_MODE_DOWN) ⌋()
BswM_EthS-
BswM_
M_Current- Function called by EthSM to indicate its current state.
EthSM.h
State
ComM_BusS- Indication of the actual bus mode by the corresponding Bus State
M_Mode- ComM.h Manager. ComM shall propagate the indicated state to the users with
Indication means of the RTE and BswM.
EthIf_Set-
Controller- EthIf.h Enables / disables the indexed controller
Mode
TcpIp_-
By this API service the TCP/IP stack is requested to change the TcpIp
RequestCom- TcpIp.h
state of the communication network identified by EthIf controller index.
Mode
⌋()
Header
API Function Description
File
Notification of the corresponding Bus State Manager that the actual bus
mode is Bus-Sleep.
Only applicable for ComM channels with ComMNmVariant set to
ComM_BusS-
SLAVE_ACTIVE or SLAVE_PASSIVE.
M_BusSleep- ComM.h
E.g. LIN slaves (ComMNMVariant = SLAVE_ACTIVE) or Ethernet
Mode
channels with OA TC10 compliant Ethernet hardware which act as
passive communication slave (ComMNMVariant = SLAVE_PASSIVE
and EthTrcvActAsSlavePassiveEnabled set to TRUE)
Det_Report-
Det.h Service to report development errors.
Error
EthIf_Get-
EthIf.h Obtains the state of the indexed controller
ControllerMode
⌋()
9 Sequence diagrams
«module» «module» «module» «module» «module»
TcpIp BswM ComM EthSM EthIf
EthSM_RequestComMode(NetworkHandle,
ComM_Mode := COMM_FULL_COMMUNICATION)
EthSM Initial State:
EthSM_STATE_OFFLINE
EthIf_SetControllerMode(CtrlIdx,
CtrlMode := ETH_MODE_ACTIVE)
EthSM_CtrlModeIndication(CtrlIdx,
CtrlMode := ETH_MODE_ACTIVE)
ETHSM_STATE_WAIT_TRCVLINK
BswM_EthSM_CurrentState(Network, CurrentState :
= ETHSM_STATE_WAIT_TRCVLINK)
EthSM_TrcvLinkStateChg(NetworkHandle,
TransceiverLinkState :=
ETHTRCV_LINK_STATE_ACTIVE)
TcpIp_RequestComMode(CtrlIdx,
State := TCPIP_STATE_ONLINE)
BswM_EthSM_CurrentState(Network,
ETHSM_STATE_WAIT_ONLINE CurrentState := ETHSM_STATE_WAIT_ONLINE)
EthSM_TcpIpModeIndication(CtrlIdx,
TcpIpState := TCPIP_STATE_ONLINE)
BswM_EthSM_CurrentState(Network,
ETHSM_STATE_ONLINE CurrentState := ETHSM_STATE_ONLINE)
ComM_BusSM_ModeIndication(Channel,
ComMode := COMM_FULL_COMMUNICATION)
Figure 9-1: Network mode state machine – transition from no to full communication
EthSM_RequestComMode(NetworkHandle,
EthSM Initial State:
ComM_Mode := COMM_NO_COMMUNICATION)
EthSM_STATE_ONLINE
BswM_EthSM_CurrentState(Network, CurrentState :=
ETHSM_STATE_WAIT_OFFLINE)
EthIf_SetControllerMode(CtrlIdx,
CtrlMode = ETH_MODE_DOWN)
EthSM_CtrlModeIndication(CtrlIdx,
CtrlMode := ETH_MODE_DOWN)
ETHSM_STATE_OFFLINE
BswM_EthSM_CurrentState(Network,
CurrentState := ETHSM_STATE_OFFLINE)
ComM_BusSM_ModeIndication(Channel,
ComMode := COMM_NO_COMMUNICATION)
Figure 9-2: Network mode state machine – transition from full to no communication
BswM_EthSM_CurrentState(Network, CurrentState :=
ETHSM_STATE_ONHOLD ETHSM_STATE_ONHOLD)
alt
EthSM_TrcvLinkStateChg(NetworkHandle,
[ETHSM_STATE_ONHOLD -> ETHSM_STATE_ONLINE] TransceiverLinkState := ETHTRCV_LINK_STATE_ACTIVE)
ETHSM_STATE_ONHOLD
BswM_EthSM_CurrentState(Network, CurrentState :=
ETHSM_STATE_ONLINE ETHSM_STATE_ONLINE)
BswM_EthSM_CurrentState(Network, CurrentState :=
ETHSM_STATE_WAIT_TRCVLINK)
ETHSM_STATE_WAIT_TRCVLINK
ComM_BusSM_ModeIndication(Channel,
ComMode := COMM_NO_COMMUNICATION)
EthIf_SetControllerMode(CtrlIdx,
CtrlMode := ETH_MODE_DOWN)
EthSM_CtrlModeIndication(CtrlIdx,
CtrlMode := ETH_MODE_DOWN)
BswM_EthSM_CurrentState(Network,
CurrentState := ETHSM_STATE_OFFLINE)
ETHSM_STATE_OFFLINE
ComM_BusSM_ModeIndication(Channel,
ComMode := COMM_NO_COMMUNICATION)
10 Configuration specification
In general, this chapter defines configuration parameters and their clustering into
containers. In order to support the specification Chapter 10.1 describes
fundamentals. It also specifies a template (table) you shall use for the parameter
specification. We intend to leave Chapter 10.1 in the specification to guarantee
comprehension.
Chapter 10.2 specifies the structure (containers) and the parameters of the module
EthSM.
[SWS_EthSM_00081]⌈
A configuration tool will create a configuration structure that is understood by the
EthSM.⌋(SRS_BSW_00159, SRS_BSW_00424, SRS_BSW_00425)
10.2.2 EthSM
SWS Item ECUC_EthSM_00108 :
Module Name EthSM
Module Description Configuration of the Ethernet State Manager
Post-Build Variant Support false
Supported Config Variants VARIANT-PRE-COMPILE
Included Containers
Container Name Multiplicity Scope / Dependency
This container contains the global parameter of the Ethernet
EthSMGeneral 1
State Manager.
This container contains the Ethernet network-specific
parameters of each Ethernet network. It also contains the
EthSMNetwork 1..*
reference to combination of controller and transceiver
assigned to an Ethernet network.
EthSM :EcucModuleDef
EthSMGeneral : EthSMDevErrorDetect :
EcucParamConfContainerDef +parameter
lowerMultiplicity = 0 EcucBooleanParamDef
upperMultiplicity = 1
defaultValue = false
EthSMMainFunctionPeriod :
+parameter EcucFloatParamDef
+container min = 0
max = INF
+parameter EthSMDummyMode :
EcucBooleanParamDef
+parameter EthSMVersionInfoApi :
EcucBooleanParamDef
defaultValue = false
EthSMNetwork : ComMChannel :
+reference EthSMComMNetworkHandleRef : +destination EcucParamConfContainerDef
EcucParamConfContainerDef EcucSymbolicNameReferenceDef
lowerMultiplicity = 1 lowerMultiplicity = 1
upperMultiplicity = * upperMultiplicity = 256
(from ComM)
lowerMultiplicity = 0 lowerMultiplicity = 0
upperMultiplicity = 1 upperMultiplicity = 1
+destination
DemEventId :
DemEventParameter :
EcucIntegerParamDef
EcucParamConfContainerDef +parameter
max = 65535
upperMultiplicity = 65535
min = 1
lowerMultiplicity = 1
symbolicNameValue = true
(from Dem)
(from Dem)
10.2.3 EthSMGeneral
SWS Item ECUC_EthSM_00063 :
Container Name EthSMGeneral
Parent Container EthSM
This container contains the global parameter of the Ethernet State
Description
Manager.
Configuration Parameters
Name EthSMDummyMode
Parent Container EthSMGeneral
Description Disables the API to the EthIf. The API to the ComM is available but the
functionality is deactivated. The function calls from the ComM will be
answered with the return value E_OK.
Multiplicity 1
Type EcucBooleanParamDef
Default value --
Post-Build Variant Value false
Value Configuration Class Pre-compile time X All Variants
Link time --
Post-build time --
Scope / Dependency scope: local
No Included Containers
10.2.4 EthSMNetwork
SWS Item ECUC_EthSM_00067 :
Container Name EthSMNetwork
Parent Container EthSM
This container contains the Ethernet network-specific parameters of each
Description Ethernet network. It also contains the reference to combination of
controller and transceiver assigned to an Ethernet network.
Configuration Parameters
53 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Specification of Ethernet State Manager
AUTOSAR CP R20-11
Included Containers
Container Name Multiplicity Scope / Dependency
Container for the references to DemEventParameter
elements which shall be invoked using the API
EthSMDemEventParameterRef
0..1 Dem_SetEventStatus in case the corresponding error
s
occurs. The EventId is taken from the referenced
DemEventParameter's DemEventId symbolic value. The
10.2.5 EthSMDemEventParameterRefs
SWS Item ECUC_EthSM_00106 :
Container Name EthSMDemEventParameterRefs
Parent Container EthSMNetwork
Container for the references to DemEventParameter elements which shall
be invoked using the API Dem_SetEventStatus in case the corresponding
error occurs. The EventId is taken from the referenced
Description
DemEventParameter's DemEventId symbolic value. The standardized
errors are provided in this container and can be extended by vendor-
specific error references.
Configuration Parameters
No Included Containers