SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By dimitrin
#4238
I just got the gsm 862 pcs module and sparkfun board and I am getting error 304 which is a pdu error. I thought i set the messaging to text instead of pdu using AT+CMGF=1 and then reset the power. Restarting the system seems to be required and it should be set.

If you type AT+CMGF=? you get back:

CMGF: (0,1)

I get the same thing back even if I set AT+CMGF=1

help... any ideas?
By jasonharper
#4248
I don't believe there is any way to save the +CMGF setting; you have to reset it after every power-on if you don't want the default.
dimitrin wrote:If you type AT+CMGF=? you get back:

CMGF: (0,1)
That is exactly the expected result; you're asking what the range of possible values is. To get the current value, use: AT+CMGF? (note the lack of an equals sign).
By dimitrin
#4262
thanks,

forgot the = hahaha i'm blind like that sometimes.

so you code the setting in the microcontrols to set each time, assume.