sim5216a

Home Forums M2M Support Forum sim5216a

This topic contains 8 replies, has 2 voices, and was last updated by  chris 1 year, 2 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #11821

    Chris

    Hi, i have this itead 3g shield with a sim5216A and i can’t open the network.

    Sim has no PIN

    I Can set the correct APN and AT+CGDCONT? gives me CGDCONT:1,”IP”,”sp.telus.com”,”0.0.0.0”0.0

    I can connect to the network no problem with data call, but AT+CGSOCKCONT=1,”IP”,”sp.telus.com” gives me ERROR

    AT+NETOPEN gives: NETOPEN=1
    AT+IPADDR gives: ip error network not openned

    I tried with othersim cards and other itead 3g shield, same problem. Anny thoughts?

    #11823

    Admin
    Keymaster

    Hi Chris,
    Have you checked the Simcom tutorial?

    http://m2msupport.net/m2msupport/tutorial-for-simcom-m2m-modules/#Tcp

    Tks..

    #11824

    Chris

    Of course, but a lot of these commands don’t work for the sim52XX series, anyway i also red all documentation from simcom AT command manuals and just can’t make that CGSOCKCONT=1,”IP”,”my apn” command to work, so i can’t open the network. But SMS work o.k.

    I tried the sim card in my phone and i can surf the net no problem, i tried my phone’s sim card in the shield and the same, can’t open network. Somehow the sim module doesn’t want to let me open the network…

    Sim card is unlocked and there is no pw.

    Aaaaarghhh…

    Thanks.

    #11827

    Admin
    Keymaster

    Are you able to activate PDP context with the modem?

    What response are you getting for below commands?

    AT+CSQ?
    AT+CREG?
    AT+CDGCONT?
    AT+CGACT?
    AT+CGATT=1
    AT+CIFSR

    #11828

    Chris

    Yes i can activate pd context:

    At=CGACT=1,1
    +AT+CGACT1,1
    ok
    Also have ip adress, and connected to network

    AT+CSQ
    +CSQ:17,99

    At+CREG?
    +CREG:0,1

    AT+CGDCONT?
    +CGDCONT:1,”IP”,”sp.telus.com”,”0.0.0.0”0.0

    AT+CGATT=1
    ok

    AT+CIFSR: This command does not exist in the command set for sim5216

    Thanks for helping Sir.

    #11830

    Admin
    Keymaster

    Hi Chris,
    Here is the link to AT Command spec for 5216.

    http://simcomm2m.com/En/module/detail.aspx?id=79

    Looks like NETOPEN command is not supported for thismodem.

    The test command and the write command of AT+NETOPEN is reserved for being
    compatible with old TCP/IP command set, and the old TCP/IP command set is not recommended to
    be used any longer.

    You need to use the TCP AT commands provided for this modem as documented in the above referenced guide..

    Tks..

    #11831

    Admin
    Keymaster

    Hi Chris,
    After you activate PDP context, you can try settin up TCP connection as below..

    AT+CIPCCFG=3,500,1,1,1,0,500

    //Replace the IP address you want to connect to
    AT+CIPOPEN=0,”TCP”,”116.228.221.51”,100

    //Get the IP address of teh current socket
    AT+IPADDR

    Tks..

    #11838

    chris

    Still no go.

    With PDP context activated:

    AT+CIPCCFG=3,500,1,1,1,0,500
    ok

    AT+CIPOPEN=0,”TCP”,”my ip adress”,my port
    IP error, invalid parameter

    looks like it NEED to have PDP context defined with CGSOCKCONT before NETOPEN or any attempt to open a TCP socket….

    Thans for helping

    Thanks

    #11841

    chris

    AT+CREG?
    +CREG:0,1
    ok
    The device is registered for home network

    AT+CGACT?
    +CGACT:1.0
    ok

    AT+CMEE=1
    ok

    AT+CGATT=1
    ok

    connecting to PDP profile 1:

    AT+CGACT1,1
    ok
    connection is successfull

    AT+CGPADDR=1
    +CGPADDR: 1,”10.168.74.190”
    ok

    AT+CGDCONT?
    +CGDCONT:1,”IP”,”sp.telus.com”,”0.0.0.0”,0,0
    ok
    following conexion profiles are available,

    CIP->1
    PDP Type->IP
    PDP Address->0.0.0.0
    Data Compression->0
    Header Comression->0

    AT+CGSOCKCONT=1,”IP”,”sp.telus.com”
    ERROR

    AT+CGSOCKCONT?
    +CGSOCKCONT: 1,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 2,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 2,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 4,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 5,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 6,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 7,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 8,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 9,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 10,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 11,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 12,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 13,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 14,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 15,”IP”,””,”0.0.0.0”0.0
    +CGSOCKCONT: 16,”IP”,””,”0.0.0.0”0.0
    AT+CPIN?
    READY
    AT+NETOPEN
    ok
    +NETOPEN=1 (close)

    AT+NETOPEN=0
    +IP ERROR:invalid parameter

    AT+IPADDR
    +IP ERROR: Network not opened

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: sim5216a
Your information:





<a href="" title="" rel=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">