Hi,

I am trynig to understand the way to send SMS message to fake SMSC.

For example, I have the following J2ME code to send a SMS text message.  As you notice, it is using sms://:5550001, the mobile device number.

MessageConnection conn = (MessageConnection) Connector.open("sms://:5550001:1234);
TextMessage message = (TextMessage) conn.newMessage(...);

So in my case,  if my smskannel.conf has the following

group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = xxx.xx.xxx

Then I should be able to do

MessageConnection conn = (MessageConnection) Connector.open(" http://xxx.xx.xxx:10000);

Right?

Thanks in advance,

Mustafa

Reply via email to