CLASSIC
Modul: comm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_COMM_SECTION_8_3_8_ComM_GetCurrentComMode
Wortlaut
8.3.8 ComM_GetCurrentComMode
[SWS_ComM_00083] Definition of API function ComM_GetCurrentComMode
Upstream requirements: SRS_ModeMgm_09084,
SRS_ModeMgm_09081,
SRS_ModeMgm_-
09078
⌈
Service Name
ComM_GetCurrentComMode
Syntax
Std_ReturnType ComM_GetCurrentComMode (
ComM_UserHandleType User,
ComM_ModeType* ComMode
)
Service ID [hex]
0x08
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
User
Handle of the user who requests a mode
Parameters (inout)
None
Parameters (out)
ComMode
See ComM_ModeType
Return value
Std_ReturnType
E_OK: Successfully returned Communication Mode from Bus
State Manager
E_NOT_OK: Return of Communication Mode from Bus State
Manager failed
Description
Function to query the current Communication Mode. ComM shall use the corresponding
interfaces of the Bus State Managers to get the current Communication Mode of the network.
(Call to Bus State Manager API: <Bus>SM _GetCurrentComMode(...))
Available via
ComM.h
⌋
[SWS_ComM_00176]
Upstream requirements: SRS_ModeMgm_09172
⌈If more than one channel is linked to one user request and the modes of the channels
are different, the function ComM_GetCurrentComMode shall return the lowest mode
(see [SWS_ComM_00867] and [SWS_ComM_00868]).⌋
[SWS_ComM_00798]
Upstream requirements: SRS_ModeMgm_09090
⌈Configuration of ComM_GetCurrentComMode:
Relationship between users and
channels. A user is statically mapped to one or more channels.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_COMManager.pdf |
|---|---|
| Dokumentseite | Seite 119 |
| Ziel-Modul | comm (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |