162
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
2
2
.
.
2
2
F
F
d
d
x
x
C
C
m
m
d
d
R
R
x
x
S
S
A
A
P
P
C
C
r
r
e
e
a
a
t
t
e
e
P
P
o
o
r
r
t
t
Prototype:
AiReturn FdxCmdRxSAPCreatePort ( AiUInt32 ul_Handle,
const TY_FDX_RX_SAP_CREATE_IN
*px_SapCreateIn,
TY_FDX_RX_SAP_CREATE_OUT
*px_SapCreateOut );
D
D
r
r
i
i
v
v
e
e
r
r
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
FDX_RX_SAP_CREATE_PORT (0x00008080)
Purpose:
Creates a port to receive data from a specified SAP connectionless port. This function can be
used only, if receiver is not running. This function assumes that
FdxCmdRxVLControl
was
previously called in order to enable a VL for reception. On this VL this function creates an
AFDX SAP Rx-port.
Input:
TY_FDX_RX_SAP_CREATE_IN
*
*
p
p
x
x
_
_
S
S
a
a
p
p
C
C
r
r
e
e
a
a
t
t
e
e
I
I
n
n
Pointer to a structure, which describes the SAP port.
typedef struct {
AiUInt32
ul_UdpDst;
AiUInt32 ul_IpDst;
AiUInt32 ul_VlId;
AiUInt32 ul_UdpNumBufMessages;
AiUInt32 ul_UdpMaxMessageSize;
}TY_FDX_RX_SAP_CREATE_IN;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
D
D
s
s
t
t
The UDP destination address of this port.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
I
I
p
p
D
D
s
s
t
t
The IP destination address of this port.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
V
V
l
l
I
I
d
d
The AFDX VL to which this port is associated.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
N
N
u
u
m
m
B
B
u
u
f
f
M
M
e
e
s
s
s
s
a
a
g
g
e
e
s
s
Number of messages which should be stored by the onboard Target software.
Size of the local Buffer which should be created by the onboard Target software to store data
of the created UDP port can be calculated by ul_UdpNumBufMessages *
ul_UdpMaxMessageSize.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
M
M
a
a
x
x
M
M
e
e
s
s
s
s
a
a
g
g
e
e
S
S
i
i
z
z
e
e
;
;
This is the maximum size of the variable length message which can be received by this port.
(0..ize
8kBytes )
Note:
If received message exceeds maximum size this message will be cut
off and only ul_UdpMaxMessageSize bytes will be saved.
Summary of Contents for AFDX / ARINC 664
Page 2: ......