Dear all,
as for the last step, changing the baudrate of the GPS on the fly, the same time as the PIC chip it self on PORT EUART 2, i've notice that not all the time the configuration work.
Sometimes the GPS doesn't get the command. I tried to see if i could get an ACK but couldn't see anything coming on RX.
Base on the manufacturer datasheet there should be a reply message for every command we send. But really didn't see any reply.
Is there anything i could do, to help the GPS to receive always the command and not "reject" it? Should i give more time at start up?
I have already place the following commands on the code in order to check if the GPS has successfully powered up.
Code:
' -----------------------------------------------------------------------------|
' [ GPS Initialization ] |
'------------------------------------------------------------------------------|
' When the GPS Module is POWERED ON, then the following sentenses are received.
HSERIN2 [wait("PMTK011,MTKGPS*08")]
HSERIN2 [wait("PMTK010,001*2E")]
HSERIN2 [wait("PMTK010,002*2D")]
Bookmarks