Serial port – AT cmgs Return Error

I am using a SIM900 GSM module to connect to my AVR microcontroller.
I tested it with FT232 to see the transmission data.
First Micro sends AT and it will respond OK

AT OK
AT+CMGF=1 OK
AT+CMGS="+9893XXXXXX" returns ERROR and doesn't show "> "

Can anyone tell me what to do?

command AT CSCS? Will answer what type of SMS code you use. The correct answer is “GSM”, if not, you should set it by command AT CSCS = “GSM”.

Please remember “Ctrl Z” (Not “Enter”) as the end of the SMS text.

I am using a SIM900 GSM module to connect to my AVR microcontroller.
I tested it with FT232 To view the transmission data.
First Micro sends AT and it will respond OK

AT OK
AT+CMGF=1 OK
AT +CMGS="+9893XXXXXX" returns ERROR and doesn't show ">"

Can anyone tell me what to do?

Command AT CSCS? Will answer what type of SMS code you use. The correct answer is “GSM”, if not, you should set it by command AT CSCS = “GSM”.

Please remember “Ctrl Z” (Not “Enter”) as the end of the SMS text.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1256 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.