OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

dc_mcf_send - Send a message

Format

For details on the format, see the explanation in the applicable OpenTP1 Protocol manual.

Description

The function dc_mcf_send() sends a logical message to other system.

The function sends a segment of a logical message. If the sent logical message consists of one segment, the function dc_mcf_send() must be called only once. If the sent logical message consists of multiple segments, the function dc_mcf_send() must be called as many times as the segments to send one logical message.

The application which is under MCF control (MHP service function) or SPP allows the function dc_mcf_send() to send messages asynchronously to UAP processing.

The maximum length of a single message segment that can be sent is 32 kilobytes. Note that the actual value might be smaller depending on the protocol. For details, see the applicable OpenTP1 Protocol manual.

The MCF area which holds the segment to be sent by the function dc_mcf_send() consists of the area used by the MCF and the area actually holding the message segment to be sent.

The values to be specified for the arguments and the return values vary with the communication protocol in use. For details, see the applicable OpenTP1 Protocol manual.

Note

The message send order varies depending on the mcfmuap -c order specification in the UAP common definition of the MCF manager definition.