|
1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # |
|
8 # Initial Contributors: |
|
9 # Nokia Corporation - initial contribution. |
|
10 # |
|
11 # Contributors: |
|
12 # |
|
13 # Description: |
|
14 # |
|
15 # |
|
16 // command....... asyncOp...... check........ |
|
17 |
|
18 |
|
19 ** start undefined, with user setting on... |
|
20 |
|
21 devicestate 0 none 0 none 0 |
|
22 usersetting 1 none 1000000 pluginstate 0 |
|
23 |
|
24 // test initial negotiation... |
|
25 |
|
26 devicestate 2 none 0 pluginstate 0 |
|
27 devicestate 4 none 0 pluginstate 0 |
|
28 devicestate 32 none 0 pluginstate 0 |
|
29 devicestate 1 none 0 pluginstate 0 |
|
30 devicestate 16 none 0 pluginstate 1 |
|
31 none 0 none 0 milliamps 500 |
|
32 none 0 none 0 charging 0 |
|
33 devicestate 4 none 0 pluginstate 1 |
|
34 devicestate 1 none 0 pluginstate 1 |
|
35 devicestate 32 none 0 pluginstate 1 |
|
36 devicestate 1 none 0 pluginstate 1 |
|
37 devicestate 16 none 0 pluginstate 1 |
|
38 devicestate 8 none 0 pluginstate 3 |
|
39 none 0 none 0 charging 500 |
|
40 |
|
41 ** toggle suspend mode and user setting... |
|
42 |
|
43 devicestate 32 none 0 pluginstate 4 |
|
44 none 0 none 0 charging 0 |
|
45 devicestate 8 none 0 pluginstate 3 |
|
46 none 0 none 0 charging 500 |
|
47 devicestate 32 none 0 pluginstate 4 |
|
48 none 0 none 0 charging 0 |
|
49 devicestate 8 none 0 pluginstate 3 |
|
50 none 0 none 0 charging 500 |
|
51 usersetting 0 delay 100000 pluginstate 5 |
|
52 none 0 none 0 charging 0 |
|
53 devicestate 32 none 0 pluginstate 5 |
|
54 none 0 none 0 charging 0 |
|
55 devicestate 8 none 0 pluginstate 5 |
|
56 none 0 none 0 charging 0 |
|
57 devicestate 32 none 0 pluginstate 5 |
|
58 usersetting 1 delay 100000 pluginstate 4 |
|
59 none 0 none 0 charging 0 |
|
60 devicestate 8 none 0 pluginstate 3 |
|
61 none 0 none 0 charging 500 |
|
62 devicestate 32 none 0 pluginstate 4 |
|
63 usersetting 0 delay 100000 pluginstate 5 |
|
64 none 0 none 0 charging 0 |
|
65 |
|
66 ** re-enumerate.. |
|
67 |
|
68 devicestate 32 none 0 pluginstate 5 |
|
69 devicestate 0 none 0 pluginstate 0 |
|
70 devicestate 2 none 0 pluginstate 7 |
|
71 devicestate 4 none 0 pluginstate 7 |
|
72 devicestate 1 none 0 pluginstate 7 |
|
73 devicestate 16 none 0 pluginstate 7 |
|
74 none 0 none 0 milliamps 500 |
|
75 none 0 none 0 charging 0 |
|
76 |
|
77 ** configure... (but UI is disabled) |
|
78 |
|
79 devicestate 16 none 0 pluginstate 7 |
|
80 devicestate 8 none 0 pluginstate 7 |
|
81 none 0 none 0 charging 0 |
|
82 |
|
83 usersetting 1 delay 100000 pluginstate 7 |
|
84 none 0 none 0 charging 0 |
|
85 |
|
86 ** now try failing to enumerate until current is lowered to 100mA |
|
87 |
|
88 devicestate 32 none 0 pluginstate 7 |
|
89 none 0 none 0 charging 0 |
|
90 devicestate 0 none 0 pluginstate 0 |
|
91 devicestate 2 none 0 pluginstate 0 |
|
92 devicestate 4 none 0 pluginstate 0 |
|
93 devicestate 1 none 0 pluginstate 0 |
|
94 devicestate 16 none 0 pluginstate 1 |
|
95 none 0 none 0 milliamps 500 |
|
96 none 0 none 0 charging 0 |
|
97 |
|
98 none 0 delay 3500000 pluginstate 1 |
|
99 none 0 none 0 milliamps 100 |
|
100 none 0 none 0 charging 0 |
|
101 |
|
102 devicestate 4 delay 1500000 pluginstate 1 |
|
103 devicestate 1 none 0 pluginstate 1 |
|
104 devicestate 32 none 0 pluginstate 1 |
|
105 devicestate 1 none 0 pluginstate 1 |
|
106 devicestate 16 none 0 pluginstate 1 |
|
107 devicestate 8 none 0 pluginstate 3 |
|
108 none 0 none 0 charging 100 |
|
109 |
|
110 devicestate 32 none 0 pluginstate 4 |
|
111 none 0 none 0 charging 0 |
|
112 devicestate 8 none 0 pluginstate 3 |
|
113 none 0 none 0 charging 100 |
|
114 usersetting 0 delay 100000 pluginstate 5 |
|
115 none 0 none 0 charging 0 |
|
116 usersetting 1 delay 100000 pluginstate 3 |
|
117 none 0 none 0 charging 100 |
|
118 |
|
119 ** now try failing to enumerate until current is lowered to 0mA |
|
120 |
|
121 devicestate 32 none 0 pluginstate 4 |
|
122 none 0 none 0 charging 0 |
|
123 devicestate 2 none 0 pluginstate 0 |
|
124 devicestate 4 none 0 pluginstate 0 |
|
125 devicestate 1 none 0 pluginstate 0 |
|
126 devicestate 16 none 0 pluginstate 1 |
|
127 none 0 none 0 milliamps 500 |
|
128 none 0 none 0 charging 0 |
|
129 |
|
130 none 0 delay 3500000 pluginstate 1 |
|
131 none 0 none 0 milliamps 100 |
|
132 none 0 none 0 charging 0 |
|
133 |
|
134 devicestate 16 none 0 pluginstate 1 |
|
135 none 0 delay 3500000 pluginstate 2 |
|
136 none 0 none 0 milliamps 0 |
|
137 none 0 none 0 charging 0 |
|
138 |
|
139 ** so become configured with no current... |
|
140 |
|
141 devicestate 4 delay 1500000 pluginstate 2 |
|
142 devicestate 1 none 0 pluginstate 2 |
|
143 devicestate 32 none 0 pluginstate 2 |
|
144 devicestate 1 none 0 pluginstate 2 |
|
145 devicestate 16 none 0 pluginstate 2 |
|
146 devicestate 8 none 0 pluginstate 6 |
|
147 none 0 none 0 charging 0 |
|
148 |
|
149 devicestate 32 none 0 pluginstate 6 |
|
150 none 0 none 0 charging 0 |
|
151 devicestate 8 none 0 pluginstate 6 |
|
152 none 0 none 0 charging 0 |
|
153 devicestate 32 none 0 pluginstate 6 |
|
154 none 0 none 0 charging 0 |
|
155 devicestate 8 none 0 pluginstate 6 |
|
156 none 0 none 0 charging 0 |
|
157 usersetting 0 delay 100000 pluginstate 6 |
|
158 none 0 none 0 charging 0 |
|
159 usersetting 1 delay 100000 pluginstate 6 |
|
160 none 0 none 0 charging 0 |
|
161 |
|
162 ** and disconnect... |
|
163 |
|
164 devicestate 32 none 0 pluginstate 6 |
|
165 devicestate 0 none 0 pluginstate 0 |
|
166 devicestate 2 none 0 pluginstate 0 |
|
167 devicestate 4 none 0 pluginstate 0 |
|
168 devicestate 1 none 0 pluginstate 0 |
|
169 devicestate 16 none 0 pluginstate 1 |
|
170 none 0 none 0 milliamps 500 |
|
171 none 0 none 0 charging 0 |