Is there a way how to send SMS using AT-CHAT? I am on Mikrotik Chateau. Sending mseeages via /tool/sms works, but I do want to understand if AT commands can work as well here. Below are my miserable attempts to make this work:
- I check that AT interface works, set SMS mode to text, list messages (plenty space left), I also gave port list, although that does not do much
- I try to send a message as described in Quectel EG12 manual (and a few others as well)
- lte modem enters in an unresponsive state that only reboot can solve (waited for more that 3 minutes)
[admin@Mikr0Tik] > /port/print
Columns: DEVICE, NAME, CHANNELS, BAUD-RATE
# DEVICE NAME CHANNELS BAUD-RATE
0 2-1 usb1 2 auto
[admin@Mikr0Tik] > /interface lte at-chat lte1 input="AT"
output: OK
[admin@Mikr0Tik] > /interface lte at-chat lte1 input="AT+CMGF=1"
output: OK
[admin@Mikr0Tik] > /interface lte at-chat lte1 input="AT+CMGL=\"ALL\""
output: +CMGL: 0,"REC READ","+447778884444",,"25/05/23,14:33:40+04"
Hi user1
+CMGL: 2,"REC READ","+447778884444",,"25/05/23,15:04:39+04"
Hi again
+CMGL: 6,"REC UNREAD","+44777777777",,"25/05/23,16:09:13+04"
:) hi
+CMGL: 1,"STO SENT","+447778884444",,
Hi from router
+CMGL: 3,"STO SENT","+447778884444",,
Hi from router 2nd time
+CMGL: 4,"STO SENT","+447778884444",,
test lte1
+CMGL: 5,"STO SENT","+44777777777",,
Hi from your router
OK
[admin@Mikr0Tik] > /interface lte at-chat lte1 input="AT+CMGS=\"+447778884444\""
output:
[admin@Mikr0Tik] > /interface lte at-chat lte1 input="AT+CMGS=\"+447778884444\""
failure: port timeout
[admin@Mikr0Tik] > /interface lte at-chat lte1 input="AT+CMGF=1"
failure: Device is inactive!
[admin@Mikr0Tik] > /interface lte at-chat lte1 input="AT+CMGL=1"
failure: Device is inactive!
[admin@Mikr0Tik] >
There really is no difference if I do the second CMGS command or not - lte modem is unresponsive.