
Reference Manual AFDX / ARINC 664 Application Interface Library
155
Section 4 – Function Reference: Receiver Functions
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
P
P
a
a
y
y
l
l
o
o
a
a
d
d
M
M
o
o
d
d
e
e
This parameter reflects the current Enable, Verification and Payload mode of the given
VL (see
FdxCmdRxVLControl
for detailed explanation of these parameter).
AiUInt32 ul_VL
E
E
r
r
r
r
o
o
r
r
O
O
c
c
c
c
u
u
r
r
r
r
e
e
n
n
c
c
e
e
A
A
/
/
B
B
1
1
This bit-oriented information is a cumulative list of error types which have occurred for
the Virtual –Link.
The Library function
FdxTranslateErrorWord
translates the given Error Word into a zero
terminated string, containing ‘/’ separated Error abbreviations (see Abbreviation Column).
Note: Error Types may occur as combinations of the following constants.
Error Type Constant
Error Description
Abbreviation
FDX_RX_ERROR
GNET_RX_ERROR
Wrong physical Symbol during frame reception.
PHY
FDX_PREAMBLE_ERROR
Wrong Preamble/Start Frame Delimiter received.
PRE
FDX_TRIP_NIBBLE_ERROR
Unaligned Frame length received
TRI
FDX_CRC_ERROR
GNET_CRC_ERROR
MAC CRC Error.
CRC
FDX_SHORG_IFG_ERROR
GNET_SHORG_IFG_ERROR
Short Interframe Gap Error (<960ns)
IFG
FDX_IP_ERROR
GNET_IP_ERROR
AFDX IP Framing Error (AFDX-IP frame specific settings
violated).
IPE
FDX_MAC_ERROR
GNET_MAC_ERROR
AFDX MAC Framing Error (AFDX-MAC frame specific
settings violated).
MAE
FDX_NO_VALID_SFD
Frame without valid Start Frame Delimiter received
SFD
FDX_LONG_FRAME_ERROR
GNET_LONG_FRAME_ERROR
Long Frame Received ( > 1518 Bytes)
LNG
FDX_SHORT_FRAME_ERROR
GNET_SHORT_FRAME_ERROR
Short Frame Received ( < 64 Bytes)
SHR
FDX_VL_FRAME_SIZE_ERROR
GNET_VL_FRAME_SIZE_ERROR
VL specific Frame size Violation
VLS
FDX_SEQUENCE_NO_ERROR
GNET_SEQUENCE_NO_ERROR
Sequence No. Mismatch
SNE
FDX_TRAFFIC_SHAP_ERROR
GNET_TRAFFIC_SHAP_ERROR
Traffic Shaping Violation
TRS
Note:
It is strictly recommended to use the GNET_ defines for the APX-GNET board
because the defines are slightly different to the FDX_ defines. The use of wrong
defines can cause unpredictable results.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
r
r
a
a
m
m
e
e
C
C
o
o
u
u
n
n
t
t
A
A
/
/
B
B
1
1
Counter of valid frames received for that Virtual Link
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
E
E
r
r
r
r
o
o
r
r
C
C
o
o
u
u
n
n
t
t
A
A
/
/
B
B
1
1
Counter of erroneous frames received for that Virtual Link
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
r
r
a
a
m
m
e
e
s
s
P
P
e
e
r
r
S
S
e
e
c
c
o
o
n
n
d
d
A
A
/
/
B
B
1
1
Frames received per second for this VL. This value is updated by the onboard Target
software in a fixed interval.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
r
r
a
a
m
m
e
e
s
s
R
R
m
m
D
D
i
i
s
s
c
c
a
a
r
r
d
d
e
e
d
d
A
A
/
/
B
B
2
2
Each frame received redundant by this port must be discarded by the receiver. This counter
counts all these frames.
1
: The “B”-variables are only applicable, if the Handle used for this function references a
redundant configured port. Then the VL-specific counter and error information for both
ports is provided.
2
: This counter is only applicable, if the Handle used for this function references a
redundant configured port.
Summary of Contents for AFDX / ARINC 664
Page 2: ......