mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +01:00
GSM library to the new format and some strings adaptations
This commit is contained in:
parent
2371e2ce0d
commit
2919e34ff8
@ -69,7 +69,7 @@ String GSM3ShieldV1ModemVerification::getIMEI()
|
|||||||
modemResponse.toCharArray(res_to_compare, modemResponse.length());
|
modemResponse.toCharArray(res_to_compare, modemResponse.length());
|
||||||
if(strstr(res_to_compare,"OK") == NULL)
|
if(strstr(res_to_compare,"OK") == NULL)
|
||||||
{
|
{
|
||||||
return NULL;
|
return String(NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
@ -63,7 +63,7 @@ String GSM3ShieldV1ScanNetworks::getCurrentCarrier()
|
|||||||
String final_result = ptr_token;
|
String final_result = ptr_token;
|
||||||
return final_result;
|
return final_result;
|
||||||
}else{
|
}else{
|
||||||
return NULL;
|
return String(NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ String GSM3ShieldV1ScanNetworks::getSignalStrength()
|
|||||||
final_result.trim();
|
final_result.trim();
|
||||||
return final_result;
|
return final_result;
|
||||||
}else{
|
}else{
|
||||||
return NULL;
|
return String(NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
10
libraries/GSM/library.properties
Normal file
10
libraries/GSM/library.properties
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
name=GSM
|
||||||
|
author=Arduino, Telefonica+ID
|
||||||
|
email=info@arduino.cc
|
||||||
|
sentence=With this library you can use the Arduino GSM shield to connect on GSM and GPRS networks
|
||||||
|
paragraph=Use this library to make/receive voice calls, to send and receive SMS with the Quectel M10 GSM module.</br>This library also allows you to connect to internet through the GPRS networks. You can either use web Clients and Servers.</br>
|
||||||
|
url=http://arduino.cc/en/Reference/GSM
|
||||||
|
architectures=avr
|
||||||
|
version=1.0
|
||||||
|
dependencies= Software Serial
|
||||||
|
core-dependencies=arduino (>=1.5.0)
|
Loading…
x
Reference in New Issue
Block a user