Browse Source

Fixed test build

v_master
SRGDamia1 7 years ago
parent
commit
adca18c413
5 changed files with 15 additions and 5 deletions
  1. +3
    -1
      tools/test_buildA6/test_build.ino
  2. +3
    -1
      tools/test_buildESP8266/test_build.ino
  3. +3
    -1
      tools/test_buildM590/test_build.ino
  4. +3
    -1
      tools/test_buildSIM800/test_build.ino
  5. +3
    -1
      tools/test_buildXBee/test_build.ino

+ 3
- 1
tools/test_buildA6/test_build.ino View File

@ -33,11 +33,13 @@ void loop() {
modem.factoryDefault(); modem.factoryDefault();
// Test the SIM card functions // Test the SIM card functions
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) || defined(TINY_GSM_MODEM_XBEE)
modem.getSimCCID(); modem.getSimCCID();
modem.getIMEI(); modem.getIMEI();
modem.getSimStatus(); modem.getSimStatus();
modem.getRegistrationStatus(); modem.getRegistrationStatus();
modem.getOperator(); modem.getOperator();
#endif
// Test the Networking functions // Test the Networking functions
@ -72,6 +74,6 @@ void loop() {
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) #if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590)
modem.gprsDisconnect(); modem.gprsDisconnect();
#else #else
networkDisconnect()
modem.networkDisconnect()
#endif #endif
} }

+ 3
- 1
tools/test_buildESP8266/test_build.ino View File

@ -33,11 +33,13 @@ void loop() {
modem.factoryDefault(); modem.factoryDefault();
// Test the SIM card functions // Test the SIM card functions
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) || defined(TINY_GSM_MODEM_XBEE)
modem.getSimCCID(); modem.getSimCCID();
modem.getIMEI(); modem.getIMEI();
modem.getSimStatus(); modem.getSimStatus();
modem.getRegistrationStatus(); modem.getRegistrationStatus();
modem.getOperator(); modem.getOperator();
#endif
// Test the Networking functions // Test the Networking functions
@ -72,6 +74,6 @@ void loop() {
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) #if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590)
modem.gprsDisconnect(); modem.gprsDisconnect();
#else #else
networkDisconnect()
modem.networkDisconnect()
#endif #endif
} }

+ 3
- 1
tools/test_buildM590/test_build.ino View File

@ -33,11 +33,13 @@ void loop() {
modem.factoryDefault(); modem.factoryDefault();
// Test the SIM card functions // Test the SIM card functions
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) || defined(TINY_GSM_MODEM_XBEE)
modem.getSimCCID(); modem.getSimCCID();
modem.getIMEI(); modem.getIMEI();
modem.getSimStatus(); modem.getSimStatus();
modem.getRegistrationStatus(); modem.getRegistrationStatus();
modem.getOperator(); modem.getOperator();
#endif
// Test the Networking functions // Test the Networking functions
@ -72,6 +74,6 @@ void loop() {
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) #if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590)
modem.gprsDisconnect(); modem.gprsDisconnect();
#else #else
networkDisconnect()
modem.networkDisconnect()
#endif #endif
} }

+ 3
- 1
tools/test_buildSIM800/test_build.ino View File

@ -33,11 +33,13 @@ void loop() {
modem.factoryDefault(); modem.factoryDefault();
// Test the SIM card functions // Test the SIM card functions
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) || defined(TINY_GSM_MODEM_XBEE)
modem.getSimCCID(); modem.getSimCCID();
modem.getIMEI(); modem.getIMEI();
modem.getSimStatus(); modem.getSimStatus();
modem.getRegistrationStatus(); modem.getRegistrationStatus();
modem.getOperator(); modem.getOperator();
#endif
// Test the Networking functions // Test the Networking functions
@ -72,6 +74,6 @@ void loop() {
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) #if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590)
modem.gprsDisconnect(); modem.gprsDisconnect();
#else #else
networkDisconnect()
modem.networkDisconnect()
#endif #endif
} }

+ 3
- 1
tools/test_buildXBee/test_build.ino View File

@ -33,11 +33,13 @@ void loop() {
modem.factoryDefault(); modem.factoryDefault();
// Test the SIM card functions // Test the SIM card functions
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) || defined(TINY_GSM_MODEM_XBEE)
modem.getSimCCID(); modem.getSimCCID();
modem.getIMEI(); modem.getIMEI();
modem.getSimStatus(); modem.getSimStatus();
modem.getRegistrationStatus(); modem.getRegistrationStatus();
modem.getOperator(); modem.getOperator();
#endif
// Test the Networking functions // Test the Networking functions
@ -72,6 +74,6 @@ void loop() {
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590) #if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_M590)
modem.gprsDisconnect(); modem.gprsDisconnect();
#else #else
networkDisconnect()
modem.networkDisconnect()
#endif #endif
} }

Loading…
Cancel
Save