Skip to content

Commit dbd68cc

Browse files
committed
Move sys/wifi/watchdog to sys/watchdog
1 parent 2a3da65 commit dbd68cc

6 files changed

Lines changed: 34 additions & 30 deletions

File tree

common/info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ description: |
220220
- commands
221221
- state
222222
- sys
223-
- wifi
223+
- network
224224
225225
Clearly, if the entire tree were expanded on a request of the root,
226226
then the resulting request may be very large! This large response body

common/paths.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,19 @@
136136
$ref: ../users/paths.yaml#/Patch
137137
/v2/sys/wifi/sta:
138138
get:
139-
$ref: ../wifi/paths.yaml#/StaGet
139+
$ref: ../network/paths.yaml#/StaGet
140140
put:
141-
$ref: ../wifi/paths.yaml#/StaPut
141+
$ref: ../network/paths.yaml#/StaPut
142142
delete:
143-
$ref: ../wifi/paths.yaml#/StaDelete
143+
$ref: ../network/paths.yaml#/StaDelete
144144
/v2/sys/wifi/scan:
145145
get:
146-
$ref: ../wifi/paths.yaml#/ScanGet
147-
/v2/sys/wifi/watchdog:
146+
$ref: ../network/paths.yaml#/ScanGet
147+
/v2/sys/watchdog:
148148
get:
149-
$ref: ../wifi/paths.yaml#/WatchdogGet
149+
$ref: ../network/paths.yaml#/WatchdogGet
150150
patch:
151-
$ref: ../wifi/paths.yaml#/WatchdogPatch
151+
$ref: ../network/paths.yaml#/WatchdogPatch
152152
/v2/sys/time:
153153
get:
154154
$ref: ../sys/paths.yaml#/TimeGet

local.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ x-tagGroups:
4141
- Token
4242
- MQTT
4343
- BPUP
44-
- name: System
44+
- name: Network
4545
tags:
4646
- Wi-Fi Scan
4747
- Wi-Fi Station
48-
- Wi-Fi Watchdog
48+
- Network Watchdog
49+
- name: System
50+
tags:
4951
- Upgrade
5052
- Version
5153
- Reset

local/paths.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@
5252
/v2/api/bpup:
5353
$ref: ../api/bpup.yaml#/Path
5454
/v2/sys/wifi/scan:
55-
$ref: ../wifi/paths.yaml#/WifiScanPath
55+
$ref: ../network/paths.yaml#/WifiScanPath
5656
/v2/sys/wifi/sta:
57-
$ref: ../wifi/paths.yaml#/WifiStaPath
58-
/v2/sys/wifi/watchdog:
59-
$ref: ../wifi/paths.yaml#/WifiWatchDogPath
57+
$ref: ../network/paths.yaml#/WifiStaPath
58+
/v2/sys/watchdog:
59+
$ref: ../network/paths.yaml#/WifiWatchDogPath
6060
/v2/sys/upgrade:
61-
$ref: ../wifi/paths.yaml#/WifiUpgradePath
61+
$ref: ../network/paths.yaml#/WifiUpgradePath
6262
/v2/sys/version:
63-
$ref: ../wifi/paths.yaml#/WifiVersionPath
63+
$ref: ../network/paths.yaml#/WifiVersionPath
6464
/v2/sys/reset:
65-
$ref: ../wifi/paths.yaml#/WifiResetPath
65+
$ref: ../network/paths.yaml#/WifiResetPath
6666
/v2/sys/reboot:
67-
$ref: ../wifi/paths.yaml#/WifiRebootPath
67+
$ref: ../network/paths.yaml#/WifiRebootPath
6868
/v2/sys/time:
6969
$ref: ../sys/paths.yaml#/TimePath
7070
/v2/sys/power:

wifi/paths.yaml renamed to network/paths.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
WifiScanPath:
22
get:
3-
$ref: ../wifi/paths.yaml#/ScanGet
3+
$ref: ../network/paths.yaml#/ScanGet
44
WifiStaPath:
55
get:
6-
$ref: ../wifi/paths.yaml#/StaGet
6+
$ref: ../network/paths.yaml#/StaGet
77
put:
8-
$ref: ../wifi/paths.yaml#/StaPut
8+
$ref: ../network/paths.yaml#/StaPut
99
delete:
10-
$ref: ../wifi/paths.yaml#/StaDelete
10+
$ref: ../network/paths.yaml#/StaDelete
1111
WifiWatchDogPath:
1212
get:
13-
$ref: ../wifi/paths.yaml#/WatchdogGet
13+
$ref: ../network/paths.yaml#/WatchdogGet
1414
patch:
15-
$ref: ../wifi/paths.yaml#/WatchdogPatch
15+
$ref: ../network/paths.yaml#/WatchdogPatch
1616
WifiUpgradePath:
1717
get:
1818
$ref: ../firmware/paths.yaml#/Get
@@ -188,16 +188,16 @@ WatchdogGet:
188188
application/json:
189189
schema:
190190
$ref: schemas.yaml#/Watchdog
191-
description: Wi-Fi Watchdog settings
191+
description: Network Watchdog settings
192192
'401':
193193
$ref: ../common/responses.yaml#/Unauthorized
194194
'500':
195195
$ref: ../common/responses.yaml#/InternalServerError
196196
security:
197197
- BasicAuth: []
198-
summary: Check Wi-Fi Watchdog configuration
198+
summary: Check Network Watchdog configuration
199199
tags:
200-
- Wi-Fi Watchdog
200+
- Network Watchdog
201201
WatchdogPatch:
202202
requestBody:
203203
content:
@@ -206,19 +206,19 @@ WatchdogPatch:
206206
$ref: schemas.yaml#/Watchdog
207207
responses:
208208
'200':
209-
description: Wi-Fi Watchdog config updated
209+
description: Network Watchdog config updated
210210
'401':
211211
$ref: ../common/responses.yaml#/Unauthorized
212212
'500':
213213
$ref: ../common/responses.yaml#/InternalServerError
214214
security:
215215
- BasicAuth: []
216-
summary: Configure Wi-Fi Watchdog
216+
summary: Configure Network Watchdog
217217
description: |
218218
Configure the Wi-Fi watchdog, which runs whenever the Wi-Fi station (`sta`)
219219
is configured.
220220
221221
This watchdog feature is useful on some Wi-Fi networks where the Bond
222222
may lose its connection after some period of time.
223223
tags:
224-
- Wi-Fi Watchdog
224+
- Network Watchdog
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Watchdog:
1010
If enabled, Bond will reboot if not connected to Bond Cloud
1111
within first 10 minutes of boot, or if disconnected for 3 minutes.
1212
13+
Watchdog does not run if Bond is in Wi-Fi Setup mode.
14+
1315
NOTE: Any communication with the Bond over the HTTP transport
1416
will reset the timer as if the Bond were connected to the cloud.
1517
rwdg_timer_ms:

0 commit comments

Comments
 (0)