Skip to content

Commit 06434f3

Browse files
committed
[airos] fixed netjoson examples in documentation to be compliant to
netjson
1 parent f176ab1 commit 06434f3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/source/backends/airos.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ AirOS v8.3 can operate in ``bridge`` and ``router`` mode (but defaults to ``brid
154154
.. code-block:: json
155155
156156
{
157+
"type": "DeviceConfiguration",
157158
"netmode": "bridge"
158159
}
159160
@@ -239,9 +240,11 @@ As an example here is a snippet that set the authentication protocol to WPA2 per
239240
{
240241
"name": "wlan0",
241242
"type": "wireless",
242-
"encryption": {
243-
"protocol": "wpa2_personal",
244-
"key": "changeme"
243+
"wireless": {
244+
"encryption": {
245+
"protocol": "wpa2_personal",
246+
"key": "changeme"
247+
}
245248
}
246249
}
247250
]

0 commit comments

Comments
 (0)