102
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
s
s
t
t
r
r
u
u
c
c
t
t
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
Q
Q
U
U
I
I
N
N
T
T
U
U
P
P
L
L
E
E
T
T
This structure describes a full identification of the communication.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
U
U
d
d
p
p
S
S
r
r
c
c
UDP port-number of the source UDP port.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
I
I
p
p
S
S
r
r
c
c
IP address of the source partition.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
V
V
l
l
I
I
d
d
Virtual Link Identifier
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
I
I
p
p
D
D
s
s
t
t
Destination IP address
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
U
U
d
d
p
p
D
D
s
s
t
t
Destination UDP port
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
u
u
b
b
V
V
l
l
I
I
d
d
;
;
Sub Virtual Link Identifier (Sub VLs are only relevant in Tx Mode). This value must be in a
range from 1 to 4. If Sub VLs are not used, the Sub VL Id equals to 1.
Note:
Must be consistent with parameter ul_SubVls of function FdxCmdTxCreateVL or
FdxCmdTxCreateHiResVL.
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 can 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.
New!
For sampling ports the number of messages shall normally be set to 1. But it is also possible
for sampling ports to define an buffer input queue.
This queue can internally processed either as FIFO or as a cyclic queue. To decide wich mode
shall be used set Bit 31 of ul_UdpNumBufMessages to
‘0’ for FIFO or
‘1 for cyclic.
For queuing ports an adequate buffer depth have to be provided.
If this value is set to zero, the onboard target software will set to a default value.
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
;
;
Maximum size of a message to send.
For a sampling port, this is the fix size of the sampling message, which means the size without
the header overhead (MAC, IP and UDP).
For a queuing port this is the maximum size of the variable length message.
Port Type
Value
Sampling
Must be equal or smaller than ul_MaxFrameLength – (MAC, IP and UDP)
defined in function
FdxCmdTxCreateVL
or
FdxCmdTxCreateHiResVL.
Queuing
Must be equal or smaller than 8Kbytes (max. UDP message size)