[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Incoming messages handling
From: |
Jan Derfinak |
Subject: |
Incoming messages handling |
Date: |
Sun, 21 Dec 2003 15:55:55 +0100 (CET) |
Hi.
I'm working on new version of smsd. In this version I want support not
only text messages, but also EMS, ringtones etc.
With libgnokii I'm able to send different kind of messages but I have
trouble with messages receiving.
It seems that gnokii is not able to identify incoming EMS message.
I use Siemens MC35 terminal for may work. When I send EMS melody from gnokii
or SE t68i, gnokii shows me this:
GNOKII Version 0.5.7
2. Inbox Message (read)
Date/time: 21/12/2003 14:28:54 +1000
Sender: +420XXXXXXXXX Msg Center: +420602909909
Unknown
udh.udh[0].type is 15
user_data[0].type is GN_SMS_DATA_None
user_data[0].length is 0
The gsmsmsstore program from gsmlib shows this result:
index #1
---------------------------------------------------------------------------
Message type: SMS-DELIVER
SC address: '420602909909'
More messages to send: 1
Reply path: 0
User data header indicator: 1
Status report indication: 1
Originating address: '420XXXXXXXXX'
Protocol identifier: 0x0
Data coding scheme: default alphabet
SC timestamp: 12/21/2003 02:28:54 PM (+1000)
User data length: 117
User data header:
0x0C6300424547494E3A494D454C4F44590D0A56455253494F4E3A312E300D0A464F524D41543A434C415353312E300D0A4D454C4F44593A2A3565332A3563332A3564332A3467332A3565332A3563342A3564332A3467330D0A454E443A494D454C4F44590D
User data: ''
---------------------------------------------------------------------------
How can I identify and download other than text messages from phone?
What is proper use of user_data[0].type? I was expecting when I download
text message from phone then user_data[0].type will be GN_SMS_DATA_Text and
and user_data[0].length will be set to length of message text.
But user_data[0].type is GN_SMS_DATA_None and length is 0.
jan
--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Incoming messages handling,
Jan Derfinak <=