In my case Option One:
1) Nokia blutooth modem I am getting O/P : why couldn't i see any Messages... I gave try to set storage location ME/MT/SM. Its gving the same warning. and end up without showing any message. My total o/p is: ------------------------------------------------------------------------------------------------- Example: Read messages from a serial gsm modem. SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org Version: 3.3.3 0 [Thread-1] WARN org.smslib - GTW: modem.com5: Retrying the detection of CNMI, modem busy? 3018 [Thread-1] WARN org.smslib - GTW: modem.com5: Retrying the detection of CNMI, modem busy? 6037 [Thread-1] WARN org.smslib - GTW: modem.com5: Retrying the detection of CNMI, modem busy? 9037 [Thread-1] WARN org.smslib - GTW: modem.com5: CNMI detection failed, proceeding with defaults. 9037 [Thread-1] WARN org.smslib - GTW: modem.com5: Callback indications were *not* set succesfully! >>> Gateway Status change for modem.com5, OLD: STOPPED -> NEW: RUNNING Modem Information: Manufacturer: Nokia Model: Nokia 6300 Serial No: 356415027151075 SIM IMSI: ** MASKED ** Signal Level: 67% Battery Level: 76% Now Sleeping - Hit <enter> to terminate. ------------------------------------------------------------------------------------------------------------------------------------------------------------------- In above output there is not a single message read by this class. Although i have lot of messages in my mobile. Why couldn't i see any SMS which are in my mobile? :) On Mar 17, 11:51 pm, Thanasis <[email protected]> wrote: > About the Nokia: > > The "Callback indications were *not* set succesfully!" error is not > critical - you may continue to work with, IF of course everything else > (sending & receiving) is working properly. SMSLib can handle this > case. > > About the Huawei: > > The PDU lines are breaked (probably from the copy-paste) but it seems > that these messages are SUBMIT reports. These are messages generated > by the modem each time you send out a message. You can ignore these > warnings/errors (next version will null them). > > On Mar 17, 4:05 pm, Rahul Boss <[email protected]> wrote: > > > > > Hi Thanasis, > > > I update source to v3.3.3. > > > Now, When I use: > > > -------------- > > 1) Nokia blutooth modem I am getting O/P : > > > Version: 3.3.3 > > 0 [Thread-1] WARN org.smslib - GTW: modem.com5: Retrying the > > detection of CNMI, modem busy? > > 3027 [Thread-1] WARN org.smslib - GTW: modem.com5: Retrying the > > detection of CNMI, modem busy? > > 6055 [Thread-1] WARN org.smslib - GTW: modem.com5: Retrying the > > detection of CNMI, modem busy? > > 9067 [Thread-1] WARN org.smslib - GTW: modem.com5: CNMI detection > > failed, proceeding with defaults. > > 9067 [Thread-1] WARN org.smslib - GTW: modem.com5: Callback > > indications were *not* set succesfully! > > > >>> Gateway Status change for modem.com5, OLD: STOPPED -> NEW: RUNNING > > > Modem Information: > > Manufacturer: Nokia > > > Model: Nokia 6300 > > Serial No: 356415027151075 > > SIM IMSI: ** MASKED ** > > Signal Level: 58% > > Battery Level: 81% > > > Now Sleeping - Hit <enter> to terminate. > > ------------------------- > > > 2) HUAWEI GMS MODEM, I am getting O/P: > > > Version: 3.3.3 > > > >>> Gateway Status change for modem.com6, OLD: STOPPED -> NEW: RUNNING > > > Modem Information: > > Manufacturer: huawei > > Model: EG162G > > Serial No: 353474020522298 > > SIM IMSI: ** MASKED ** > > Signal Level: 54% > > Battery Level: 0% > > > 0 [main] ERROR org.smslib - GTW: modem.com6: Wrong type of PDU > > detected: org.ajwcc.pduUtils.gsm3040.SmsSubmitPdu > > 0 [main] ERROR org.smslib - GTW: modem.com6: ERROR PDU: > > 079119892270080011640C911949124999550000A72EC86463356C1EAF3A50AC11A43656C3E > > 6F1AA8B3556C3E691D98B35844AA4B2815C0A994625B3216A00 > > Now Sleeping - Hit <enter> to terminate. > > 2434 [SMSLib-CNMIEmulator : modem.com6] ERROR org.smslib - GTW: > > modem.com6: Wrong type of PDU detected: > > org.ajwcc.pduUtils.gsm3040.SmsSubmitPdu > > 2434 [SMSLib-CNMIEmulator : modem.com6] ERROR org.smslib - GTW: > > modem.com6: ERROR PDU: > > 079119892270080011640C911949124999550000A72EC86463356C1EAF3A50AC11A43656C3E > > 6F1AA8B3556C > > > ----------------------------------------- > > > I remember that i successfully run the ReadMessage.java. And i was > > been able to get the o/p successfully. > > > Now, what happen. i don't know. > > Help. > > > Thank you. > > > On Mar 17, 1:21 am, Thanasis <[email protected]> wrote: > > > > Please upgrade to the latest v3.3.3 version and try once more. > > > > On Mar 16, 7:40 pm, Rahul Boss <[email protected]> wrote: > > > > > Hi, > > > > > I am going through the DOC of GSM Modem. > > > > > Mean while i used My NOKIA 6300 Blutooth Modem. > > > > and write > > > > setStorageLocations("MTSMME"); on the last line of constructor of > > > > ATHandler.java > > > > > its giving me o/p like this: > > > > -------------------------------------------------- > > > > Version: 3.0.1 > > > > 1 [main] WARN org.smslib - Callback indications were *not* set > > > > succesfully! > > > > > Modem Information: > > > > Manufacturer: Nokia > > > > Model: Nokia 6300 > > > > Serial No: 356415027151075 > > > > SIM IMSI: * MASKED * > > > > Signal Level: 54% > > > > Battery Level: 94% > > > > > Sim Pin is : 0000 > > > > Now Sleeping - Hit <enter> to terminate. > > > > ------------------------------------------------- > > > > > Whats the problem here? > > > > > On Mar 16, 1:07 am, Thanasis <[email protected]> wrote: > > > > > > The storage ids are two-letter words. For example, the "SM" refers to > > > > > the SIM memory. > > > > > > If you are brave enough, you can try with trial-and-error. To do this: > > > > > > 1) Edit ATHandler.java and add as the last constructor line the line: > > > > > setStorageLocations("MTSMME"); > > > > > > 2) Try to see if you can now read the messages stored in your modem. > > > > > > 3) If you do, the ID you are looking for must be one of "MT" or "ME" - > > > > > try the combinations. If not, then you should really look at your > > > > > modem's documentation - the ID could be any two-letter word... > > > > > > On Mar 15, 9:59 pm, Rahul Boss <[email protected]> wrote: > > > > > > > I gone through the Class InboundMessage and it has setMemIndex() and > > > > > > setMemLocation() methods. > > > > > > will these methods help me. but How & where can i call these methods > > > > > > or where can i use this methods inside ReadMessage class? > > > > > > > Lets hope for the best. i'll search any doc. > > > > > > > On Mar 15, 11:26 pm, Thanasis <[email protected]> wrote: > > > > > > > > It seems that the modem does not report back the storage > > > > > > > identifier > > > > > > > which refers to its memory. > > > > > > > There is not much I can do, unless you have some documentation > > > > > > > which > > > > > > > clearly states which is the identifier of the build-in modem > > > > > > > memory. > > > > > > > > On Mar 15, 2:45 pm, Rahul Boss <[email protected]> wrote: > > > > > > > > > Hi, > > > > > > > > > I have IDEA NETSETTER GSM MODEM (HUAWEI) MODEL-EG162G. > > > > > > > > > My GSM Device has 2 memory locations > > > > > > > > > 1) GMS Modem memory > > > > > > > > 2) SIM Memory > > > > > > > > > When i receive any sms it by default stores in to GSM Modem > > > > > > > > Memeory. > > > > > > > > > Ultimatly my SIM Memory always remains empty. > > > > > > > > > the big trajedy is that, ReadMessage class when it runs, it is > > > > > > > > searching for the SMS which are stored in SIM Memeory. And > > > > > > > > unfortunatly there is no SMS in SIM Memeory. > > > > > > > > > I want to tell ReadMessage class to search messages from GMS > > > > > > > > Modem > > > > > > > > Memory to read it. How can i do it? > > > > > > > > > Other wise, i have to manually put the SMS in SIM card memeory > > > > > > > > manually. Which is not possible for me. > > > > > > > > > How can i suggest my program to read message from my Local GSM > > > > > > > > Modem > > > > > > > > Memory and not from the SIM Memeory? > > > > > > > > > Please help me...- Hide quoted text - > > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- 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 -~----------~----~----~----~------~----~------~--~---
