Does it mean that if my application need to read message and send message, I need 2 modem to do the work? 1 is for sending and another for reading?
On Sep 24, 9:39 am, Mark Thien <[email protected]> wrote: > I am using Vista Business edition and my laptop got a built in > bluetooth dongle. > hence, I use this dongle to initialize with my SE k800i phone and > after that it created 2 ports for me, which are > > 1) Dial up networking (DUN) port 3 - Outgoing > 2) Serial port (SPP) port 4 - Incoming > > After that I run SendMessage.java by using port 3 and ReadMessage.java > by using port 4. > > SendMessage.java > > while(true){ > Thread.sleep(600000); // simulate to send every 10 > mins > // Send a message synchronously. > msg = new OutboundMessage("+6591177135", "Hello Good > day. This is > from Twitext.com ... "); > srv.sendMessage(msg); > } > > I run SendMessage.java first then ReadMessage.java > It was able to Send and Read Message initially, but after a while, > SendMessage never send out any SMS anymore but ReadMessage still be > able to continue reading new inbound message. > > On Sep 23, 7:38 pm, Thanasis <[email protected]> wrote: > > > I don't understand what you are trying to do... > > If you have one phone, then only one port should be used. What is COM3 > > and COM4??? > > > On Sep 23, 6:33 am, Mark Thien <[email protected]> wrote: > > > > Hi guys, > > > > I have downloaded the example source code for version 3.4.2. I > > > have setup my Sony Ericsson k800i to use port 3 as outgoing and port 4 > > > as incoming. Hence, I run SendMessage.java using port3 and then run > > > ReadMessage.java using port4. It was initialized successfully. > > > ReadMessage able to read new incoming message at start. However, after > > > sometime, it stop reading any new incoming message. > > > > If I start ReadMessage.java 1st then start SendMessage.java, > > > reading message has no problem but after sometime, SendMessage just > > > never send out any SMS and both problem never throw any exception. > > > > Appreciate someone could help here. Thanks ! > > > > regards, > > > Mark Thien --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/smslib?hl=en -~----------~----~----~----~------~----~------~--~---
