Fix GSMLocationTime, XBee, A6
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user