mirror of
https://github.com/KevinMidboe/TinyGSM.git
synced 2025-10-29 18:00:18 +00:00
Unified interface a bit more
This commit is contained in:
@@ -324,6 +324,17 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* WiFi functions
|
||||
*/
|
||||
bool networkConnect(const char* ssid, const char* pwd) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool networkDisconnect() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* GPRS functions
|
||||
*/
|
||||
@@ -529,7 +540,6 @@ private:
|
||||
}
|
||||
|
||||
int modemConnect(const char* host, uint16_t port, uint8_t mux) {
|
||||
int rsp = 0;
|
||||
for (int i=0; i<3; i++) {
|
||||
String ip = dnsIpQuery(host);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user