CLASSIC
Modul: dem
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_DEM_SECTION_8_3_3_5_Dem_GetDTCSelectionResultForClearDTC
Wortlaut
8.3.3.5 Dem_GetDTCSelectionResultForClearDTC
[SWS_Dem_91020] Definition of API function Dem_GetDTCSelectionResultFor
ClearDTC ⌈
Service Name
Dem_GetDTCSelectionResultForClearDTC
Syntax
Std_ReturnType Dem_GetDTCSelectionResultForClearDTC (
uint8 ClientId
)
Service ID [hex]
0xbb
Sync/Async
Asynchronous
Reentrancy
Reentrant for different ClientIds, non reentrant for the same ClientId.
Parameters (in)
ClientId
Unique client id, assigned to the instance of the calling module.
Parameters (inout)
None
Parameters (out)
None
Return value
Std_ReturnType
E_OK: The DTC select parameter check is successful and the
requested DTC or group of DTC in the selected origin is selected
for further operations.
DEM_WRONG_DTC: Selected DTC value in selected format does
not exist or a single DTC was selected and Dem only supports to
Clear all DTCs.
DEM_WRONG_DTCORIGIN: Selected DTCOrigin does not exist.
DEM_PENDING: Checking the SelectDTC parameters is currently
in progress. The caller shall call this function again later.
DEM_BUSY: A different Dem_SelectDTC dependent operation
according to [SWS_Dem_01253] of this client is currently in
progress.
E_NOT_OK: No DTC selected.
Description
Provides information if the last call to Dem_SelectDTC has selected a valid DTC or group of
DTCs, respecting the settings if the Dem shall clear only all DTCs.
Available via
Dem.h
⌋
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_DiagnosticEventManager.pdf |
|---|---|
| Dokumentseite | Seite 259 |
| Ziel-Modul | dem (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |