CLASSIC
Modul: frtp
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_FRTP_SECTION_7_4_Initialization_and_shutdown
Wortlaut
7.4 Initialization and shutdown
[SWS_FrTp_01028] FrTp module state definition ⌈The FrTp module shall have two internal states, FRTP_OFF and FRTP_ON.⌋
[SWS_FrTp_01029] FrTp state variable for initialization detection ⌈The FrTp module shall implement a static status variable FrTpState to denote whether the FrTp module is initialized or not6.⌋
[SWS_FrTp_01106] FrTp state ⌈The FrTpState shall be checked to detect whether FrTp module is initialized or not.⌋
[SWS_FrTp_01030] Default state is OFF after power-up ⌈The FrTp module shall be in the FRTP_OFF state after power up.⌋
[SWS_FrTp_01032] Initialize state to ON after init has been called ⌈The FrTp module shall change to the internal state FRTP_ON when the FrTp has been successfully initialized by the service primitive FrTp_Init.⌋
[SWS_FrTp_01033] Processing of FrTp operations only after initialization ⌈The FrTp module shall perform normal FrTp operation tasks (e.g. segmentation, reassembly etc.) only when the FrTp module is in the FRTP_ON state7.⌋
[SWS_FrTp_01034] Initialization service handling Upstream requirements: SRS_Fr_05088
⌈The service primitive FrTp_Init shall initialize all global variables of the module and sets all transport protocol connections in a sub-state of FRTP_ON, in which neither transmissions nor receptions are in progress.⌋
[SWS_FrTp_01035] Initialization service clears ongoing connections Upstream requirements: SRS_Fr_05088
⌈If the FrTp module is in the global state FRTP_ON, a call of the service primitive FrTp_Init shall return the module to an uncritical idle state (idle state = FRTP_ON, but neither transmission nor reception are in progress) and the module shall loose all current connections.⌋ 6This variable is used for development error detection 7This requires that FrTp_Init is called before the normal FrTp functionality is used by the COM-Stack.
[SWS_FrTp_01036] OFF state after successful execution of shutdown primitive
⌈The FrTp module shall change to the internal state FRTP_OFF when the service primitive FrTp_Shutdown has been executed successfully.⌋ Figure 7.5: FrTp Initialization and shutdown state diagram
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_FlexRayISOTransportLayer.pdf |
|---|---|
| Dokumentseite | Seite 38 |
| Ziel-Modul | frtp (classic) |
| Ziel-Anforderung | SWS_FrTp_01106 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |