@@ -103,24 +103,33 @@ Performs device factory reset that is hardware reset preceded by erasing of the
103
103
whole Matter settings stored in a non-volatile memory.
104
104
105
105
``` shell
106
- uart:~ $ matter factoryreset
106
+ uart:~ $ matter device factoryreset
107
107
Performing factory reset ...
108
108
```
109
109
110
110
### onboardingcodes
111
111
112
112
Handles a group of commands that are used to view information about device
113
- onboarding codes. You can use this command without any subcommand to print all
114
- available onboarding codes or to add a specific subcommand.
113
+ onboarding codes. The ` onboardingcodes ` command takes one required parameter for
114
+ the rendezvous type, then an optional parameter for printing a specific type of
115
+ onboarding code.
116
+
117
+ The full format of the command is:
118
+
119
+ ```
120
+ onboardingcodes none|softap|ble|onnetwork [qrcode|qrcodeurl|manualpairingcode]
121
+ ```
122
+
123
+ To print all the onboardingcodes:
115
124
116
125
``` shell
117
- uart:~ $ matter onboardingcodes
126
+ uart:~ $ matter onboardingcodes none
118
127
QRCode: MT:W0GU2OTB00KA0648G00
119
128
QRCodeUrl: https://dhrishi.github.io/connectedhomeip/qrcode.html? data=MT%3AW0GU2OTB00KA0648G00
120
129
ManualPairingCode: 34970112332
121
130
```
122
131
123
- The ` onboardingcodes ` command can also take the subcommands listed below.
132
+ To print a specific type of onboarding code:
124
133
125
134
#### qrcode
126
135
@@ -129,7 +138,7 @@ Prints the device
129
138
Takes no arguments.
130
139
131
140
``` shell
132
- uart:~ $ matter onboardingcodes qrcode
141
+ uart:~ $ matter onboardingcodes none qrcode
133
142
MT:W0GU2OTB00KA0648G00
134
143
```
135
144
@@ -140,7 +149,7 @@ Prints the URL to view the
140
149
in a web browser. Takes no arguments.
141
150
142
151
``` shell
143
- uart:~ $ matter onboardingcodes qrcodeurl
152
+ uart:~ $ matter onboardingcodes none qrcodeurl
144
153
https://dhrishi.github.io/connectedhomeip/qrcode.html? data=MT%3AW0GU2OTB00KA0648G00
145
154
```
146
155
@@ -150,7 +159,7 @@ Prints the pairing code for the manual onboarding of a device. Takes no
150
159
arguments.
151
160
152
161
``` shell
153
- uart:~ $ matter onboardingcodes manualpairingcode
162
+ uart:~ $ matter onboardingcodes none manualpairingcode
154
163
34970112332
155
164
```
156
165
0 commit comments