This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GSM question

Hi guys please let me know if I can post a question regarding GSM modem over here My modem is working fine just when I try to receive msg through at+cmgr=1
1st character I get is not '+' Its not related to h/w but programming and response of GSM modem for at commands so is it ok if I post my query over here?

Parents
  • Hi guys, I'm back - that was long holiday, apart from that I solved the problem with msg handling - we can use at+cnmi=2,1 Now when gsm modem/module is initialized with this command will give +CMTI: <msg memory>,<msg index> when msg is received so now we can initialize with at+cnmi and then just wait for '+'

    OK now thats done my program is working correctly but only for 1st time coz after that NVRAM contents used to be erased does reading NVRAM deletes the byte?(surely not in lifetime but just asking to be sure) - like if(XBYTE[PhNumber + i] == RecPhNumber[i])

    where PhNumber is define -
    #define PhNumber 0x21 (RAM location)

Reply
  • Hi guys, I'm back - that was long holiday, apart from that I solved the problem with msg handling - we can use at+cnmi=2,1 Now when gsm modem/module is initialized with this command will give +CMTI: <msg memory>,<msg index> when msg is received so now we can initialize with at+cnmi and then just wait for '+'

    OK now thats done my program is working correctly but only for 1st time coz after that NVRAM contents used to be erased does reading NVRAM deletes the byte?(surely not in lifetime but just asking to be sure) - like if(XBYTE[PhNumber + i] == RecPhNumber[i])

    where PhNumber is define -
    #define PhNumber 0x21 (RAM location)

Children