Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SIM908 GPS: how to extract the Longitude,Latitude

Status
Not open for further replies.

embRTS

Full Member level 4
Joined
Sep 8, 2013
Messages
201
Helped
36
Reputation
72
Reaction score
33
Trophy points
28
Location
Bangalore
Activity points
1,191
Hello I am getting a string which i am storing it in a buffer
like after an AT Command

AT+CGPSINF=32 //carriage return and line feed
after This SIM908 GPS will give response


&
the format of the string is as follows:-
<mode>,<longitude>,<latitude>,<altitude>,<UTC>,<ti me>,<num>,<speed>,<course>.

like for example,I will show the format in Numeric which i am getting from an array
"buffer[64]" is shown below:-

"32,000000.000,V,0.000000,N,0.000000,E,0.00,0.00,0 00000,,"

where,32=mode,longitude=000000.000

I want to extract the longitude value , Latitude Value , Speed and Time

Please help me out

Thanks in Advance
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top