get_hotspot_clients
Retrieve the number of clients connected to the current Wi-Fi hotspot. Detects the AP interface automatically, with an option to specify it, and returns an error if the device isn't in hotspot mode.
Instructions
Get the connected client count in hotspot mode.
Returns an error if the device is not in hotspot mode.
Args: iface: Optional AP interface name; auto-detected if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iface | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||