CellTrack'ing Between Colchester And London

I've been looking at CellTrack program for series 60 phones recently.

This is a native series 60 Symbian application that can record details of the current mobile phone cell your phone is using. It also lets you annotate each cell if you want.

Celltrack is something I downloaded for my Nokia 7610 a while ago, and have just installed on the Nokia 6630.

Screenshot of CellTrack running on a Nokia 6630

On Monday, while the train was running slow, I had it running and started to annotate stations so I could tell where I was in the evening when it's dark outside. CellTrack has a feature that allows you to log used cells to a flat tab seperated file. In my case, as I have the software installed on the 6630's MMC card, the file can be found in the directory E:\Nokia\Others\CellTrack and copied off using the Nokia PC Suite.

Here's the journey I took on Tuesday morning by train. I turned on CellTrack at Marks Tey station and had it running to just before the train pulled into Stratford station in East London.

TimeCell IDLACCell NameDescription
07:26:0812972629XXBC97 BMarks tey station
07:27:1512973629XXBC97 CApproaching marks tey
07:27:358812629XXB881 BApproaching kelvedon
07:28:034340629XXB434 Ano info
07:29:014339629XXB433 XKelvedon station
07:29:254341629XXB434 AApproaching kelvedon
07:31:4016772629XXBG77 BBetween witham and kelvedon
07:32:1016774629XXBG77 XBetween kelvedon and witham
07:32:432084629XXB208 XApproaching witham
07:34:092086629XXB208 FWitham station
07:36:34382629XXB038 BApproaching witham
07:37:152086629XXB208 FWitham station
07:37:557249629XXB724 XHatfield Peveral station
07:38:337251629XXB725 AApproaching hatfield peveral
07:39:3013877629XXBD87 GApproaching hatfield peveral
07:39:4013878629XXBD87 XBetween hatfield peveral and chelmsford
07:39:5213879629XXBD87 XBetween hatfield peveral and chelmsford
07:41:173910629XXB391 AApproaching chelmsford
07:41:373912629XXB391 BApproaching chelmsford
07:42:0716055629XXBG05 EChelmsford station
07:43:013877629XXB387 GChelmsford station
07:43:5216057629XXBG05 GApproaching chelmsford
07:44:103879629XXB387 XApproaching chelmsford
07:44:245282629XXB528 BApproaching chelmsford
07:44:4616779629XXBG77 XBetween chelmsford and ingatestone
07:44:5816778629XXBG77 XApproaching chelmsford
07:45:0816779629XXBG77 XBetween chelmsford and ingatestone
07:45:3116780629XXBG78 Ano info
07:45:492073629XXB207 CBetween chelmsford and ingatestone
07:46:01367629XXB036 GBetween chelmsford and ingatestone
07:46:1112354629XXBC35 XBetween ingatestone and chelmsford
07:46:2512355629XXBC35 EBetween ingatestone and chelmsford
07:47:032073629XXB207 CBetween chelmsford and ingatestone
07:47:21369629XXB036 XApproaching ingatestone
07:47:3211240105XXBB24 AApproaching ingatestone
07:48:1411242105XXBB24 BIngatestone station
07:48:343755105XXB375 EIngatestone station
07:49:143756105XXB375 FBetween ingatestone and shenfield
07:49:3011239105XXBB23 XBetween shenfield and ingatestone
07:50:0916872105XXBG87 BApproaching shenfield
07:50:3516875105XXBG87 EApproaching shenfield
07:50:493661105XXB366 AApproaching shenfield
07:51:423662105XXB366 BShenfield station
07:51:543663105XXB366 CShenfield station
07:55:035319570XXB-76 X?:no info
07:55:2553195765535XXB-76 X?:no info
07:55:5900XXB000 A?:no info
07:56:507240105XXB724 Ano info
07:57:263788105XXB378 Xno info
07:57:523789105XXB378 XApproaching gidea park
07:58:092068105XXB206 Xno info
07:58:1916035105XXBG03 EGidea park station
07:59:3119568105XXBJ56 Xno info
07:59:455057105XXB505 Gno info
08:00:161971403008XXB-12 F*:Gidea park station
08:01:0910925105XXBA92 Eno info
08:01:265058105XXB505 XApproaching gidea park
08:01:596249700XXB624 XApproaching gidea park
08:02:181381700XXB138 Ano info
08:02:301972143009XXB-69 Ano info
08:03:194829700XXB482 Xno info
08:03:238611600XXB861 ASeven kings station
08:03:497748600XXB774 Xno info
08:04:4911170700XXBB17 AApproaching ilford
08:05:179724600XXB972 XManor park station
08:05:393325600XXB332 EApproaching manor park
08:06:029726600XXB972 FManor park station
08:06:1617536600XXBH53 FApproaching forest gate
08:06:4417535600XXBH53 EForest gate station
08:07:551335600XXB133 Eno info
08:08:1914197600XXBE19 Gno info
08:08:3810334700XXBA33 XMaryland station

So what do some of the columns mean? Well Cell ID is the ID taken from the actual cell. LAC means the location area code of the cell. I'm not sure what Cell Name actually is, the CellTrack site says it comes from the cell broadcast as I have a service number set. The description is the text I entered to give a rough location to the cell.

As I said before, the log file has the data in tab seperated format. The data is recorded in the following order...

  1. Date
  2. Time
  3. Cell ID
  4. LAC
  5. Country
  6. Net
  7. Signal
  8. Signal dBm
  9. Cell Name
  10. Description

This makes it very easy for us to write a data extractor using Perl. Here's the code I used to generate the table above.

#!/usr/bin/perl -w use strict; ## Perl script to parse the CellTrack trace.log file, and split selected ## contents into an HTML table. ## Robert Price - rob@robertprice.co.uk - March 2005 ## start the table, and print out a table header. print "<table>\n"; print " <tr><th>Time</th><th>Cell ID</th><th>LAC</th><th>Cell Name</th><th>Description</th></tr>\n"; ## iterate over each line, placing the contents in $line. while (my $line = <>) { ## clean up the data a bit. chomp($line); # loose trailing linefeeds. $line =~ s/\r//g; # loose any rogue carriage returns. $line =~ s/\t */\t/g; # remove preceeding spaces from data. ## split the data in $line into variables. my ($date,$time,$cellid,$lac,$country,$net,$strength,$dBm,$cellname,$description) = split(/\t/,$line); ## create a copy of $time, and format it so it has colons between hours and minutes. my $nicetime = $time; $nicetime =~ s/(\d{2})(\d{2})(\d{2})/$1:$2:$3/g; ## print out the data we're interested in. print " <tr><td><a link=\"$time\" />$nicetime</td><td>$cellid</td><td>$lac</td><td>$cellname</td><td>$description</td></tr>\n"; } ## close the table. print "</table>\n";

You may have noticed I didn't bother to print the country or network used. Well that's because it's always the same for me. The country is 234 (UK) and the network is 33 (Orange). This may be more interesting when travelling abroad and using roaming.

Entered: 2005-03-16 21:10:09

Rob's Other Blog Entries

See other blog entries for March 2005, or an index of all blog entries.