Dear community,
recently I got myself an original GSM v2 shield from Arduino for my Mega ADK board, and now I am about to do my first steps on communication to and from the Quectel M10 chip onboard the shield.
In preparation I followed user guide on the Arduino site to adapt the ADK board (Pin 10 instead of Pin2) for GSM TXing and bended the Pin2 on ADK board as proposed.
Then I opened the Example Sketch /GSM/Tools/TestModem for checking if the M10 responds on any request by the software. Additionally I attached an oscilloscope on GSM RX/TX line verifying the data online.
After compiling and starting up the sketch "ModemTest" there are some things to remark:
First, if I compile any of these GSM sketches, the compiler brings up a lot of various warnings like "typedef was ignored" or other "deprecated String issues". It doesn't matter which Sketch to be opened, I can't get rid of these warnings. Even if I try it on "Sloeber 4.6", same scenario and a lot of warnings after opening a default sketch.
So - have these libraries (in this case GSM 1.0.5) never been fully tested and qualified before publishing them or has a user accept these warnings and just ignore them? (which I wouldn't prefer)
Well, if I upload the copiled software it comes up with the message "Starting modem test..."
After approx. 12 seconds something happens on the TX line of the Arduino.
As I activated my UART decoding on oscilloscope, it tells me that Arduino prints an "A and "
The Quectel M10 doesn't recognize this /corrupt/ command and thus does not respond.
Next try, using the "SMS Messages Receiver" Sketch...
Compiler brings up a lot of warnings like:
"deprecated conversion from string constant to 'char*' [-Wwrite-strings]"
"passing NULL to non-pointer argument 1 of 'String::String(int, unsigned char)' [-Wconversion-null]"
etc.
Arduino starts with "AT" Command, M10 responds with something like "AT OK"
then
Arduino continues dataflow with "AT+CGREG?", M10 responds with
"AT+CGREG? AT+CGREG 0,0 OK"
But then....nothing happens anymore and the system state remains or hangs at "SMS Messages Receiver".
It's the same for various other GSM applications, software hangs at startup.
Just tried other sketches like "BandManagement.ino" or "ReceiveSMS" - no success.
So - my question is:
Does anybody know how to download and run i.e. the "TestModem" application without warnings and returning a feasible IMEI number, in other words, a working app?
Or is there a newer GSM 1.0.x lib release (without tons of warnings) available?
It is real hard to debug the system as Arduino IDE doesn't support such things, so software with its library has to run - and if not - you're screwed up.
After a bunch of hours and a lot of reasearch I decided to post this issue to an Arduino forum.
I'd like to run it but I apparently fail at the "plug and play" concept of Arduino World.
Regards, Peer.