Hi to all,
I am using fcm to read gps data from SirF-Star III antena. It is working fine. But I cant set any value (ex. baud rate, choose gps data format, etc.,) through FCM (send_data) functions.
My doubt is, I want to send this data “$PSRF103,04,00,01,01*21” to UART2 (which one is gps antena connected), here I dont know how can I indicate and .
Doesn’t the title of your post contain the answer?
This is standard ‘C’ string stuff - nothing specifically to do with Open-AT!
So, check-out your ‘C’ textbook for ways to include non-printing codes into ‘C’ strings…
Hi Awneil,
I have faced an issue of this sort in Q2501. It wont accept special characters via TCP connections. It was like special characters will not be accepted in wip_read(). Im not sure if issue is still persisting in Q2686 also.
no problem using /r (and/or) /n in wip_read write here (using Q2686). and i seriously doubt that the same wip-version on the Q2501 would behave differently?
Hi,
the special characters will not be accepted via UART1. Sorry i typed in as WIP. Whenever special characters were sent to UART, it would igonre the rest of the string. When we had asked our distributor they were actually surprised.
Hello,
i have a similar Problem like yours. I wanted to send PUBX data like $PUBX,41,1,0007,0002,9600,0*11 to GPS to opened over UART2.
Have you any idea to solve this Problem.
dont worked
char GpsMessage[]="$PUBX,41,1,0007,0002,9600,0*11\x0D\x0A";
adl_fcmSendData(FCMHANDLE, GpsMessage,sizeof(GpsMessage));
thank you,
I change to strlen but it not works. If i send the GpsMessage to another destination like a PC i can see at uart2 interface this message “$PUBX,41,1,0007,0002,9600,0*11”.
On My Q2687 Starterkit there are to UART interfaces. UART1 is connected wiht serial cabel to PC to download the Application Code. UART2 is connected wiht Null Modem cabel to GPS.
I wont to release the GPS to send NMEA datas.
That’s the string you want, isn’t it?
So, In other words, it is working - isn’t it?!
If the GPS isn’t responding correctly, then the problem must be elsewhere - the FCM/UART2 part is working correctly!
Are you sure that your connections to the GPS are correct (including handshaking signals)?
Are you sure that all your settings - baud rate, etc - are correct for the GPS?
Are you sure that the command is correct for your GPS?
etc…