I guess there is no problem using smslib to connect to any SE phone.
Just make sure you connect to your SE phone using bluetooth correctly
and you know which port to connect to using smslib

On Sep 28, 2:30 pm, "Mozes H. Baottong" <[email protected]>
wrote:
> Hi Mark and all,
> I am Mozes and I am new to smsLib.
>
> Is that possible to connect to SE K618i handset using bluetooth ?
>
> Thanks you very much,
>
> Mozes, Toraja - Indonesia
>
>
>
> On Mon, Sep 28, 2009 at 1:25 AM, Mark Thien <[email protected]> wrote:
>
> > Hi guys,
>
> >    I'm using smslib 3.4.2 and SE K800i as a gateway. I use it to send
> > and read message from this gateway. I just modified the
> > ReadMessage.java by putting SendMessage.java as a thread:
>
> >                        SendMessageThread sendMessageThread = new
> > SendMessageThread
> > (this.srv);
> >                        ExecutorService threadExecutor =
> > Executors.newFixedThreadPool
> > ( 1 );
> >                        threadExecutor.execute(sendMessageThread);
> >                        threadExecutor.shutdown();
> >                        System.out.println("Now Sleeping - Just Hit <enter>
> > to stop
> > service.");
> >                        System.in.read(); System.in.read();
>
> > public class SendMessageThread implements Runnable {
>
> >        Service srv;
>
> >        public SendSMS(Service srv) {
> >                this.srv = srv;
> >        }
>
> >        public void run(){
> >                while(true){
> >                        try {
> >                                OutboundMessage msg = new
> > OutboundMessage("+6591177135", "Hello
> > Good day");
> >                                for(int x = 0; x< 10; x++)
> >                                     this.srv.sendMessage(msg);
> >                                Thread.sleep(600000);
> >                        } catch (InterruptedException e) {
> >                                // TODO Auto-generated catch block
> >                                e.printStackTrace();
> >                        } catch (TimeoutException e) {
> >                                // TODO Auto-generated catch block
> >                                e.printStackTrace();
> >                        } catch (GatewayException e) {
> >                                // TODO Auto-generated catch block
> >                                e.printStackTrace();
> >                        } catch (IOException e) {
> >                                // TODO Auto-generated catch block
> >                                e.printStackTrace();
> >                        }
> >                }
> >        }
> > }
>
> > However, I tried to send like 10 messages at the same time. While
> > sending, I use another phone to send an SMS to this gateway but the
> > InboundNotification function never show anything and the message still
> > remain in the gateway as I delete the message once read. After that, I
> > tried sending another message to the gateway and this time 2 messages
> > read by the InboundNotification function.
>
> > Appreciate anyone could help on this issue.
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to