[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)


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

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:
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]