Fix GSMLocationTime, XBee, A6

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-02-20 14:58:06 -05:00
parent 7c0928fa71
commit 8636624a3a
4 changed files with 7 additions and 5 deletions

View File

@@ -65,11 +65,11 @@ class TinyGsmA6 : public TinyGsmModem<TinyGsmA6>,
public:
GsmClientA6() {}
explicit GsmClientA6(TinyGsmA6& modem) {
explicit GsmClientA6(TinyGsmA6& modem, uint8_t = 0) {
init(&modem, -1);
}
bool init(TinyGsmA6* modem, uint8_t) {
bool init(TinyGsmA6* modem, uint8_t = 0) {
this->at = modem;
this->mux = -1;
sock_connected = false;

View File

@@ -97,7 +97,7 @@ class TinyGsmXBee : public TinyGsmModem<TinyGsmXBee>,
init(&modem, mux);
}
bool init(TinyGsmXBee* modem, uint8_t) {
bool init(TinyGsmXBee* modem, uint8_t = 0) {
this->at = modem;
this->mux = 0;
sock_connected = false;

View File

@@ -91,6 +91,8 @@ void loop() {
client.stop();
#if defined(TINY_GSM_MODEM_HAS_SSL)
// modem.addCertificate(); // not yet impemented
// modem.deleteCertificate(); // not yet impemented
TinyGsmClientSecure client_secure(modem);
TinyGsmClientSecure client_secure2(modem);
TinyGsmClientSecure client_secure3(modem, 1);