******************************************************* * gotc.bat : batch file for use TC 2.0 * gomsc.bat : batch file for use MSC 5.0/6.0 * echocom.prj : project file for TC++3.0 or BC++ 3.1 ******************************************************* program: ECHOCOM.C use : echocom [/pn] [/bm] where n is comport,may be 1 or 2 or 3 m is baudrate(2400-115200) (1) must run on 7188 (2) default baudrate is 9600 , default port is COM3 function description: (1) echo any data on the 7188's COM1/2/3 to COM4. (2) data come from COM4(end with CR(0x0d)) will be send to COM1/2/3(data in will be buffered,until receive 0x0d, 7188 will send out the buffered data.(if checksum enable, will append checksum(2 bytes) after the data,before 0x0d.) (3) press 'q'(not 'Q') to quit. (4) press 's'(not 'S') to toggle checksum mode. so 'q' and 's' will not be send to comport. (5) default mode is checksum disable. (6) protocal is 1 start bit,8 data bit,none parity,1 stop bit. (7) when use COM2, echocom is the same as echo485 (8) press CTRL_A/B/C change to use COM1/2/3 (9) input "*bxxxx" to change baudrate,where the xxxx is baudrate. for example: *b115200 change baudrate to 115200 *b9600 change baudrate to 9600 ************************************************************************ 08/23/1999 bug fixed on using "*bxxxx" to change baudrate.