Fixed test build

This commit is contained in:
SRGDamia1
2017-06-08 18:30:26 -04:00
parent d71928f6c2
commit adca18c413
5 changed files with 15 additions and 5 deletions

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
} }

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
} }

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
} }

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
} }

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
} }