Community discussions

MikroTik App
 
jcbhltz909
newbie
Topic Author
Posts: 35
Joined: Tue Apr 28, 2020 10:49 pm

Mikrotik Knot & LTE

Tue Jul 20, 2021 1:31 am

Recently purchased a Mikrotik Knot for automation testing and cannot get the PPP setup working.

I have tried using 3 different SIM cards and only once was I able to get the setup partially working (internet was working, SMS was not). I really only want to use this for SMS sending/receiving and would prefer to use without PPP internet.

PPP Scan shows the following
https://i.imgur.com/m6H8O2y.jpeg

I have tried 3 different providers with default settings (only changing APN).

(Public Mobile Canada) - sp.mb.com
(Telus Canada) - sp.telus.com
(Eastlink Canada) - wisp.mobi.eastlink.ca

Telus and Eastlink both support LTE-M, and Eastlink was the only one that worked for a very short time.

Here is my configuration PPP configuration:

/interface ppp-client
add add-default-route=no apn=sp.telus.com data-channel=2 disabled=no info-channel=2 name=aaa port=usb2


AT Commands appear to be working as they should:

at+cops=?
+cops: (1,"EXT","EXT","302720",8),(1,"EXT","EXT","302720",9),(1,"Bell","Bell","302610",8),(1,"TELUS","TELUS","302220",8),,(0,1,2,3,4),(0,1,2)

PPP Logs:
https://i.imgur.com/R27VL6P.jpg

If anyone has any suggestions it would be much appreciated, thanks!
 
microlyme
just joined
Posts: 9
Joined: Thu Nov 11, 2021 2:28 pm

Re: Mikrotik Knot & LTE

Thu Nov 11, 2021 2:59 pm

Were you able to get SMS working or find any info?

Here is what I was able to figure out:

I couldn't send SMS at all, until I figured out the following:
  • ppp-client can't be running (just like when looking at ppp-client info)
  • must use channel 2
  • enable SMS on modem with AT+CMGF=1
  • maybe need to use + in phone number
Here's my command to send message to Twilio machine command SMS:
/tool sms send phone-number="+2936" message="to twilio" port=usb2 channel=2
I am having trouble receiving messages. Twilio said messages were delivered even when I had ppp-client enabled and running, but I was not seeing them in /tool sms inbox.

But when I query via serial directly, I am able to see my messages from before:
/system serial-terminal port=usb2 channel=2

AT+CMGF=1
AT+CPMS=?
AT+CPMS="ME"
AT+CMGL="ALL"
And I can see messages like
+CMGL: 3,"REC UNREAD","2936",,"[date and time]"
from twilio

...

OK
Were you able to get further like getting messages into
/tool sms inbox
?
 
microlyme
just joined
Posts: 9
Joined: Thu Nov 11, 2021 2:28 pm

Re: Mikrotik Knot & LTE

Sat Nov 13, 2021 2:43 am

I did not realize
/tool sms
had to be configured. After:
/tool sms set channel=2 port=usb2 receive-enabled=yes auto-erase=yes secret="" allowed-number="" sim-pin=""
I was able to receive SMS in
/tool sms inbox
:
[admin@MikroTik] > /tool sms inbox print
 # PHONE           TIMESTAMP                      MESSAGE
 0 2936            Nov/XX/2021 XX:XX:XX GMT =XX   from twilio
 1 2936            Nov/XX/2021 XX:XX:XX GMT =XX   from twilio 2
 
I think the modem needs to be configured into SMS mode after reboot.

And if
/tool sms
is receive-enabled, then you can not also use ppp-client at the same time.

Does anyone know a way to use LTE (ppp-client, sms) and GNSS at the same time?

Who is online

Users browsing this forum: Bing [Bot], coreshock, johnson73, StephenDig and 79 guests