-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from meshtastic/dev-wifi
Dev wifi
- Loading branch information
Showing
8 changed files
with
124 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
|
||
#include <Arduino.h> | ||
#include <functional> | ||
#include <WiFi.h> | ||
|
||
void initWebServer(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
#pragma once | ||
|
||
#include "configuration.h" | ||
#include <Arduino.h> | ||
#include <functional> | ||
|
||
#ifdef HAS_WIFI | ||
#include <WiFi.h> | ||
#include <DNSServer.h> | ||
#endif | ||
|
||
void initWifi(); | ||
|
||
void deinitWifi(); | ||
bool isWifiAvailable(); | ||
|
||
void WiFiEvent(WiFiEvent_t event); | ||
|
||
bool isWifiAvailable(); | ||
|
||
void handleDNSResponse(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include "meshwifi/meshhttp.h" | ||
#include "meshwifi/meshwifi.h" | ||
|
||
void initWifi() {} | ||
|
||
void deinitWifi() {} | ||
|
||
bool isWifiAvailable() | ||
{ | ||
return false; | ||
} | ||
|
||
void handleWebResponse() {} |