FJ Software Foren-Übersicht  
 Homepage   •  Suchen   •  FAQ   •  Mitgliederliste   •  Registrieren   •  Login
 Description og the .DAT file? Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Neues Thema eröffnenNeue Antwort erstellen
Autor Nachricht
johnson



Anmeldedatum: 16.09.2006
Beiträge: 26

BeitragVerfasst am: Sa Sep 16, 2006 09:19 Antworten mit ZitatNach oben

Hi

I am making a parser that will read the SMS.DAT file, fetch each individual field in it and store the contents in a database so that SMS can be easilly searched.

The format is:

ARCHIV\
1
1
[..PDU..]
2006-09-15 18:34:46

My questions are:
1) What do the numbers 1 and 1 mean and which numbers can they have?
2) Is there any indication if the SMS is a sent one or a received one?
3) Is there any indication if the timestamp the the Sent SMS is a valid one, i.e. generated by MPE itself?


Regards!
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 30412
Wohnort: Tirol

BeitragVerfasst am: Sa Sep 16, 2006 10:52 Antworten mit ZitatNach oben

I'm wondering why you need a searchfunction. MPE has this already implemented ( CTRL+F ).

ARCHIV\ - message is in Archive, no subfolder
ARCHIV\Testfolder - message is in Archive, in the subfolder "Testfolder"
The second value describes the Phonestorage:
0,1 = Inbox
2 = Drafts
3 = Sent Items

The third value is the MessageID in phone and in the messagearchive it is not important

A timestamp on a sent message is always generated from MPE - there is no possibility to read out the date of sent messages.
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
johnson



Anmeldedatum: 16.09.2006
Beiträge: 26

BeitragVerfasst am: Sa Sep 16, 2006 14:32 Antworten mit ZitatNach oben

Hi

Thanks for answering fast Smile

I need the search function to be able to do more complex searches.

What I mean by a valid timestamp of Sent Items is whether or not the message was actually sent through MPE in which case the timestamp is deamed valid, otherwise it is just the time of the synchronization in which case the timestamp is not valid.

Could the SMS.dat format be enhanced to include information about whether or not MPE sent a particular SMS?
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 30412
Wohnort: Tirol

BeitragVerfasst am: Sa Sep 16, 2006 15:28 Antworten mit ZitatNach oben

I think this is not needed.
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
johnson



Anmeldedatum: 16.09.2006
Beiträge: 26

BeitragVerfasst am: Sa Sep 16, 2006 16:40 Antworten mit ZitatNach oben

Alright. Sorry to hear that. Itis probably the first time you have ever had such a request Very Happy

I care much about data integrity and when MPE has to make its own, and wrong, timestamps, the data in the file is tainted and should be marked by a mere 0 og 1 in the file.

Thanks for answering, though
Benutzer-Profile anzeigenPrivate Nachricht senden
johnson



Anmeldedatum: 16.09.2006
Beiträge: 26

BeitragVerfasst am: Sa Sep 16, 2006 16:56 Antworten mit ZitatNach oben

Well, in fact, I thought a little more about it.

I think that the reason why you discard the idea of data integrety so fast is because I have mentioned that I am doing stuff with the data that you feel is unnecessary or something only one in a million would do Smile

But, every single user of MPE who uses the archive, has the exact same problem. The date of Sent SMS is sometimes 100% correct (MPE has sent the SMS), or 100% wrong and the real sending time is anywhere from 10 seconds erlier to several days or weeks earlier.

WHat is the point of an archive and timestamps if these are not to be trusted? Or even worse, sometimes they are, sometimes they are not.

I am not debating on why you don't pull out the timestamp from the phone, I know this is not possible.

All I'm saying is that when presenting data to a user, this data should be valid or marked as tainted.
The user can now either erly on the data or make qualified guesses.

I suspect other users are also reading in here, what do you guys think of this suggestion of a validity mark?
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 30412
Wohnort: Tirol

BeitragVerfasst am: So Sep 17, 2006 06:27 Antworten mit ZitatNach oben

Its a simple thing: Sent items have always a generated timestamp - so you never can trust them.
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
johnson



Anmeldedatum: 16.09.2006
Beiträge: 26

BeitragVerfasst am: So Sep 17, 2006 08:19 Antworten mit ZitatNach oben

If I send it through MPE the generated timestamp *is* valid.
Otherwise it is not.

All I'm saying is that a simple 0/1 marker in the file would be an extreme improvement.

Would it take much time to implement?
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 30412
Wohnort: Tirol

BeitragVerfasst am: So Sep 17, 2006 13:49 Antworten mit ZitatNach oben

OK, now i understand - i will see what i can do for you.
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
johnson



Anmeldedatum: 16.09.2006
Beiträge: 26

BeitragVerfasst am: So Sep 17, 2006 16:03 Antworten mit ZitatNach oben

Thanks dude Smile

Always difficult explaining techical issues in a language that is not native to oneself.
Benutzer-Profile anzeigenPrivate Nachricht senden
johnson



Anmeldedatum: 16.09.2006
Beiträge: 26

BeitragVerfasst am: So Sep 17, 2006 18:13 Antworten mit ZitatNach oben

...If you do get around to fix it, it would be very nice if the timestamp in MPE was presented in italics if the timestamp was generated at the time it was movedto the Archive.

This would make it *much* easier spottingthe SMS's that needed to be edited and have a real timestamp issued.

Thanks again Smile
Benutzer-Profile anzeigenPrivate Nachricht senden
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnenNeue Antwort erstellen


 Gehe zu:   



Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.

Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme :: Alle Zeiten sind GMT + 1 Stunde
Deutsche Übersetzung von phpBB.de