Sending SMS to MIDLET

Sending SMS to MIDLET SearchSearch
Author Message
Adrian
New member
Username: Cisa

Post Number: 1
Registered: 06-2008
Posted on Tuesday, June 24, 2008 - 10:05 am:   

Hi,

I am trying to send an SMS to a MIDLET that is listening on port 5000. Which SMSC configuration do I have to setup and what settings do I put. Thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7626
Registered: 10-2002
Posted on Thursday, June 26, 2008 - 08:23 pm:   

Any of the SMSC configurations should be ok.

Depending on the preferences of your SMS provider, you may need to tweak settings.

The default SMPP configuration generally works, but some providers want to see port information in the "TLV" settings. In this case, under the "Advanced Settings" for the SMPP connection in NowSMS, try checking "Use TLV parameters for port numbers and segmentation" if your initial attempts don't work properly.

For HTTP, your SMS provider needs to understand UDH (user data header), and @@UDH@@ needs to be part of your binary template. But if you are sending text (as opposed to binary content) to your application, you may need to toggle the setting "Use 7-bit encoding for long text messages". Change this setting only if your midlet receives the message but the content is garbled.

If you're just confused about SMSC connections in general (and not just related to your midlet) ... this general info page might help: http://www.nowsms.com/whatisnowsms.htm

The standard web pages of NowSMS will allow you to specify a destination port ... more information is here: http://blog.nowsms.com/2007/06/send-sms-to-java-appmidlet.html
Kiran Musham
New member
Username: Kmusham

Post Number: 1
Registered: 07-2008
Posted on Wednesday, July 23, 2008 - 11:09 pm:   

Hi,
I tried the same settings with UDH = 06050413880000
But I did not receive the message on the device.

Plain text msg works fine. Can you please give us more information to send sms to a particulat port number (eg:5000)

I am trying to wakeup the Push Registry MIDlet on the device.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7636
Registered: 10-2002
Posted on Friday, July 25, 2008 - 08:41 pm:   

It may be an issue with your SMS service provider not supporting UDH. The above suggestions were things to try for SMPP connections.

What type of SMS service provider connection are you using?