SIM868 Open CPU getting RESET

Home Forums M2M Support Forum SIM868 Open CPU getting RESET

This topic contains 0 replies, has 1 voice, and was last updated by  Chandra Mouli 1 week, 1 day ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #36600 Reply

    Chandra Mouli

    Hi,

    We are using SIM868 module (SIMCOM EVB board) in Open CPU mode for our product, for one of our product requirement we need to send data to server through TCP/IP communication.

    We are using eat_modem_read() & eat_modem_write() for sending commands to modem from app (mentioned in below refer code) and by using this we are able to send command to modem and receiving response from modem.

    While sending data after some number of iterations modem is getting RESET , we observed at the time of eat_modem_read() & eat_modem_write() it is getting RESET .

    Could you please do help for resolve this issue , the below is the refer code.

    eat_modem_write(“AT+CREG?\r\n”,strlen(“AT+CREG?\r\n”));
    while(1)
    {
    eat_modem_read(rx_buf, 21);
    eat_trace(“[%s]”,rx_buf);

    if(strstr(rx_buf,”+CREG: 0,1\r\n\r\nOK”))
    {
    eat_trace(“*****************NTEWORK REGISTERED*******************”);
    IsNetworkRegistered=1;
    break;

    }
    else
    {
    WaitforcregRes++;
    if(WaitforcregRes>=10000)
    {
    eat_trace(“*****************NTEWORK NOT REGISTERED*******************”);
    NoOfRetryForCmnd++;
    if(NoOfRetryForCmnd>=20)
    {
    NoOfRetryForCmnd=0;
    ResetModem();
    }
    IsNetworkRegistered=2;
    break;
    }
    }
    }

    Thanks and Regards,
    Chandra Mouli.

Viewing 1 post (of 1 total)
Reply To: SIM868 Open CPU getting RESET
Your information: