+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Junior Member level 2
    Points: 738, Level: 5

    Join Date
    Jun 2013
    Posts
    24
    Helped
    0 / 0
    Points
    738
    Level
    5

    Cannot send sms from M95 Quectel GSM Module-PIC24F

    Hi guys,
    I'm trying to send a SMS from my Modem(PIC24FJ128GA202 interfaced with M95 Quectel GSM) to my mobile phone. I've successfully read received SMS from my mobile. But cannot send SMS from my modem. I thought that i'm doing something wrong while i give ctrl+z. I've tried appending "\r\n" with "0x1A" i.e. "0x1A\r\n" but its not working. Below is the send SMS code....

    Code:
    uart3str("AT+CMGF=1\r");
    Delayms(300);
    uart1str(gprs_buffer);                    //gprs_buffer has response of AT commands (Response: "OK")
    clear();                                         //Clear gprs_buffer 
    uart3str("AT+CMGS=\"+91900xxxxxxx\"\r\n");     //+91 is the country code
    Delayms(300);
    uart3str("Hello");                          //Message i'm trying to send
    uart3str("0x1A");                          // Ctrl+Z
    uart3str("\r\n");
    uart1str(gprs_buffer);
    Below is the response i'm seeing in hyperterminal
    Code:
    AT+CMGF=1
    OK
    AT+CMGS="+91900xxxxxxx"
    > Hello0x1A
    >

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 3
    Points: 5,481, Level: 17

    Join Date
    Apr 2011
    Posts
    926
    Helped
    184 / 184
    Points
    5,481
    Level
    17

    Re: Cannot send sms from M95 Quectel GSM Module-PIC24F

    M95 Quectel GSM need fast response and higher baudrate for communication so try to your delay between you successive AT commands and after ctl+z (0x1a) wait for a few ms.

    and basic thing check your network and sim balance to send a sms properly.
    Please marked the thread solved if your problem is answered it will take few seconds of you but saves lot of time for others to get answers for same problems..



--[[ ]]--