Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson33- how to debug KC868-A8S GSM module using AT command
#1
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:
.zip   AT-debug.zip (Size: 282 bytes / Downloads: 223)

.pdf   SIM7500_SIM7600 Series_AT_Command_Manual _V1.10.pdf (Size: 4.53 MB / Downloads: 268)


Attached Files
.zip   AT-SSCOM.zip (Size: 410.09 KB / Downloads: 214)
Reply
#2
HardwareSerial.cpp define serial port pins:
#ifndef RX2
#define RX2 15
#endif

#ifndef TX2
#define TX2 13
#endif
Reply
#3
(07-14-2022, 02:46 AM)admin Wrote: HardwareSerial.cpp  define serial port pins:
#ifndef RX2
#define RX2  15
#endif

#ifndef TX2
#define TX2  13
#endif

hello, thank you for help ous.
please if can explain or make code for receive text message  
+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
Reply
#4
here are many demo code for SMS recieve message:
https://www.kincony.com/forum/forumdisplay.php?fid=24
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)