BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 02-15-2011, 05:03 PM   #1 (permalink)
New Member
Join Date: Feb 2011
Model: 8700
Carrier: bell
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SMS Send fails on 9700 only to alternate port

Please Login to Remove!

I have a program that listens for SMS and sends sms.
On a 9800 that works fine (bell)
On 9300 is works fine(bell)
On 9700 with Rogers and Telus it does not sent out to alternate port.
On telus it shows up in the inbox.
On Rogers it doesn't show up anywhere.

Im trying to figure out if it is the 9700 or the carrier. Either way I have a problem but I'd sure like to know what is going on.
On the 9700 (Rogers) I have debugged and it shows that there are No exceptions. It gets sent and then nothing appears anywhere.
On the 9700 Telus I send it and I get it coming in on the inbox when it should appear on port 3520
I've tried absolutely everything but can't figure this one out.
Any ideas anyone?

It works 100% on the 9800 and 9300 and am wondering how it could fail on a 9700 (both of them).

the 9700 is OS 5.0
the 9300 is OS 5.0
The 9800 is 6.0

I send this way
MessageConnection _conn = (MessageConnection)"sms://:3500";

where 3500 is the send port and
3520 is the receive port

addressString = "//phonenumber:3520" ; where 3520 is the receive port

MessageConnection mc = (MessageConnection)_conn;

TextMessage m = (TextMessage) mc.newMessage(MessageConnection.TEXT_MESSAGE , addressString); m.setPayloadText(_msg);


I receive on 3520 using a Datagram
_conn ="sms://:3520);
_dcb = (DatagramConnectionBase) _conn;

byte[] buf = new byte[160];
final Datagram inDatagram = _dcb.newDatagram(buf, buf.length);
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: SMS Send fails on 9700 only to alternate port
Thread Thread Starter Forum Replies Last Post
9700 - Is Logging SMS possible like Phone Logs? BBLoverGurl General 9700 Series Discussion - Bold 2 6 01-28-2011 10:54 AM
New App: SendIt - send pre-defined sms from contacts, messages and calllog app Smiley8 Aftermarket Software 1 08-27-2009 04:23 PM
how do I send sms from a PC through blackberry ramana General BlackBerry Discussion 9 06-18-2009 11:51 PM

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.