06-25-2022, 11:50 PM
1. Test
AT
2. make a CALL
ATD13100000000;
3. receive a CALL
RING display receive information
ATA Answer the phone
AT+CHUP Hang up
4. receive a SMS
+CMTI: "SM",1 display receive information
AT+CMGR=1 read No.1 SMS
AT+CMGL="ALL" read all SMS
AT+CMGD=1 delete No.1 SMS
AT+CMGD=1,4 delete all SMS
5. send a SMS
AT+CMGF=1 set SMS mode=TEXT
AT+CMGS="phone number"
> this is a text sms from KinCony
send Ctrl+Z or HEX (0x1A)
arduino IDE source code for GSM serial port debug:[attachment=1086]
[attachment=1082]
AT
2. make a CALL
ATD13100000000;
3. receive a CALL
RING display receive information
ATA Answer the phone
AT+CHUP Hang up
4. receive a SMS
+CMTI: "SM",1 display receive information
AT+CMGR=1 read No.1 SMS
AT+CMGL="ALL" read all SMS
AT+CMGD=1 delete No.1 SMS
AT+CMGD=1,4 delete all SMS
5. send a SMS
AT+CMGF=1 set SMS mode=TEXT
AT+CMGS="phone number"
> this is a text sms from KinCony
send Ctrl+Z or HEX (0x1A)
arduino IDE source code for GSM serial port debug:[attachment=1086]
[attachment=1082]