AT+CMGS returns ERROR

后端 未结 4 2040
终归单人心
终归单人心 2021-01-01 19:49

I am using SIM900 GSM module connect to my AVR Microcontroller. I tested it with FT232 to see transmitting data. First Micro sends AT it will response OK

AT          


        
4条回答
  •  北荒
    北荒 (楼主)
    2021-01-01 20:15

    You aren't passing all the parameters to the command.

    The command format is:

    AT+CMGS=
    

    Where:

     = ASCII character 13
     = ASCII character 26
    

    You have passed only the number and without the <CR> you won't see the > note for the message.

    Example:

    AT+CMGS="+9893XXXXXX"
    > This is the message.→
    

    The response is:

    +CMGS:
    OK
    

    Where is the message reference.

提交回复
热议问题