Project

General

Profile

Menu Commands » History » Version 2

Hamish, 2008-04-23 16:21

1 1 Hamish
h1. Menu Commands
2
3
h2. close
4
5
- Stop serial communications
6
7
h2. copyright
8
9
- Print the copyright notice
10
11
h2. data
12
13
- Set number of data bits
14
15
h2. help
16
17
- This guff
18
19
h2. kill_conn
20
21
- Stop a given connection's serial communications
22
23
h2. open
24
25
- Connect or resume communications with a serial port
26
27
h2. parity
28
29
- Set the serial parity
30
31
h2. port
32
33
- Set serial port number
34
35
h2. quit
36
37
- exit from this session
38
39
h2. show_conn_table
40
41
- Show the connections table
42
43 2 Hamish
<pre style="background-color:black; color:white">
44
w000c2989d2df> show_conn_table
45
slot state id Menu mThr Net net  netTh Ser serial serialTh Echo netrx nettx
46
---- ----- -- ---- ---- --- ---- ----- --- ------ -------- ---- ----- -----
47
0    ACTIV  1 YES  1884 OK  1900     0 OK    1848     1840 YES     76  1886
48
1    ACTIV  2 YES  1860 OK  1872     0         -1        0 YES     14   783
49
2           0         0        0     0          0        0 NO       0     0
50
3           0         0        0     0          0        0 NO       0     0
51
4           0         0        0     0          0        0 NO       0     0
52
5           0         0        0     0          0        0 NO       0     0
53
6           0         0        0     0          0        0 NO       0     0
54
7           0         0        0     0          0        0 NO       0     0
55
</pre>
56
57 1 Hamish
h2. speed
58
59
- Set serial port speed
60
61
h2. status
62
63
- Show current serial port status
64 2 Hamish
65
<pre style="background-color:black; color:white">
66
w000c2989d2df> status
67
status:
68
69
  port=1  speed=9600  data=8  parity=0  stop=0
70
  state=open
71
72
  connectionid=1  hostname=w000c2989d2df
73
74
</pre>
75 1 Hamish
76
h2. stop
77
78
- Set number of stop bits