Can't seem to get the GSM Shield Libs to work

Hello All,

I can't seem to get the GSM Shield libraries to work as outline here:-

I have an Arduino UNO and an official GSM Shield. All the examples I've tried seem to hang here : -

gsmAccess.begin(PINNUMBER) == GSM_READY

Even if debug mode is set it just hangs, no useful information is displayed.

I've create a serial relay to software serial (pins 2,3) to send AT commands via the serial monitor and it works fine. It just seems like the library isn't working for me.

I am using Linux based machine to program the UNO and I am on Version 1.8.16. The GSM version I am using is 1.0.6.

I am getting a few warnings when I try to compile

warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

GSM3ShieldV1ModemVerification.cpp: In member function 'String GSM3ShieldV1ModemVerification::getIMEI()':
GSM3ShieldV1ModemVerification.cpp:64:20: warning: passing NULL to non-pointer argument 1 of 'String::String(int, unsigned char)' [-Wconversion-null]
String number(NULL);
GSM3ShieldV1ScanNetworks.cpp: In member function 'String GSM3ShieldV1ScanNetworks::getCurrentCarrier()':
GSM3ShieldV1ScanNetworks.cpp:66:21: warning: passing NULL to non-pointer argument 1 of 'String::String(int, unsigned char)' [-Wconversion-null]
return String(NULL);
GSM3ShieldV1ScanNetworks.cpp: In member function 'String GSM3ShieldV1ScanNetworks::getSignalStrength()':
GSM3ShieldV1ScanNetworks.cpp:85:21: warning: passing NULL to non-pointer argument 1 of 'String::String(int, unsigned char)' [-Wconversion-null]
return String(NULL);

Anyone have any ideas?

Thanks

It looks like that library has not changed much in 7 years. A search for "GSM" on the Arduino story didn't turn up any current GSM Shield products.

Do you have the retired "GSM Shield", or the retired "GSM Shield 2"?

All if the GSM modules on the market are severly outdated and most dont work the chinese are just emptying thier stock to the us and it doesnt work here cause 2g is pretty mich extinct,if you are serious about finding a gsm solution i would go with a "particle boron" it has small form factor built in gsm and ota out the box with a sma co ax so you can have some serious range if desired,its like 80 but i think it gives you free data every month,other than that i wouldnt put my effort in anything else since its fleeting technology

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.