Hi,

Answers:

1) Yes, same parms.
2) ??? I am sorry, I did not quite understand the question.

On Dec 9, 1:11 pm, "mutumba wycliff" <[EMAIL PROTECTED]> wrote:
> Thanks Thanasis,
>
> Actually after upgrading my smslib version to a new one, I am now able to
> send a msg with smslib via my phone (Sony Ericsson S700i).
>
> If I may ask, how does the ReadMessage work?
> 1.Do I set the same parameters in the SerialModemGateway() like i did for
> the Sendmessage?
> 2. For InBound messages,
>    How does the sender direct the message to the Gateway through my Phone?
>
> thanks&regards,
>
> On 12/9/08, Thanasis <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > First of all, you are ages behind in versions.
> > Please upgrade to the latest one.
>
> > The error you see (java.lang.reflect.InvocationTargetException) is
> > probably due to incorrect java comm installation. Check that all three
> > javacomm files are in place.
>
> > On Dec 9, 7:33 am, "mutumba wycliff" <[EMAIL PROTECTED]> wrote:
> > > Hello all,
>
> > > hoping you are fine.
>
> > > I need some help on how to use the smslib api to send and receive sms via
> > a
> > > modem/compartible mobile phone.
>
> > > I am connecting my phones to the computer via a virtual BlueTooth
> > > connection, I am using a Sony Ericson S700i and a Nokia 6085.
> > > After successfully connecting these phones to my computer via Bluetooth,
> > > they were assigned com ports
> > > com41 - S700i
> > > com40 - Nokia 6085
>
> > > I made the relevant changes in my SendMessage.java file, for the Nokia I
> > did
> > > the following (Please correct me if I am missing out some steps);
> > > SerialModemGateway gateway = new SerialModemGateway("modem.com40",
> > "COM40",
> > > 33600, "Nokia", "6085");
> > > But on trying to run the SendMessage I get the following errors,
>
> > > Example: Send message from a serial gsm modem.
> > > SMSLib: A Java API library for sending and receiving SMS via a GSM modem
> > > or other supported gateways.
> > > Web Site:http://smslib.org
> > > This software is distributed under the terms of the Apache v2.0 License.
> > > Version: 3.3.0-B3
> > > org.smslib.GatewayException: Comm library exception:
> > > java.lang.reflect.Invocat
> > > nTargetException
> > >         at
> > > org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.ja
> > > :93)
> > >         at org.smslib.modem.AModemDriver.connect(AModemDriver.java:106)
> > >         at
> > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:110)
> > >         at org.smslib.Service$1Starter.run(Service.java:189)
>
> > > What could be the problem? Please help me out on this.
>
> > > Below is how I reference SerialModemGateway in my SendMessage.jav
>
> > > SerialModemGateway gateway = new SerialModemGateway("modem.com40",
> > "COM40",
> > > 33600, "Nokia", "6085");
>
> > > thanks&regards,
> > > --
> > > MUTUMBA WYCLIFFE
> > > CONSULTANT
>
> > > Neptune Software plc
> > > Murtala Courts
> > > Plot 33 Lumumba Avenue
> > > Kampala, Uganda
> > > Tel +256  (414) 237781
> > > Fax+256 (414) 237782
> > > Email: [EMAIL PROTECTED]
> > > Website:http://www.neptunesoftwareplc.com
>
> --
> MUTUMBA WYCLIFFE
> CONSULTANT
>
> Neptune Software plc
> Murtala Courts
> Plot 33 Lumumba Avenue
> Kampala, Uganda
> Tel +256  (414) 237781
> Fax+256 (414) 237782
> Email: [EMAIL PROTECTED]
> Website:http://www.neptunesoftwareplc.com- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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