@@ -38,7 +38,7 @@ Start diagnostics mode.
38
38
``` bash
39
39
> diag start
40
40
start diagnostics mode
41
- status 0x00
41
+ Done
42
42
```
43
43
44
44
### diag channel
@@ -48,6 +48,7 @@ Get the IEEE 802.15.4 Channel value for diagnostics module.
48
48
``` bash
49
49
> diag channel
50
50
channel: 11
51
+ Done
51
52
```
52
53
53
54
### diag channel \< channel\>
@@ -57,7 +58,7 @@ Set the IEEE 802.15.4 Channel value for diagnostics module.
57
58
``` bash
58
59
> diag channel 11
59
60
set channel to 11
60
- status 0x00
61
+ Done
61
62
```
62
63
63
64
### diag cw start
@@ -123,6 +124,7 @@ Get the tx power value(dBm) for diagnostics module.
123
124
``` bash
124
125
> diag power
125
126
tx power: -10 dBm
127
+ Done
126
128
```
127
129
128
130
### diag power \< power\>
@@ -132,7 +134,7 @@ Set the tx power value(dBm) for diagnostics module.
132
134
``` bash
133
135
> diag power -10
134
136
set tx power to -10 dBm
135
- status 0x00
137
+ Done
136
138
```
137
139
138
140
### diag powersettings
@@ -173,7 +175,7 @@ Send the frame set by `diag frame` if length is omitted. Otherwise overwrite the
173
175
``` bash
174
176
> diag send 20 100
175
177
sending 0x14 packet(s), length 0x64
176
- status 0x00
178
+ Done
177
179
```
178
180
179
181
### diag repeat \< delay\> [ length]
@@ -185,7 +187,7 @@ Send the frame set by `diag frame` if length is omitted. Otherwise overwrite the
185
187
``` bash
186
188
> diag repeat 100 100
187
189
sending packets of length 0x64 at the delay of 0x64 ms
188
- status 0x00
190
+ Done
189
191
```
190
192
191
193
### diag repeat stop
@@ -195,7 +197,7 @@ Stop repeated packet transmission.
195
197
``` bash
196
198
> diag repeat stop
197
199
repeated packet transmission is stopped
198
- status 0x00
200
+ Done
199
201
```
200
202
201
203
### diag radio sleep
@@ -205,7 +207,7 @@ Enter radio sleep mode.
205
207
``` bash
206
208
> diag radio sleep
207
209
set radio from receive to sleep
208
- status 0x00
210
+ Done
209
211
```
210
212
211
213
### diag radio receive
@@ -215,7 +217,7 @@ Set radio from sleep mode to receive mode.
215
217
``` bash
216
218
> diag radio receive
217
219
set radio from sleep to receive on channel 11
218
- status 0x00
220
+ Done
219
221
```
220
222
221
223
### diag radio receive \[ async\] \< number\> \[ lpr\]
@@ -245,6 +247,7 @@ Return the state of the radio.
245
247
``` bash
246
248
> diag radio state
247
249
sleep
250
+ Done
248
251
```
249
252
250
253
### diag radio enable
@@ -312,6 +315,7 @@ received packets: 10
312
315
sent packets: 10
313
316
first received packet: rssi=-65, lqi=101
314
317
last received packet: rssi=-64, lqi=98
318
+ Done
315
319
```
316
320
317
321
### diag stats clear
@@ -321,6 +325,7 @@ Clear statistics during diagnostics mode.
321
325
``` bash
322
326
> diag stats clear
323
327
stats cleared
328
+ Done
324
329
```
325
330
326
331
### diag gpio get \< gpio\>
@@ -384,31 +389,13 @@ first received packet: rssi=-65, lqi=101
384
389
last received packet: rssi=-61, lqi=98
385
390
386
391
stop diagnostics mode
387
- status 0x00
392
+ Done
388
393
```
389
394
390
395
### diag rcp
391
396
392
397
RCP-related diagnostics commands. These commands are used for debugging and testing only.
393
398
394
- #### diag rcp start
395
-
396
- Start RCP diagnostics mode.
397
-
398
- ``` bash
399
- > diag rcp start
400
- Done
401
- ```
402
-
403
- #### diag rcp stop
404
-
405
- Stop RCP diagnostics mode.
406
-
407
- ``` bash
408
- > diag rcp stop
409
- Done
410
- ```
411
-
412
399
#### diag rcp channel \< channel\>
413
400
414
401
Set the RCP IEEE 802.15.4 Channel value for diagnostics module.
0 commit comments