OpenTP1 Version 7 Tester and UAP Trace User's Guide
An XATMI receive data file stores the messages received by the UAP in the tprecv function when making the conversational service paradigm. A single file can contain a number of data items which are passed consecutively to the tprecv function.
Create an XATMI receive data file for each service.
Item | Position | Length (bytes) | Contents |
---|---|---|---|
Common area | 0 | 36 | Area shared with the XATMI send data file. Specify a space or null character. |
Buffer type | 36 | 8 |
|
Buffer subtype | 44 | 16 | Buffer subtype, specified as a string of up to 16 characters. Specify a null character when specifying X_OCTET as the buffer type. |
Event flag | 60 | 4 | One of the following hexadecimal values as the event flag to be passed to the tprecv function:
|
Data length | 64 | 4 | Length of the data to be passed to the tprecv function (0-524288). Specify zero when no data is passed. The buffer type and subtype specifications are ignored when zero is specified. |
Data | 68 | n | Data to be passed to the tprecv function |
tprecv(.....,data,len,.....,revent) 1. 2. 3. |
Figure 3-1 Receive data and tester files
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.