Browse Source

Added unsupported wifi fxns

v_master
Sara Damiano 6 years ago
parent
commit
df6ab6675b
10 changed files with 18 additions and 3 deletions
  1. BIN
      extras/doc/u-blox SARA-U2 DataSheet (UBX-13005287).pdf
  2. BIN
      extras/doc/u-blox SARA-U2 ProductSummary (UBX-13004142).pdf
  3. +4
    -3
      src/TinyGsmClientA6.h
  4. +2
    -0
      src/TinyGsmClientBG96.h
  5. +2
    -0
      src/TinyGsmClientESP8266.h
  6. +2
    -0
      src/TinyGsmClientM590.h
  7. +2
    -0
      src/TinyGsmClientM95.h
  8. +2
    -0
      src/TinyGsmClientMC60.h
  9. +2
    -0
      src/TinyGsmClientSIM800.h
  10. +2
    -0
      src/TinyGsmClientUBLOX.h

BIN
extras/doc/u-blox SARA-U2 DataSheet (UBX-13005287).pdf View File


BIN
extras/doc/u-blox SARA-U2 ProductSummary (UBX-13004142).pdf View File


+ 4
- 3
src/TinyGsmClientA6.h View File

@ -404,6 +404,8 @@ public:
/* /*
* WiFi functions * WiFi functions
*/ */
bool networkConnect(const char* ssid, const char* pwd) TINY_GSM_ATTR_NOT_AVAILABLE;
bool networkDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* GPRS functions * GPRS functions
@ -411,9 +413,8 @@ public:
bool gprsConnect(const char* apn, const char* user = NULL, const char* pwd = NULL) { bool gprsConnect(const char* apn, const char* user = NULL, const char* pwd = NULL) {
gprsDisconnect(); gprsDisconnect();
sendAT(GF("+CGATT=1"));
if (waitResponse(60000L) != 1)
return false;
sendAT(GF("EE"), 2); // Set security to WPA2
if (waitResponse() != 1) goto fail;
// TODO: wait AT+CGATT? // TODO: wait AT+CGATT?


+ 2
- 0
src/TinyGsmClientBG96.h View File

@ -436,6 +436,8 @@ public:
/* /*
* WiFi functions * WiFi functions
*/ */
bool networkConnect(const char* ssid, const char* pwd) TINY_GSM_ATTR_NOT_AVAILABLE;
bool networkDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* GPRS functions * GPRS functions


+ 2
- 0
src/TinyGsmClientESP8266.h View File

@ -404,6 +404,8 @@ public:
/* /*
* GPRS functions * GPRS functions
*/ */
bool gprsConnect(const char* apn, const char* user = NULL, const char* pwd = NULL) TINY_GSM_ATTR_NOT_AVAILABLE;
bool gprsDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* Messaging functions * Messaging functions


+ 2
- 0
src/TinyGsmClientM590.h View File

@ -413,6 +413,8 @@ public:
/* /*
* WiFi functions * WiFi functions
*/ */
bool networkConnect(const char* ssid, const char* pwd) TINY_GSM_ATTR_NOT_AVAILABLE;
bool networkDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* GPRS functions * GPRS functions


+ 2
- 0
src/TinyGsmClientM95.h View File

@ -435,6 +435,8 @@ public:
/* /*
* WiFi functions * WiFi functions
*/ */
bool networkConnect(const char* ssid, const char* pwd) TINY_GSM_ATTR_NOT_AVAILABLE;
bool networkDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* GPRS functions * GPRS functions


+ 2
- 0
src/TinyGsmClientMC60.h View File

@ -471,6 +471,8 @@ public:
/* /*
* WiFi functions * WiFi functions
*/ */
bool networkConnect(const char* ssid, const char* pwd) TINY_GSM_ATTR_NOT_AVAILABLE;
bool networkDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* GPRS functions * GPRS functions


+ 2
- 0
src/TinyGsmClientSIM800.h View File

@ -483,6 +483,8 @@ public:
/* /*
* WiFi functions * WiFi functions
*/ */
bool networkConnect(const char* ssid, const char* pwd) TINY_GSM_ATTR_NOT_AVAILABLE;
bool networkDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* GPRS functions * GPRS functions


+ 2
- 0
src/TinyGsmClientUBLOX.h View File

@ -435,6 +435,8 @@ public:
/* /*
* WiFi functions * WiFi functions
*/ */
bool networkConnect(const char* ssid, const char* pwd) TINY_GSM_ATTR_NOT_AVAILABLE;
bool networkDisconnect() TINY_GSM_ATTR_NOT_AVAILABLE;
/* /*
* GPRS functions * GPRS functions


Loading…
Cancel
Save