Page 1 of 1

Problem combining GPS and RF messages

Posted: Tue Jul 14, 2015 6:43 am
by chertu
Im having some problems with my TD1204 module.

I want to constantly send RF messages that contain location information, so im using the AT$GPS commands for getting the location information an then sending it with the AT$SF command, with some other additional info. These are the stepts I am following

I get the location info using “AT$$GPS=1,16,0,65535,2,1” and when the RMC frame has a fix value, put it in backup mode with “AT$GPS=2”.
Then I send a message with AT$SF
(The module is ON all the time)
The problem comes when I call again to the “AT$$GPS=1,16,0,65535,2,1” command, instead of getting an OK and start to see the NMEa frames, the module always restarts (I get a ^SYSSTART). That supposes a problem because I want to keep the GPS on backup mode so the fix time is the minimum possible.

Why is this happening?

Regards,

Re: Problem combining GPS and RF messages

Posted: Mon Jul 20, 2015 1:53 pm
by lcheminade
Hi,

Are you requesting downlink when using AT$SF? If you do make sure to wait until downlink is fully completed before trying to use the GPS again.

Loïc

Re: Problem combining GPS and RF messages

Posted: Tue Jul 21, 2015 5:51 am
by chertu
Hi,

Yes, Im requesting downlink and I wait till its fully completed. Even waiting 10-15 minutes witch is more or less when I want the position again, the module resets.

Regards,

Re: Problem combining GPS and RF messages

Posted: Thu Jul 23, 2015 3:25 pm
by lcheminade
Hi,

Ok I understand. This is an issue which was corrected in the SDK 5.0.3 but no corresponding modem firmware have been generated. You can generate your own modem correcting this issue by compiling the TD1204_modem example in the SDK.

Loïc