Seite 1 von 1

How to read SMS.DAT

Verfasst: Mi 7. Nov 2007, 01:39
von Delfin
Hi to everyone!

I'm trying to make a simple software that can automatically reply on all new messages from my phone (based on specific keywords). I understand that all saved messages are put in the SMS.DAT file found in a directory of MyPhoneExplorer in my Application Data.

I hope its not too much to ask if anyone can please explain the contents of SMS.DAT file. A sample line is shown below:

TEL,0,25,0791361908002003040C913629903187650000701130228511230749671454B3DD00,03112007225811v

I would greatly appreciate any help that I can get... Thanks...

Delfin

Verfasst: Mi 7. Nov 2007, 07:19
von FJ
Maybe its better to use Eventhandlers for this. They are described here on the bottom of the page. Its german but i hope you'll find it out.

The SMS.dat is coded in this way:
Storage(TEL or SIM), StorageID(0 = unread, 1 = read, 2 = Unsent, 3 = Sent), MessageIndex, Message in PDU-Mode, Timestamp

Please search the web for PDU-Coding. Its an official GSM-standard

Verfasst: Mi 7. Nov 2007, 07:40
von Delfin
Sir thanks for the information... I'll try to work it out... Thanks...