CSCI321 - Project Diary

Monday, July 31

midlet + database + webtrac

Midlet - finished.

I was having a problem - where the GPRMC strings would super impose themselves ontop of each other every 10 or so NMEA sentences, so after cleaning that up - we have a clear output via gprs from the phone.

looks something like this:

UUID RMC addedDate
329e18d0-2125-11db-a98b-0800200c9a66 $GPRMC,070014.000,A,3357.7844,S,15103.0108,E,27.94,190.35,020806,,,A*49 8/02/2006 4:59:47 PM

obviously the formatting will be off. basically its a table with the three columns.


this then gets sent to the server via a HTTP.get.

for consistency - the phone as already mentioned - uses the same string as the WebTrac [about which, or lack of - I will talk about in a second]

In order to clean up the string - i had to bastardise the data stream, and ignore a large portion of the stream. Hopefully I'll get some time to re-write the parser.

-

At first I had all this being written to a flat file, which was fine, but then would require some work in order to be appended into a database. Since our database is 4 weeks late, I had to create one with just a table in it, and add all the data to it. this is mainly a data generation/aggregation exercise.

Andrew has had some trouble in delivering the database on time, and I hope that at this Friday's meeting - we will see some fruits of his promised labour.

-

It has also been decided that we will separate the portal, the db, and the plotting/graphing engine so to speak - apart.

this will allow all of us to work on the individual parts and to then combine them bit by bit - in order to achieve the final product.

the graphing engine will be built by Shawn using PHP.

0 Comments:

Post a Comment

<< Home