Browse Source

Update tools

v_master
Volodymyr Shymanskyy 6 years ago
parent
commit
fe4ee102ec
3 changed files with 7 additions and 1 deletions
  1. +2
    -0
      tools/AT_Debug/AT_Debug.ino
  2. +3
    -1
      tools/Diagnostics/Diagnostics.ino
  3. +2
    -0
      tools/FactoryReset/FactoryReset.ino

+ 2
- 0
tools/AT_Debug/AT_Debug.ino View File

@ -12,6 +12,8 @@
#define TINY_GSM_MODEM_SIM800 #define TINY_GSM_MODEM_SIM800
// #define TINY_GSM_MODEM_SIM808 // #define TINY_GSM_MODEM_SIM808
// #define TINY_GSM_MODEM_SIM900 // #define TINY_GSM_MODEM_SIM900
// #define TINY_GSM_MODEM_UBLOX
// #define TINY_GSM_MODEM_BG96
// #define TINY_GSM_MODEM_A6 // #define TINY_GSM_MODEM_A6
// #define TINY_GSM_MODEM_A7 // #define TINY_GSM_MODEM_A7
// #define TINY_GSM_MODEM_M590 // #define TINY_GSM_MODEM_M590


+ 3
- 1
tools/Diagnostics/Diagnostics.ino View File

@ -14,6 +14,7 @@
// #define TINY_GSM_MODEM_SIM808 // #define TINY_GSM_MODEM_SIM808
// #define TINY_GSM_MODEM_SIM900 // #define TINY_GSM_MODEM_SIM900
// #define TINY_GSM_MODEM_UBLOX // #define TINY_GSM_MODEM_UBLOX
// #define TINY_GSM_MODEM_BG96
// #define TINY_GSM_MODEM_A6 // #define TINY_GSM_MODEM_A6
// #define TINY_GSM_MODEM_A7 // #define TINY_GSM_MODEM_A7
// #define TINY_GSM_MODEM_M590 // #define TINY_GSM_MODEM_M590
@ -56,6 +57,7 @@ const char resource[] = "/TinyGSM/logo.txt";
const int port = 80; const int port = 80;
TinyGsmClient client(modem); TinyGsmClient client(modem);
// For SSL:
//const int port = 443; //const int port = 443;
//TinyGsmClientSecure client(modem); //TinyGsmClientSecure client(modem);
@ -155,7 +157,7 @@ void loop() {
while (client.connected() && millis() - timeout < 10000L) { while (client.connected() && millis() - timeout < 10000L) {
while (client.available()) { while (client.available()) {
char c = client.read(); char c = client.read();
SerialMon.print(c);
//SerialMon.print(c);
bytesReceived += 1; bytesReceived += 1;
timeout = millis(); timeout = millis();
} }


+ 2
- 0
tools/FactoryReset/FactoryReset.ino View File

@ -13,6 +13,8 @@
#define TINY_GSM_MODEM_SIM800 #define TINY_GSM_MODEM_SIM800
// #define TINY_GSM_MODEM_SIM808 // #define TINY_GSM_MODEM_SIM808
// #define TINY_GSM_MODEM_SIM900 // #define TINY_GSM_MODEM_SIM900
// #define TINY_GSM_MODEM_UBLOX
// #define TINY_GSM_MODEM_BG96
// #define TINY_GSM_MODEM_A6 // #define TINY_GSM_MODEM_A6
// #define TINY_GSM_MODEM_A7 // #define TINY_GSM_MODEM_A7
// #define TINY_GSM_MODEM_M590 // #define TINY_GSM_MODEM_M590


Loading…
Cancel
Save