SNIP_CLASSIC_STD_SECTION_8_3_4_1_PduR__User_LoTp_CopyRxData
Wortlaut
8.3.4.1 PduR_<User:LoTp>CopyRxData
[SWS_PduR_00512] Definition of callback function PduR_<User:LoTp>CopyRx
Data
Upstream requirements: SRS_GTW_06026, SRS_GTW_06121, SRS_BSW_00310
⌈
Service Name
PduR_<User:LoTp>CopyRxData
Syntax
BufReq_ReturnType PduR_<User:LoTp>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.
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.
Available via
PduR_<module>.h
⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Disabled routing path behavior for function
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_PDURouter.pdf |
|---|---|
| Dokumentseite | Seite 91 |
| Ziel-Modul | std (classic) |
| Ziel-Anforderung | SWS_PduR_00805 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.80 |