90
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
3
3
.
.
3
3
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
S
S
A
A
P
P
B
B
l
l
o
o
c
c
k
k
W
W
r
r
i
i
t
t
e
e
Prototype:
AiReturn FdxCmdTxSAPBlockWrite (AiUInt32 ul_Handle,
const TY_FDX_SAP_BLOCK_WRITE_IN
*px_SapBlockWriteIn,
TY_FDX_SAP_BLOCK_WRITE_OUT
*px_SapBlockWriteOut);
Driver Command:
FDX_TX_SAP_BLOCK_WRITE (0x00008066)
Purpose:
This function is used to write a pure message to one or more SAP ports. If the data size is not
applicable for the data size associated to this port this function will return an error.
This function can be used if the transmitter is running or not running.
Input:
TY_FDX_SAP_BLOCK_WRITE_IN
*px_SapBlockWriteIn
typedef struct {
AiUInt32 ul_MsgCount;
TY_FDX_SAP_BLOCK_WRITE_IN_MSG* px_SapBlockWriteMsgArray;
} TY_FDX_SAP_BLOCK_WRITE_IN;
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
Specifies the number of messages to be written.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
S
S
A
A
P
P
_
_
B
B
L
L
O
O
C
C
K
K
_
_
W
W
R
R
I
I
T
T
E
E
_
_
I
I
N
N
_
_
M
M
S
S
G
G
*
*
p
p
x
x
_
_
S
S
a
a
p
p
B
B
l
l
o
o
c
c
k
k
W
W
r
r
i
i
t
t
e
e
M
M
s
s
g
g
A
A
r
r
r
r
a
a
y
y
Pointer to an array structures. Each structure describes the message to be written to a single
UDP transmission port. The array contains ul_MsgCount elements.
typedef struct {
AiUInt32 ul_UdpHandle;
AiUInt32 ul_ByteCount;
AiUInt32 ul_UdpDst;
AiUInt32 ul_IpDst;
void *pv_Data;
} TY_FDX_SAP_BLOCK_WRITE_IN_MSG;
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 shall be written. This may be a handle
to either a Queuing or Sampling UDP port.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
y
y
t
t
e
e
C
C
o
o
u
u
n
n
t
t
Number of bytes to write to this SAP port. The value must be equal or smaller than
ul_MaxMessageSize defined with FdxCmdTxSAPCreatePort().
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 port for the message
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 of the message
Summary of Contents for AFDX / ARINC 664
Page 2: ......