Menu Commands » History » Version 3
Hamish, 2008-04-23 16:23
| 1 | 1 | Hamish | h1. Menu Commands |
|---|---|---|---|
| 2 | |||
| 3 | h2. close |
||
| 4 | |||
| 5 | 3 | Hamish | close |
| 6 | 1 | Hamish | |
| 7 | 3 | Hamish | Stop serial communications |
| 8 | |||
| 9 | 1 | Hamish | h2. copyright |
| 10 | |||
| 11 | 3 | Hamish | copyright |
| 12 | 1 | Hamish | |
| 13 | 3 | Hamish | Print the copyright notice |
| 14 | |||
| 15 | 1 | Hamish | h2. data |
| 16 | |||
| 17 | 3 | Hamish | data *5|6|7|8* |
| 18 | 1 | Hamish | |
| 19 | 3 | Hamish | Set number of data bits |
| 20 | |||
| 21 | 1 | Hamish | h2. help |
| 22 | |||
| 23 | 3 | Hamish | Show some quick help for the menu commands |
| 24 | 1 | Hamish | |
| 25 | h2. kill_conn |
||
| 26 | |||
| 27 | 3 | Hamish | kill_conn *Connection ID* |
| 28 | 1 | Hamish | |
| 29 | 3 | Hamish | Stop a given connection's serial communications |
| 30 | |||
| 31 | 1 | Hamish | h2. open |
| 32 | |||
| 33 | 3 | Hamish | open *[port number]* |
| 34 | 1 | Hamish | |
| 35 | 3 | Hamish | Connect or resume communications with a serial port |
| 36 | |||
| 37 | 1 | Hamish | h2. parity |
| 38 | |||
| 39 | 3 | Hamish | parity *no|even|odd|mark|space* |
| 40 | 1 | Hamish | |
| 41 | 3 | Hamish | Set the serial parity |
| 42 | |||
| 43 | 1 | Hamish | h2. port |
| 44 | |||
| 45 | 3 | Hamish | port *port number* |
| 46 | 1 | Hamish | |
| 47 | 3 | Hamish | Set serial port number |
| 48 | |||
| 49 | 1 | Hamish | h2. quit |
| 50 | |||
| 51 | 3 | Hamish | quit |
| 52 | 1 | Hamish | |
| 53 | 3 | Hamish | Exit from this session |
| 54 | |||
| 55 | 1 | Hamish | h2. show_conn_table |
| 56 | |||
| 57 | 3 | Hamish | show_conn_table |
| 58 | 2 | Hamish | |
| 59 | 3 | Hamish | Show the connections table |
| 60 | |||
| 61 | <pre style="background-color:black; color:green"> |
||
| 62 | 2 | Hamish | w000c2989d2df> show_conn_table |
| 63 | slot state id Menu mThr Net net netTh Ser serial serialTh Echo netrx nettx |
||
| 64 | ---- ----- -- ---- ---- --- ---- ----- --- ------ -------- ---- ----- ----- |
||
| 65 | 1 | Hamish | 0 ACTIV 1 YES 1884 OK 1900 0 OK 1848 1840 YES 76 1886 |
| 66 | 2 | Hamish | 1 ACTIV 2 YES 1860 OK 1872 0 -1 0 YES 14 783 |
| 67 | 1 | Hamish | 2 0 0 0 0 0 0 NO 0 0 |
| 68 | 3 0 0 0 0 0 0 NO 0 0 |
||
| 69 | 2 | Hamish | 4 0 0 0 0 0 0 NO 0 0 |
| 70 | 1 | Hamish | 5 0 0 0 0 0 0 NO 0 0 |
| 71 | 6 0 0 0 0 0 0 NO 0 0 |
||
| 72 | 7 0 0 0 0 0 0 NO 0 0 |
||
| 73 | </pre> |
||
| 74 | 2 | Hamish | |
| 75 | h2. speed |
||
| 76 | |||
| 77 | 3 | Hamish | speed *bits per second* |
| 78 | 1 | Hamish | |
| 79 | 3 | Hamish | Set serial port speed |
| 80 | |||
| 81 | 1 | Hamish | h2. status |
| 82 | |||
| 83 | 3 | Hamish | status |
| 84 | 1 | Hamish | |
| 85 | 3 | Hamish | Show current serial port status |
| 86 | |||
| 87 | <pre style="background-color:black; color:green"> |
||
| 88 | 2 | Hamish | w000c2989d2df> status |
| 89 | status: |
||
| 90 | |||
| 91 | port=1 speed=9600 data=8 parity=0 stop=0 |
||
| 92 | state=open |
||
| 93 | |||
| 94 | connectionid=1 hostname=w000c2989d2df |
||
| 95 | |||
| 96 | </pre> |
||
| 97 | |||
| 98 | h2. stop |
||
| 99 | 1 | Hamish | |
| 100 | 3 | Hamish | stop *1|1.5|2* |
| 101 | |||
| 102 | Set number of stop bits |