+ Post New Thread
Results 1 to 9 of 9
  1. #1
    Newbie level 6
    Points: 69, Level: 1

    Join Date
    Mar 2014
    Posts
    11
    Helped
    0 / 0
    Points
    69
    Level
    1

    Reading msg from sim900

    Hello guys, I want to read massage from sim900 modem..
    whenever I use AT+CMGF=x command modem is replying with OK instead of massage.
    what should I have to do?

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 4
    Points: 7,319, Level: 20
    Achievements:
    Created Blog entry 7 years registered
    xpress_embedo's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    1,162
    Helped
    199 / 199
    Points
    7,319
    Level
    20
    Blog Entries
    4

    Re: Reading msg from sim900

    This is not the command to read messages.

    Use
    AT+CMGL="ALL"

    This command will list all messages stored in your SIM memory

    - - - Updated - - -

    Apart from this you can also use

    AT+CMGL="REC READ"

    To get the list of received messages you have read.

    and

    AT+CMGL="REC UNREAD"

    To get the list of Unread Messages

    Use this command AT+CMGL=? to get various other parameters associated with AT+CMGL



  3. #3
    Newbie level 6
    Points: 69, Level: 1

    Join Date
    Mar 2014
    Posts
    11
    Helped
    0 / 0
    Points
    69
    Level
    1

    Re: Reading msg from sim900

    I have attached an image.. My sim900 is responding OK to every massage reading command.



    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 4
    Points: 7,319, Level: 20
    Achievements:
    Created Blog entry 7 years registered
    xpress_embedo's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    1,162
    Helped
    199 / 199
    Points
    7,319
    Level
    20
    Blog Entries
    4

    Re: Reading msg from sim900

    It means that you are not having any message in your sim, so simple.

    Power on Your Module and then send message to the module using another phone, then try these commands



    •   AltAdvertisement

        
       

  5. #5
    Newbie level 6
    Points: 69, Level: 1

    Join Date
    Mar 2014
    Posts
    11
    Helped
    0 / 0
    Points
    69
    Level
    1

    Re: Reading msg from sim900

    hahah.. i have sent more than dozen massages to that sim..even i used AT+CPMS="SM" to select sim memory.. tried other simcard.. but no effect.. it again responded OK only..earlier my gsm modem was working perfectly .. do you have any other idea to solve this problem? thanks for previous replies.



  6. #6
    Advanced Member level 4
    Points: 7,319, Level: 20
    Achievements:
    Created Blog entry 7 years registered
    xpress_embedo's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    1,162
    Helped
    199 / 199
    Points
    7,319
    Level
    20
    Blog Entries
    4

    Re: Reading msg from sim900

    Okay!!!

    Did you power on your module?
    Then open Hyper-terminal

    Then using some other phone send the message to this module,
    are u receiving
    +CMTI on hyper-terminal

    Tell me whether upto this part is okay or not.


    hahah..
    This was not good, i am trying to help you, and you haven't mentioned anywhere that you had sent dozen of messages.



  7. #7
    Newbie level 6
    Points: 69, Level: 1

    Join Date
    Mar 2014
    Posts
    11
    Helped
    0 / 0
    Points
    69
    Level
    1

    Re: Reading msg from sim900

    SORRY if I disappointed you.. I did not intended that..
    and I tried both ways.. sending message before powering on modem and then check using hyper_terminal and also as u mentioned above.. but result was same..

    is there any command to auto delete massage?


    my modem is showing received massage only when it is connected to hyper-terminal...

    - - - Updated - - -

    hey.. i just inserted that same sim card into mobile.. but there was no any message stored in the message memory..
    i think my messages are being stored on the memory of sim900(if it has its own)..or sim900 is deleting my messages..
    what do you thing?



    •   AltAdvertisement

        
       

  8. #8
    Advanced Member level 4
    Points: 7,319, Level: 20
    Achievements:
    Created Blog entry 7 years registered
    xpress_embedo's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    1,162
    Helped
    199 / 199
    Points
    7,319
    Level
    20
    Blog Entries
    4

    Re: Reading msg from sim900

    I think that sms are storing at some other place, which we are not able to recognize.

    Yes there is a command to delete all sms from SIM Card
    AT+CMGDA



  9. #9
    Newbie level 6
    Points: 69, Level: 1

    Join Date
    Mar 2014
    Posts
    11
    Helped
    0 / 0
    Points
    69
    Level
    1

    Re: Reading msg from sim900

    Hey.. its done.. i reset my GSM modem to manufacturer settings.. its working perfectly now.. Thanks for the suggestions.



--[[ ]]--