function [str]=dtmfparse(seq,tstart)
%parse dtmf sequence  string
% address	bytes	what		example		format
% 80-85		6	UTCTIME:	164924	hhmmss.sss (From GPRMC-1)
% 86-94		9	LATITUDE:	3758.5376,N	ddmm.mmmm,N (or S)(From GPRMC-2)
% 95-104	10	LONGITUDE:	02347.1589,E	dddmm.mmmm,E (or S)(From GPRMC-3)
% 105-106	2	Sats Used:	07		0-12 (From GPGGA-4)
% 107-111	5	speed:		xx0.13		(From GPRMC-5)
% 112-114	3	direction:	xxx.--		(From GPRMC-5)
% 115-120	6	date:		230705		ddmmyy (From GPRMC-6)
% 121-125	5	altitude:	x252.8		Meters (From GPGGA-4)
%

%called from dtmfdec which creates dtmf digits from audio

disp('PARSING');


seq
utctime=sprintf('%c%c:%c%c:%c%c',seq(2:7));
lat=sprintf('%c%c%c%c.%c%c%c%c,%c',seq(8:16));
lon=sprintf('%c%c%c%c%c.%c%c%c%c,%c',seq(17:26));
sats=sprintf('%c%c',seq(27:28));
speed=sprintf('%c%c%c.%c%c',seq(29:33));
hdg=sprintf('%c%c%c',seq(34:36));
date=sprintf('%c%c/%c%c/%c%c',seq(37:42));
alt=sprintf('%c%c%c%c.%c',seq(43:47));
str=sprintf('%f@%s@%s@%s@%s@%s@%s@%s@%s',tstart,utctime,date,lat,lon,sats,hdg,speed,alt);

return 
