I have managed to get a Huawei E220 for testing - I don't know how similar is this to yours.
Mine is on COM5 and I used 460800 baud rate. SMSLib works so so... For one thing, CMTI is not fired, but SMSLib can emulate that so its not a big problem. The worst is that although the messages read are marked as 7bit, smslib cannot decode then properly - they are outputed as hex numbers. So there must be some "hidden" settings for this modem. On Jun 5, 2:21 pm, Maurizio Cembalo <[email protected]> wrote: > Nothing :( > > CMTI isn't sent... > > I have modified ATHandler to send my CPMS and captured CNMI commands. > > If I list the messages after the sending, the message is the memory and it > appear... > > regards, > maurizio > > > > On Thu, Jun 4, 2009 at 8:38 PM, Thanasis <[email protected]> wrote: > > > Please do this: > > > Edit src/java/org/smslib/modem/athandler/ATHandler.java and locate > > method "switchStorageLocation(String mem)"). > > > Remark the line: > > > getModemDriver().write("AT+CPMS=\"" + mem + "\"\r"); > > > and add one below the previous (remarked) line: > > > getModemDriver().write("AT+CPMS=\"SM\", \"SM\", \"SM\"\r"); > > > Recompile and try to read your messages. > > > P.S. > > We will see about CMTI after this. > > > On Jun 4, 8:56 pm, maucem <[email protected]> wrote: > > > Hi, > > > > the issue, as described in other posts on the Web is the CMTI not > > > fired... > > > I used portmon to watch how the software "Mobile partner" (provided by > > > Huawei) fetch SMSs. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
