Intermec 5055 Reference Guide

Page of 216
im_cancel_tx_buffer
5-5
5
im_cancel_tx_buffer
Purpose:
This function removes a message from the transmit buffer that is waiting to be
transmitted.
Syntax:
#include "im5055.h"
IM_STATUS im_cancel_tx_buffer
    (IM_COM_PORT 
comport
);
IN Parameters:
comport    Specifies the communications port and is one of these constants:
IM_COM1    COM1 input.
IM_COM2    COM2 input.
IM_NET    Network input.
OUT Parameters:
None.
Return Value:
This function returns one of these codes:
IM_SUCCESS    Successfully removed message.
IM_PORT_INACTIVE    No transmit pending.
IM_TRANSMIT_COMPLETE    Attempted to cancel, but message was already sent.
IM_NET_ERROR    Unknown network error.
Notes:
This function provides compatibility with the JANUS PSK functions. It is not intended
for newer applications and has no effect on the 5055.
See Also:
im_transmit_buffer
Example
No example. This function provides compatibility with the JANUS PSK functions.