+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Newbie level 4
    Points: 124, Level: 1

    Join Date
    Oct 2014
    Location
    Roaming somewhere in this beautiful world
    Posts
    5
    Helped
    1 / 1
    Points
    124
    Level
    1

    SIM900A AT Commands to connect to TCP server over GPRS

    HI,

    I bought the SIM900A module few days back. I am able to initiate/receive calls/SMS. But I am not able to connect it to the internet over GPRS. Couldn't find a AT Command list with description in English. The only one AT commands document I found from SIM official website is in Chinese

    If you can share the full AT command set document in English, or, AT commands sequence that I need to execute to connect the SIM900A to the TCP socket of any server and send data over GPRS, It will be very helpful.

    Thanks in advance,
    Mrinal

    •   Alt29th October 2014, 11:58

      advertising

        
       

  2. #2
    Super Moderator
    Points: 237,282, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    41,064
    Helped
    12540 / 12540
    Points
    237,282
    Level
    100

    Re: SIM900A AT Commands to connect to TCP server over GPRS

    As far as I know, the SIM900 user manuals can be downloaded from SIMCOM for registered customers. But you'll find at lot of these documents (recent and previous releases) when searching with Google.

    Unfortunately the documents are officially prohibited from public disclosure, so they can't be published at Edaboard.



  3. #3
    Advanced Member level 4
    Points: 7,014, Level: 19
    xpress_embedo's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    1,160
    Helped
    199 / 199
    Points
    7,014
    Level
    19
    Blog Entries
    3

    Re: SIM900A AT Commands to connect to TCP server over GPRS




    •   Alt29th October 2014, 13:25

      advertising

        
       

  4. #4
    Newbie level 4
    Points: 124, Level: 1

    Join Date
    Oct 2014
    Location
    Roaming somewhere in this beautiful world
    Posts
    5
    Helped
    1 / 1
    Points
    124
    Level
    1
    Quote Originally Posted by FvM View Post
    As far as I know, the SIM900 user manuals can be downloaded from SIMCOM for registered customers. But you'll find at lot of these documents (recent and previous releases) when searching with Google.

    Unfortunately the documents are officially prohibited from public disclosure, so they can't be published at Edaboard.
    Yes, SIM900 AT commands manual is available in English language. But I am trying to find SIM900A AT commands manual, which is also available there but only in Chinese language.

    Quote Originally Posted by xpress_embedo View Post

    Yes, SIM900 and SIM900A are similar but unfortunately not the same. Similarity is the reason I am able to initiate call/receive call/Send SMS/Receive SMS. But I am not able to connect to the server using SIM900 AT command set because both are not same.
    Thanks a lot for educating me, I had seriously no idea what Google does



  5. #5
    Member level 5
    Points: 1,638, Level: 9
    dizgah's Avatar
    Join Date
    Nov 2009
    Location
    iran-8par
    Posts
    89
    Helped
    0 / 0
    Points
    1,638
    Level
    9

    Re: SIM900A AT Commands to connect to TCP server over GPRS

    hi
    review this file:
    http://s5.picofile.com/file/81485563...3835f.pdf.html
    its sim900 ip application manual & describe http protocol over gprs completely
    if have any problem ,ask it
    : )



  6. #6
    Advanced Member level 4
    Points: 7,014, Level: 19
    xpress_embedo's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    1,160
    Helped
    199 / 199
    Points
    7,014
    Level
    19
    Blog Entries
    3

    Re: SIM900A AT Commands to connect to TCP server over GPRS

    Yes, SIM900 and SIM900A are similar but unfortunately not the same. Similarity is the reason I am able to initiate call/receive call/Send SMS/Receive SMS. But I am not able to connect to the server using SIM900 AT command set because both are not same.
    Thanks a lot for educating me, I had seriously no idea what Google does
    I am using SIM900 manual and using SIM900A, and had successfully done following things:-
    Receiving Call
    Disconnecting Call
    Sending SMS
    Receiving SMS
    Connecting with GPRS (TCP and UDP Both)
    Send data to a TCP Server.

    and everything works fine.


    1 members found this post helpful.

  7. #7
    Super Moderator
    Points: 237,282, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    41,064
    Helped
    12540 / 12540
    Points
    237,282
    Level
    100

    Re: SIM900A AT Commands to connect to TCP server over GPRS

    I am using SIM900 manual and using SIM900A, and had successfully done following things:-
    Receiving Call
    Disconnecting Call
    Sending SMS
    Receiving SMS
    Connecting with GPRS (TCP and UDP Both)
    Send data to a TCP Server.

    and everything works fine.
    This has been also my guess. Up to now, SIMCOM was trying to keep AT command interfaces basically compatible between modem families. There are however new functions and enhancements of existing functions. As far as I see, there is a dedicated AT command manual for SIM900A available, but the TCP related application notes cover all recent modems. Your vendor should supply the SIM900A AT command manual nevertheless.



    •   Alt30th October 2014, 07:09

      advertising

        
       

  8. #8
    Newbie level 4
    Points: 124, Level: 1

    Join Date
    Oct 2014
    Location
    Roaming somewhere in this beautiful world
    Posts
    5
    Helped
    1 / 1
    Points
    124
    Level
    1

    Re: SIM900A AT Commands to connect to TCP server over GPRS

    Thanks to FvM, dizgah and xpress+enbedo.

    I was left with three options:
    1. Learn Chinese to understand the only AT datasheet for SIM900A which is in Chinese.
    2. Learn Urdu/Farsi to understand the web page shared by "dizgah" above.
    3. Map the AT Commands from Chinese SIM900A AT document to English SIM900 AT document and give it a try.

    I tried 3rd option and that worked. Here are the sequence of AT commands with a little explanation that worked for me. Hope it this detail will help anyone who is interfacing this module for the first time.

    AT+CGATT? [To check if GPRS is enabled or not]
    [Response "+CGATT: 1" indicates it is attached, else try sending "AT+CGATT=1" ]


    AT+CIPSHUT [Close the IP session if any]
    [Response should be "SHUT OK"]

    AT+CIPSTATUS [Check if the IP stack is initialized]
    [Response "STATE: IP INITIAL"indicates IP stack is initialized]

    AT+CIPMUX=0 [Setting up a single connection mode]
    [Response "OK" indicates single connection mode set successfully]

    ---This should be done one time to save the access point------------------------
    AT+CGDCONT=1,"IP","airtelgprs.com";
    [Response should be "OK", you can verify the entry by sending "AT+CGDCONT?"]
    --------------------------------------------------------------------------------

    AT+CSTT="airtelgprs.com"; [Select the accesspoint, append 2 more params if needed-> ,"username", "password" ]
    [Response should be "OK"]

    AT+CIICR [ Connects to the service provider. Response might take some time]
    [Response should be "OK"]

    AT+CIFSR [Get the local IP address]
    [Response should be "IP address" assigned to the module]

    AT+CIPSTART="TCP","180.152.200.105","80" [Start the connection, TCP, domain name, port]
    [Response should be "OK" and after sometime "CONNECT OK"]

    AT+CIPSEND [Request initiation of data entry which you want to send]
    [Response should be the string “>” to indicate that you can send the data]
    [You need to send a byte with value 0x1a to let the module know that is the
    end of the data you want to send]
    [Module should reply with "SEND OK"]

    AT+CIPSHUT [Request shutting down of the current connections]
    [Response should be "SHUT OK"]


    Thanks,
    Mrinal


    1 members found this post helpful.

--[[ ]]--