Project

General

Profile

Menu Commands » History » Revision 3

Revision 2 (Hamish, 2008-04-23 16:21) → Revision 3/11 (Hamish, 2008-04-23 16:23)

h1. Menu Commands 

 h2. close 

   close 

 - Stop serial communications 

 h2. copyright 

   copyright 

 - Print the copyright notice 

 h2. data 

   data *5|6|7|8* 

 - Set number of data bits 

 h2. help 

 Show some quick help for the menu commands - This guff 

 h2. kill_conn 

   kill_conn *Connection ID* 

 - Stop a given connection's serial communications 

 h2. open 

   open *[port number]* 

 - Connect or resume communications with a serial port 

 h2. parity 

   parity *no|even|odd|mark|space* 

 - Set the serial parity 

 h2. port 

   port *port number* 

 - Set serial port number 

 h2. quit 

   quit 

 Exit - exit from this session 

 h2. show_conn_table 

   show_conn_table 

 - Show the connections table 

 <pre style="background-color:black; color:green"> color:white"> 
 w000c2989d2df> show_conn_table 
 slot state id Menu mThr Net net    netTh Ser serial serialTh Echo netrx nettx 
 ---- ----- -- ---- ---- --- ---- ----- --- ------ -------- ---- ----- ----- 
 0      ACTIV    1 YES    1884 OK    1900       0 OK      1848       1840 YES       76    1886 
 1      ACTIV    2 YES    1860 OK    1872       0           -1          0 YES       14     783 
 2             0           0          0       0            0          0 NO         0       0 
 3             0           0          0       0            0          0 NO         0       0 
 4             0           0          0       0            0          0 NO         0       0 
 5             0           0          0       0            0          0 NO         0       0 
 6             0           0          0       0            0          0 NO         0       0 
 7             0           0          0       0            0          0 NO         0       0 
 </pre> 

 h2. speed 

   speed *bits per second* 

 - Set serial port speed 

 h2. status 

   status 

 - Show current serial port status 

 <pre style="background-color:black; color:green"> color:white"> 
 w000c2989d2df> status 
 status: 

   port=1    speed=9600    data=8    parity=0    stop=0 
   state=open 

   connectionid=1    hostname=w000c2989d2df 

 </pre> 

 h2. stop 

   stop *1|1.5|2* 

 - Set number of stop bits