SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
By 9600baud
#33388
Hi there,

I have a problem with my GM862-GPS.

I managed so far interfacing it with an ATmega8. What works:
* switching it on and off
* initializing it
* pulling gps position through the AT command AT$GPSACP (second serial port is unused)
* sending position as SMS.

Now I try to do these things in a loop.

The problem is, that after sending the SMS, further AT commands only are echoed, but no "OK" or error is returned. It is not a problem of the microcontroller as I have checked it with a direct PC to GM862 serial communication.

Any hint, someone?

Cheers,
Alex
By 9600baud
#33456
After some more tweaking and debugging I found my error.

The SMS has to end with 0x1A and I added an additional CR. If I leave that one out, everything runs fine.

Cheers,
Alex