mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #327] Q: How to determine if connected in main loop ? #275
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#275
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gerry33 on GitHub (Mar 3, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/327
I need to query somehow if I'm connected within the main loop.
I send messages to an MQTT server. If I'm not connected I have to buffer.
Thanks for this library !
br
Gerry
@tzapu commented on GitHub (Mar 4, 2017):
hi,
you can just use the normal esp8266 and mqtt lib functions
cheers
@Gerry33 commented on GitHub (Mar 4, 2017):
@tzapu
Thank you very much for the fast response. Appreciated !
I wasn't aware that standard ESP routines are usable .
This did it:
if (WiFi.status() == WL_CONNECTED )Again, a big thumb up for this lib.
br
Gerry
@tzapu commented on GitHub (Mar 4, 2017):
no probs, glad you like it
cheers