Ok, here are my results from a Huawei E220 model: First of all, I would like to refer to this post: http://groups.google.com/group/smslib/browse_thread/thread/515e079a9a6e64dc#
This friend noticed and reported that Huawei gets attached to two (2) virtual serial ports. In my setup, those are COM4 and COM5. COM5 is the notification port, so forget it for now. I used the COM4, with the default AT handler. I could read messages without trouble. I could also send messages, but it required from me to set the SMSC number myself. As a sidenote: When I first plug this modem, the Vodafone software starts up. I shutdown it, but it seems to leave the modem in a "strange" state (probably shuts it down). I had to issue a "AT+CFUN=1" from Hyperterminal to bring it up. So I probably need to create a special AT Handler for this modem with the initialization sequence - or you can add it as a Gateway init string as well. On Aug 19, 8:44 pm, (¯`·.¸¸.·´¯)a×i <[email protected]> wrote: > To help you find the error > I get an TimeOutException doing a: > > c = getCharQueue().get(); > in the line 294 of AModemDriver > > when trying to do a ATHandler.listMessages() > in return getModemDriver().getResponse(); > > afer restarting modem by Watchdog. > > I'll wait for your answer, > Thank you very much > > On Aug 15, 3:10 pm, Thanasis <[email protected]> wrote: > > > > > Hi, > > > I got a similar Huawei - I still don't know the exact model, but I > > will give it a try later and let you know how it goes. > > > On Aug 13, 6:06 pm, (¯`·.¸¸.·´¯)a×i <[email protected]> wrote: > > > > Hi Thanasis, I tried with javacomm and I had the same result: > > > smslib enters in a loop trying to restart modem, > > > > [smslib] readMessages(): Gateway modem.com does not respond, marking > > > for restart. > > > [smslib] GTW: modem.com: Starting gateway, using HuaweiE226 (Generic) > > > AT Handler. > > > [smslib] GTW: modem.com: GSM: Registered to home network. > > > . > > > . > > > . > > > [smslib] readMessages(): Gateway modem.com does not respond, marking > > > for restart. > > > [smslib] GTW: modem.com: Starting gateway, using HuaweiE226 (Generic) > > > AT Handler. > > > [smslib] GTW: modem.com: GSM: Registered to home network. > > > > This happens after a time without receiving messages, and when new one > > > arrives > > > > Help please. > > > > On Aug 6, 5:26 pm, Thanasis <[email protected]> wrote: > > > > > If you are on Win32, try JavaComm v2 instead of RxTx. RxTx does not work > > > > very well with virtual com ports (like USB, etc). > > > > > "1971" is my birth year - its just an ID required by JavaComm. Its not a > > > > timeout - timeout is set by default to 30s and can be configured else > > > > where > > > > (see SMSLib parameters' documentation). > > > > > 2009/8/6 a×i <[email protected]> > > > > > > I'll try it, but my doubt is, everything works well until a time > > > > > happens and stops working. > > > > > I dont' undertand how stop working in this time. rxtx? windows? > > > > > smslib? > > > > > > That 1971 param, it's just an idetifier? isn't a timeout? > > > > > > Thanky very much for your answer. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
