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:
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.
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...
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.
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.
Forum posts: 91
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
Forum posts: 235
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
Forum posts: 91
>>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
Forum posts: 235
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.
Forum posts: 214
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)
Forum posts: 235
use
void SetAlphabet (TSmsDataCodingScheme::TSmsAlphabet aAlphabet);
CSmsPDU& smsPDU = header.Message().SmsPDU();
smsPDU.SetAlphabet(ESmsAlphabet8Bit);
Vink
Forum posts: 214
"I only know that I know nothing." (Socrates)
Forum posts: 235
I'll send you if you still cant find it...
Forum posts: 214
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)
Forum posts: 235
where did you download the sdk from?
Forum posts: 11
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
Forum posts: 13
Hi,
Can somebody send me smsu.lib for 2nd ed too?
truf666[doggy]rambler.ru