L80-M39 Problems with configuration

Hi,

I have a L80-M39 (L80GR01A07S).
I try to disable all NMEA- messages except GPVTG and GPGGA with:
sprintf(gps_config, “$PMTK314,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\n”);

It does not work.
I tried some other combinations but nothing seems to work either.

What do I wrong?
Can I save the changes permanently?

Thank you in advance!

I found the answer:
There is a \r missing.
Now the message looks like:
sprintf(gps_config, “$PMTK314,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\r\n”);

That works fine!