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

SNIP_CLASSIC_DCM_SECTION_8_4_2_Dcm_CopyRxData

Quelle: SWS_DiagnosticCommunicationManager.pdf (Seite 274) • Ziel-Anforderung: SWS_Dcm_00556

Wortlaut

8.4.2 Dcm_CopyRxData [SWS_Dcm_00556] Definition of API function Dcm_CopyRxData ⌈ Service Name Dcm_CopyRxData Syntax BufReq_ReturnType Dcm_CopyRxData ( PduIdType id, const PduInfoType* info, PduLengthType* bufferSizePtr ) Service ID [hex] 0x44 Sync/Async Synchronous Reentrancy Reentrant id Identification of the received I-PDU. Parameters (in) info Provides the source buffer (SduDataPtr) and the number of bytes to be copied (SduLength). An SduLength of 0 can be used to query the current amount of available buffer in the upper layer module. In this case, the SduDataPtr may be a NULL_PTR. Parameters (inout) None Parameters (out) bufferSizePtr Available receive buffer after data has been copied. ▽ Manager △ Return value BufReq_ReturnType BUFREQ_OK: Data copied successfully BUFREQ_E_NOT_OK: Data was not copied because an error occurred. Description This function is called to provide the received data of an I-PDU segment (N-PDU) to the upper layer. Each call to this function provides the next part of the I-PDU data. The size of the remaining buffer is written to the position indicated by bufferSizePtr. This function might be called in interrupt context. Available via Dcm.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_DiagnosticCommunicationManager.pdf
Dokumentseite Seite 274
Ziel-Modul dcm (classic)
Ziel-Anforderung SWS_Dcm_00556
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95