Skip to content

Commit 8da6fc0

Browse files
SuGliderCopilot
andauthored
fix(matter): better commentary
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 97df1e7 commit 8da6fc0

File tree

1 file changed

+2
-2
lines changed
  • libraries/Matter/examples/MatterStatus

1 file changed

+2
-2
lines changed

libraries/Matter/examples/MatterStatus/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ These functions are useful for:
153153

154154
The example periodically reports connection status every 10 seconds:
155155

156-
- **`Matter.isWiFiConnected()`**: Returns `true` if WiFi Station is connected (only available if WiFi Station is enabled)
157-
- **`Matter.isThreadConnected()`**: Returns `true` if Thread is attached to a network (only available if Thread is enabled)
156+
- **`Matter.isWiFiConnected()`**: Returns `true` if WiFi Station is connected. If WiFi Station is not enabled, always returns `false`.
157+
- **`Matter.isThreadConnected()`**: Returns `true` if Thread is attached to a network. If Thread is not enabled, always returns `false`.
158158
- **`Matter.isDeviceConnected()`**: Returns `true` if the device is connected via WiFi or Thread (overall connectivity status)
159159
- **`Matter.isDeviceCommissioned()`**: Returns `true` if the device has been commissioned to a Matter fabric
160160

0 commit comments

Comments
 (0)