Setremoteinterface, Getremoteinterface – Argox PA-20 Programming Guide User Manual
Page 97

PT-20 Programming Guide
95
Case 5:
_printf_color(COLOR_
RED, “RemoteLink baud rate=4800”);
Break;
}
Includes:
#include “SDK.h ”
Description: This function can get RemoteLink baud rate(when use com port).
Returns: 0:115200 bps
1:57600 bps
2:38400 bps
3:19200 bps
4:9600 bps
5:4800 bps
Purpose: Setting the RemoteLink interface.
Syntax: void SetRemoteInterface(int slInterface);
Example call: SetRemoteInterface(int slInterface);
Includes:
#include “SDK.h ”
Description: This function can set RemoteLink connect interface, the interface setting as
follows:
slInterface
Interface
0
RS-232
1
USB
Returns: None
Purpose: Getting the RemoteLink interface.
Syntax: int GetRemoteInterface(void);
Example call: Switch(GetRemoteInterface ())
{
Case 0:
_printf_color(COLOR_
RED, “RemoteLink Interface is RS-232”);
Break;
Case 1:
_printf_color(COLOR_
RED, “RemoteLink Interface is USB”);
Break;
}
Includes:
#include “SDK.h ”
Description: This function can set RemoteLink connect interface.