CLASSIC
Modul: comstack
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_COMSTACK_SECTION_8_3_4_3_PduR__User_LoTp_StartOfReception
Wortlaut
8.3.4.3 PduR_<User:LoTp>StartOfReception
[SWS_PduR_00507] Definition of callback function PduR_<User:LoTp>StartOf
Reception
Upstream requirements: SRS_GTW_06026, SRS_GTW_06121, SRS_BSW_00310
⌈
Service Name
PduR_<User:LoTp>StartOfReception
Syntax
BufReq_ReturnType PduR_<User:LoTp>StartOfReception (
PduIdType id,
const PduInfoType* info,
PduLengthType TpSduLength,
PduLengthType* bufferSizePtr
)
Service ID [hex]
0x46
Sync/Async
Synchronous
Reentrancy
Reentrant
id
Identification of the I-PDU.
info
Pointer to a PduInfoType structure containing the payload data
(without protocol information) and payload length of the first
frame or single frame of a transport protocol I-PDU reception, and
the MetaData related to this PDU. If neither first/single frame data
nor MetaData are available, this parameter is set to NULL_PTR.
Parameters (in)
TpSduLength
Total length of the N-SDU to be received.
Parameters (inout)
None
Parameters (out)
bufferSizePtr
Available receive buffer in the receiving module. This parameter
will be used to compute the Block Size (BS) in the transport
protocol module.
Return value
BufReq_ReturnType
BUFREQ_OK: Connection has been accepted. bufferSizePtr
indicates the available receive buffer; reception is continued. If no
buffer of the requested size is available, a receive buffer size of 0
shall be indicated by bufferSizePtr.
BUFREQ_E_NOT_OK: Connection has been rejected; reception is
aborted. bufferSizePtr remains unchanged.
BUFREQ_E_OVFL: No buffer of the required length can be
provided; reception is aborted. bufferSizePtr remains unchanged.
Description
This function is called at the start of receiving an N-SDU. The N-SDU might be fragmented into
multiple N-PDUs (FF with one or more following CFs) or might consist of a single N-PDU (SF).
The service shall provide the currently available maximum buffer size when invoked with TpSdu
Length equal to 0.
▽
△
Available via
PduR_<module>.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_PDURouter.pdf |
|---|---|
| Dokumentseite | Seite 92 |
| Ziel-Modul | comstack (classic) |
| Ziel-Anforderung | SWS_PduR_00507 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |