SDK Programming Guide Version 1.511
ABLELink
R
Ethernet-Serial Server MAXI Series
Example:
com_port = 0 ; // 0:COM1
ret = Com_TxQueIsEmpty( com_port) ;
if (ret==0) {
//not empty
}
else {
//is empty
}
Remarks:
Com_DTR_Active()
Description:
Control the DTR signal.
Include:
comapi.h
Usage:
void Com_DTR_Active (int
iport,
int
active
)
Input Parameters:
iport:
serial port number of Serial Server, 0: 1st port
active:
0: inactive, 1: active
Return Value:
none.
Example:
com_port = 0 ; // 0:COM1
active = 1
Com_DTR_Active( com_port, active) ;
Remarks:
Com_RTS_Active()
Description:
Control the RTS signal.
Include:
comapi.h
Usage:
void Com_RTS_Active (int
iport,
int
active
)
Input Parameters:
iport:
serial port number of Serial Server, 0: 1st port
active:
0: inactive, 1: active
Return Value:
none.
Copyright © 2004 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.