is a user connected "True/False"
-
- Posts: 2
- Joined: Tue Jun 23, 2020 6:23 pm
is a user connected "True/False"
i have in the past few days tried to search to find a simple command that will check if a user is connected and output to a bool on esp32/arduino. is there such command?
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: is a user connected "True/False"
Is a user connected to what? Http, tcp, WiFi, BT, BTLE, BT-Serial, USB, physically to the devboard using a rope?
-
- Posts: 2
- Joined: Tue Jun 23, 2020 6:23 pm
Re: is a user connected "True/False"
connected to acces point
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: is a user connected "True/False"
Gotcha. You can probably use esp_wifi_ap_get_sta_list for that, just return false if there are zero clients connected.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 78 guests