yes sir....
problem is solved..... there are locking simcard in wavecom device, i
did not locked it because i don't have manual device...

thanks you very much for all

On May 12, 7:18 pm, Thanasis <[email protected]> wrote:
> Are all three (3) javacomm files installed properly? ( the .jar, the .dll
> and the .properties)
>
> On 12 May 2010 05:49, Sri Dono Sudibyo <[email protected]> wrote:
>
>
>
> > Yes sir. Before i was using hyperterminal with same setting is normal
> > (COM1, 115200).
> > I try using command :
> > AT
> > AT+WATH=31
> > AT+CFUN=1
> > AT+CFUN=0
>
> > and all responses is ok.
> > but when i execute using java raising that error... i also run as
> > administrator user.
>
> > On May 11, 10:26 pm, Thanasis <[email protected]> wrote:
> > > Hi,
>
> > > Are you sure that COM1 is the port you should be using?
> > > Are you running as Administrator?
>
> > > On 11 May 2010 13:50, Sri Dono Sudibyo <[email protected]> wrote:
>
> > > > Hello all,
>
> > > > Could you help me....
> > > > i get error:
> > > > java.io.IOException: write error
> > > >        at com.sun.comm.Win32SerialPort.write(Win32SerialPort.java:677)
> > > >        at
>
> > com.sun.comm.Win32SerialOutputStream.write(Win32SerialOutputStream.java:
> > > > 38)
> > > >        at
> > > > orgsms.smslib.modem.SerialModemDriver.write(SerialModemDriver.java:
> > > > 163)
> > > >        at orgsms.smslib.modem.AModemDriver.write(AModemDriver.java:304)
> > > >        at
>
> > orgsms.smslib.modem.athandler.ATHandler_Wavecom.done(ATHandler_Wavecom.java:
> > > > 55)
> > > >        at
> > orgsms.smslib.modem.ModemGateway.stopGateway(ModemGateway.java:
> > > > 199)
> > > >        at orgsms.smslib.Service.stopService(Service.java:400)
> > > >        at orgsms.smslib.Service.startService(Service.java:279)
> > > >        at orgsms.smslib.Service.startService(Service.java:244)
> > > >        at examples.modem.SendMessage.doIt(SendMessage.java:45)
>
> > > > when i run example code :
> > > >        Service srv;
> > > >        OutboundMessage msg;
> > > >        OutboundNotification outboundNotification = new
> > > > OutboundNotification();
> > > >        srv = new Service();
>
> > > >        SerialModemGateway gateway = new
> > > > SerialModemGateway("modem.com1", "COM1", 115200, "Wavecom", "");
> > > >        gateway.setInbound(true);
> > > >        gateway.setOutbound(true);
>
> > > >        gateway.setSimPin("0000");
> > > >        gateway.setSimPin2("0000");
> > > >        srv.setOutboundMessageNotification(outboundNotification);
> > > >        srv.addGateway(gateway);
> > > >        srv.startService();
>
> > > >        msg = new OutboundMessage("+6287884307610", "Hello from
> > > > SMSLib!");
> > > >        srv.sendMessage(msg);
> > > >        OutboundWapSIMessage("+306948494037",  new URL("https://
> > > > mail.google.com/"), "Visit  GMail now!");
> > > >                srv.stopService();
>
> > > > error have happen when execute srv.startService().
> > > > what should can i do ?
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "SMSLib User Group" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<smslib%[email protected]>
> > <smslib%[email protected]<smslib%[email protected]>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/smslib?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "SMSLib User Group" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > [email protected]<smslib%[email protected]>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/smslib?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "SMSLib User Group" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<smslib%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/smslib?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "SMSLib 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 
> athttp://groups.google.com/group/smslib?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib 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