Sending SMS to particular port

Login to reply to this topic.
Wed, 2007-09-12 05:50
Joined: 2007-08-30
Forum posts: 13


hi all,
I have a J2ME MIDlet running on one phone, listening to particular port.
Now I want my Symbian application that could be able to send an SMS to that
particular port.

Has anyone been successful in doing this?

Please help me guys..



Thanks & Regards

Kannabiran.K


Wed, 2007-09-12 12:52
Joined: 2007-08-30
Forum posts: 13
Re: Sending SMS to particular port


hi,

In my application i am using the below code for setting the port but its not working.... the message send, but not to the specific port... Its coming to inbox

TSmsAddr smsaddr;
smsaddr.SetSmsAddrFamily(ESmsAddrSendOnly);
smsaddr.SetPort(16500);

Any one know how to set the port number (16500) in symbian for S60 3rd Edition please help me?



Thanks & Regards

Kannabiran.K

Thu, 2007-09-13 16:29
Joined: 2007-08-30
Forum posts: 13
Re: Sending SMS to particular port

Again one doubt...

In J2me my port listener settings code is...

MessageConnection smsconn;
smsconn = (MessageConnection)Connector.open("sms://:16500" )
smsconn.setMessageListener(this);

Is there any problem with this...

But this code is working with J2me application which sends message to that port...

Please anyone help me..



Thanks & Regards

Kannabiran.K

Wed, 2007-10-03 11:11
Joined: 2004-09-06
Forum posts: 235
Re: Sending SMS to particular port
  • Login to reply to this topic.