BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-15-2011, 05:03 PM   #1
bbuserg
New Member
 
Join Date: Feb 2011
Model: 8700
PIN: N/A
Carrier: bell
Posts: 2
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) Connector.open("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);

_conn.send(m);

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

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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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 03:23 PM
how do I send sms from a PC through blackberry ramana General BlackBerry Discussion 9 06-18-2009 10:51 PM


Novotechnik TLH-0360 Position Transducer  TLH0360 picture

Novotechnik TLH-0360 Position Transducer TLH0360

$160.00



Novotechnik TLH-0300 Position Transducer TLH0300 picture

Novotechnik TLH-0300 Position Transducer TLH0300

$180.00



CEWE DI 01 TRANSDUCER picture

CEWE DI 01 TRANSDUCER

$113.39



5V Pressure Transducer or Sender 30psi-1600Psi for Fuel Diesel Oil Air Water picture

5V Pressure Transducer or Sender 30psi-1600Psi for Fuel Diesel Oil Air Water

$21.63



SOFTROL PRESSURE TRANSDUCER E2-PSEN picture

SOFTROL PRESSURE TRANSDUCER E2-PSEN

$99.99



Omega LD610-50 Displacement Transducer picture

Omega LD610-50 Displacement Transducer

$175.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.