Browse Source

Update ahoywifi.h

pull/652/head
beegee3 2 years ago
committed by GitHub
parent
commit
5056d7c729
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      src/wifi/ahoywifi.h

11
src/wifi/ahoywifi.h

@ -34,6 +34,7 @@ class ahoywifi {
DISCONNECTED = 0,
CONNECTING,
CONNECTED,
IN_AP_MODE,
GOT_IP
} WiFiStatus_t;
@ -41,6 +42,8 @@ class ahoywifi {
void setupAp(void);
void setupStation(void);
void sendNTPpacket(IPAddress& address);
void sortRSSI(int *sort, int n);
void getBSSIDs(void);
void connectionEvent(WiFiStatus_t status);
#if defined(ESP8266)
void onConnect(const WiFiEventStationModeConnected& event);
@ -50,8 +53,7 @@ class ahoywifi {
void onWiFiEvent(WiFiEvent_t event);
#endif
void welcome(String msg);
void sortRSSI(int *sort, int n);
void getBSSIDs(void);
settings_t *mConfig;
appWifiCb mAppWifiCb;
@ -67,11 +69,8 @@ class ahoywifi {
uint8_t mCnt;
uint32_t *mUtcTimestamp;
uint8_t mLoopCnt;
bool mScanActive;
uint8_t mLastApClients;
uint8_t mScanCnt;
bool mScanActive;
std::list<uint8_t> mBSSIDList;
};

Loading…
Cancel
Save