writing a Smart message...

Login to reply to this topic.
Wed, 2005-07-20 05:05
Joined: 2004-09-06
Forum posts: 235
How can I write my own smart message like ringtone or Operator logo?
I want to define my own smart message like a SMS.

Can this be done by AT commmands. Does symbian provide API programming  to use AT commands.

Any help is highly appriciated.
regards,
Vink

Thu, 2005-09-01 10:37
Joined: 2005-03-14
Forum posts: 91
Re: writing a Smart message...
Hi Vinay,

The OS provides an infrastructure for smart messages which in Symbian parlance is called "Bearer Independent Object Messaging". The 'Bearer Independent' part refers to the fact that technically you can receive smart messages via any of the Messaging transports (not just SMS).

This framework provides a number of options for 'recognising' incoming messages and then forwarding the details on to the relevant receiving application. If you are looking at SMS smart messages, the simplest method is for the first few characters of the message to identify it as your smart message type. The recognition scheme you choose is identified in a "BIO Information File" (BIF), which can be modified to launch a particular application on receiving a relevant smart message, or do clever things like launch a parser to interpret the content, and even launch an embedded control in the built-in Messaging application to view the content.

The BIO framework is very powerful but will require some investment of time for you to understand (it's not immediately simple and obvious!). Take a look here to get you started:

http://www.symbian.com/developer/techlib/v70sdocs/doc_source/reference/cpp/biomsg/

In terms of examples, the Nokia Series 60 Remote camera application uses BIO messaging:
http://www.forum.nokia.com/info/sw.nokia.com/id/4e62c762-271a-40dd-8dc9-a71029f5d75f/RemoteCam_app.zip.html
And there is an old example for 9200:
http://www.forum.nokia.com/info/sw.nokia.com/id/8b8c02e3-9468-4b2f-8f92-5e376c9613c7/BIOExample.zip.html

Hope this helps

---
Kevin Dixon
Symsource Ltd.
www.symsource.com

Thu, 2005-09-01 10:55
Joined: 2004-09-06
Forum posts: 235
Re: writing a Smart message...
Thankyou very much for your concern. But I was actually looking for something different.

In smart messages I usually specify a port number in my message. I also have my application listening at that port at the other end.
I want to have something like that. I already have implemented the SMS filtering based on some preceding character.

I saw the PDU format for sending 7-bit encoded SMS. It does not have any field for specifying the port number.
But for smart messages such as ringing tone and CLI there is a field called destination port number to do this.

Vink
Thu, 2005-09-01 11:04
Joined: 2005-03-14
Forum posts: 91
Re: writing a Smart message...
You don't *have* to use port numbers for smart messaging.

>>I saw the PDU format for sending 7-bit encoded SMS.
Are you trying to send a smart message from the handset or from another source?
I guess I'm not clear what you are trying to achieve on the handset, if you are already filtering your messages...

---
Kevin Dixon
Symsource Ltd.
www.symsource.com

Thu, 2005-09-01 11:23
Joined: 2004-09-06
Forum posts: 235
Re: writing a Smart message...
I am trying to send a SMS from one mobile handset to another mobile handset.
there are two ways to do this. text mode and PDU mode.
Text mode is not supported on all devices. but PDU is.

I just want to send my message to particular port. Now since SMS PDU does not have port number field, I was thinking about writing
my own smart message. because my listener is running on particular port.

forget the pattern matching part. I know that the preceding character are enough to filter my proprietary messages.
but I want to do it with the port number way for some particular reasons.



Tue, 2006-01-03 16:11
Joined: 2005-02-11
Forum posts: 214
Re: writing a Smart message...
Did you find any solution?
I'm currently also searching for a way to send SMS in PDU mode from phone to phone.

"I only know that I know nothing." (Socrates)

Wed, 2006-01-04 03:19
Joined: 2004-09-06
Forum posts: 235
Re: writing a Smart message...
you have to set the type of message encoding...
use

void SetAlphabet (TSmsDataCodingScheme::TSmsAlphabet aAlphabet);

Code:
CSmsHeader&   header          = smsMtm->SmsHeader();

CSmsPDU& smsPDU = header.Message().SmsPDU();

smsPDU.SetAlphabet(ESmsAlphabet8Bit);

Vink
Thu, 2006-01-05 09:43
Joined: 2005-02-11
Forum posts: 214
Re: writing a Smart message...
Where did you get the smsu.lib? I don't have it  in version 7.0s nor 8.0a SDKs.

"I only know that I know nothing." (Socrates)

Mon, 2006-01-09 04:10
Joined: 2004-09-06
Forum posts: 235
Re: writing a Smart message...
smsu.lib is present in 7.0s and 8.0...
I'll send you if you still cant find it...
Mon, 2006-01-09 08:19
Joined: 2005-02-11
Forum posts: 214
Re: writing a Smart message...
How can you have them?
I searched my Symbian folders and smsu.lib was not included in these:
C:\Symbian\7.0s\Series60_v21
C:\Symbian\8.0a\S60_2nd_FP2
But I have smsu.dll.

And yes, I would be gratefull to obtain these LIBs also.

"I only know that I know nothing." (Socrates)

Mon, 2006-01-09 10:01
Joined: 2004-09-06
Forum posts: 235
Re: writing a Smart message...
sent...
where did you download the sdk from?
Fri, 2006-08-25 07:20
Joined: 2006-03-01
Forum posts: 11
Re: writing a Smart message...
Hi all,

Did u get smsu.lib; I couldn't find it in s60 2_2; s60 3_0(symbian 9.0) can anybody mail me the lib if at all you find it to chanderlenora@yahoo.com.

Thanks Much
Wed, 2008-01-23 10:19
Joined: 2007-08-24
Forum posts: 13
Re: writing a Smart message...

Hi,
Can somebody send me smsu.lib for 2nd ed too?
truf666[doggy]rambler.ru

  • Login to reply to this topic.