DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: std Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_STD_SECTION_8_3_4_Get_Version_Information

Quelle: SWS_BSWGeneral.pdf (Seite 76) • Ziel-Anforderung: SWS_Std_00015

Wortlaut

8.3.4 Get Version Information This section contains general requirements valid for all module specific implementations of the Get Version Information service. [SWS_BSW_00064] Execution behavior of Get Version Information Upstream requirements: SRS_BSW_00407 ⌈Get Version Information function shall be executed synchronously to its call and shall be reentrant.⌋ [SWS_BSW_00052] Return result from Get Version Information Upstream requirements: SRS_BSW_00407 ⌈Get Version Information function shall have only one parameter. This parameter shall return the version information of this BSW Module with type Std_VersionInfoType, imported from Standard Types header (Std_Types.h).⌋ Note that the parameter name is part of each BSW Module specification. The returned version information has type Std_VersionInfoType, which includes Published information from this module (see also [SWS_BSW_00059] and AUTOSAR • Vendor Id • Module Id • Vendor specific version number [SWS_BSW_00051] Configuration parameter for enabling Get Version Information service Upstream requirements: SRS_BSW_00411 ⌈The availability of the Get Version Information API is configurable at Pre-compile time for every single BSW Module. The configuration parameter name shall be formed in the following way: <Ma>VersionInfoApi⌋ Example: 1 /* File: Eep_21_LDExt_Cfg.h */ 2 3 #define EEP_21_LDEXT_VERSION_INFO_API STD_ON /* API is enabled */ Notes: For switching this configuration, the standard types STD_ON and STD_OFF shall be used [SWS_BSW_00029]. General Specification of Basic Software Modules If source code for both caller and callee of Get Version Information service are available, the Implementation source of the BSW Module may realize <Mip>_GetVersion Info as a macro, defined in its Implementation header file. If <Mip>_GetVersionInfo is provided as a macro and a function is required, the provided macro could additionally be wrapped by a function definition. [SWS_BSW_00236] Default configuration value of Get Version Information Upstream requirements: SRS_BSW_00407 ⌈The availability of an API to Get Version Information from a BSW Module shall be configurable and the default value of the configuration shall be that this API is not available.⌋ [SWS_BSW_00164] No restriction to Get Version Information calling context Upstream requirements: SRS_BSW_00407 ⌈It shall be possible to call Get Version Information function at any time (e.g. before the Initialization function is called).⌋ API configuration: • The configuration of Published information [SWS_BSW_00059] of this BSW Module affects the API return values. Please refer to the according BSW Module specification for further implementation details.

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_BSWGeneral.pdf
Dokumentseite Seite 76
Ziel-Modul std (classic)
Ziel-Anforderung SWS_Std_00015
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95