Reference Manual AFDX / ARINC 664 Application Interface Library
167
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
2
2
.
.
4
4
F
F
d
d
x
x
C
C
m
m
d
d
R
R
x
x
U
U
D
D
P
P
B
B
l
l
o
o
c
c
k
k
R
R
e
e
a
a
d
d
Prototype:
AiReturn FdxCmdRxUDPBlockRead (const AiUInt32 ul_Handle,
const TY_FDX_UDP_BLOCK_READ_IN
*px_UdpBlockReadIn,
TY_FDX_UDP_BLOCK_READ_OUT
*px_UdpBlockReadOut);
Driver Command:
FDX_RX_UDP_BLOCK_READ (0x00008082)
Purpose:
This function reads data from one or several UDP connection oriented ports.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
U
U
D
D
P
P
_
_
B
B
L
L
O
O
C
C
K
K
_
_
R
R
E
E
A
A
D
D
_
_
I
I
N
N
*
*
p
p
x
x
_
_
U
U
d
d
p
p
B
B
l
l
o
o
c
c
k
k
R
R
e
e
a
a
d
d
I
I
n
n
Pointer to a structure, which describes the configuration of one or more UDP ports.
typedef struct {
AiUInt32
ul_PortCount;
TY_FDX_BLOCK_READ_IN_PORT*
px_UdpBlockReadInPortArray;
} TY_FDX_UDP_BLOCK_READ_IN;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
P
P
o
o
r
r
t
t
C
C
o
o
u
u
n
n
t
t
Specifies the number of UDP ports which shall be read from.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
B
B
L
L
O
O
C
C
K
K
_
_
R
R
E
E
A
A
D
D
_
_
I
I
N
N
_
_
P
P
O
O
R
R
T
T
*
*
p
p
x
x
_
_
U
U
d
d
p
p
B
B
l
l
o
o
c
c
k
k
R
R
e
e
a
a
d
d
I
I
n
n
P
P
o
o
r
r
t
t
A
A
r
r
r
r
a
a
y
y
Pointer to an array of structures. Each structure describes an individual read operation for a
single UDP port. The array contains ul_PortCount elements.
typedef struct {
AiUInt32
ul_UdpHandle;
AiUInt32
ul_MsgCount;
}TY_FDX_UDP_BLOCK_READ_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
H
H
a
a
n
n
d
d
l
l
e
e
The handle of the UDP port to which the message(s) will be written. This can be a handle
to either a Sampling or Queuing port.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
s
s
g
g
C
C
o
o
u
u
n
n
t
t
Reserved. (Number of Messages to read. Value of this parameter is ignored and set
internal to 1. )
Have also a look to the output parameter section for variables used there as input!
Note:
For all port types the number of messages to read shall be always 1. To read
more messages of one port (queuing type only) add another entry to input array
px_UdpBlockReadInPortArray with same ul_UdpHandle.