Skip to content

Commit 2919e34

Browse files
committed
GSM library to the new format and some strings adaptations
1 parent 2371e2c commit 2919e34

File tree

85 files changed

+13
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+13
-3
lines changed

hardware/arduino/avr/libraries/GSM/GSM3ShieldV1ModemVerification.cpp renamed to libraries/GSM/arch/avr/GSM3ShieldV1ModemVerification.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ String GSM3ShieldV1ModemVerification::getIMEI()
6969
modemResponse.toCharArray(res_to_compare, modemResponse.length());
7070
if(strstr(res_to_compare,"OK") == NULL)
7171
{
72-
return NULL;
72+
return String(NULL);
7373
}
7474
else
7575
{

hardware/arduino/avr/libraries/GSM/GSM3ShieldV1ScanNetworks.cpp renamed to libraries/GSM/arch/avr/GSM3ShieldV1ScanNetworks.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ String GSM3ShieldV1ScanNetworks::getCurrentCarrier()
6363
String final_result = ptr_token;
6464
return final_result;
6565
}else{
66-
return NULL;
66+
return String(NULL);
6767
}
6868
}
6969

@@ -82,7 +82,7 @@ String GSM3ShieldV1ScanNetworks::getSignalStrength()
8282
final_result.trim();
8383
return final_result;
8484
}else{
85-
return NULL;
85+
return String(NULL);
8686
}
8787
}
8888

libraries/GSM/library.properties

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name=GSM
2+
author=Arduino, Telefonica+ID
3+
email=info@arduino.cc
4+
sentence=With this library you can use the Arduino GSM shield to connect on GSM and GPRS networks
5+
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>
6+
url=http://arduino.cc/en/Reference/GSM
7+
architectures=avr
8+
version=1.0
9+
dependencies= Software Serial
10+
core-dependencies=arduino (>=1.5.0)
File renamed without changes.

0 commit comments

Comments
 (0)