FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12678 questions

15063 answers

24129 comments

47079 members

0 votes
1,357 views 11 comments
by
I'm trying to use the option get request the GPS position of my RUTX11 (firmware RUTX_R_00.02.00.2) device via SMS. When GPS is off, I instantly get the reply: "Failed to get GPS coordinates". So far so good and expected. When I switch GPS on I get the correct location on the map in the GUI. But when I send the request SMS I never get the response SMS from the system. Please advise.

2 Answers

0 votes
by
Hello,

I was not able to reproduce this issue.

Steps I took:

1. Get GPS fix

2. Send SMS "password gps"

3. Receive SMS with coordinates

4. Disable GPS in General settings and save

5. Send SMS "password gps"

6. Receive SMS "Failed to get GPS coordinates"

7. Enable GPS in General settings and save

8. Send SMS "password gps"

9. Receive SMS with coordinates

Could you write up exact steps it takes you to reproduce this issue?
by
I can follow your steps. I just never get the coordinates SMS back (step 3&9). Just the failure message (step 6). As a side note,  the 'status' SMS works fine. So in general things seem to be working. I created a new rule for the GPS coordinate. But that also didn't work. Anything else I need to set up apart from enabling GPS? Any logs I can look into to see where things get stuck?
by

I noticed issues when SMS storage space was fully used, could you check at your side?

Go to Services > Mobile Utilities > Messages > Storage

Check in SIM Card Memory how much space is used and how much is available. If space is fully used, go to Read Messages section, check top most circle to select all messages in this page and delete them.  (I would suggest deleting all of the messages)

Then try getting coordinates again and let me know how it goes.

by

3/20 SMS were shown in storage. Those were the ones I sent with GPS disabled. When GPS is enabled no SMS are logged in the Read Messages section. I've deleted all SMS. But no change in behavior.

by

Please, try connecting to the router via SSH and executing command gpsctl -ixta

This will show your routers current coordinates, there is no need to share them with me, just let me know if router shows them accurately?

by
Yes, this absolutely perfectly show my position and altitude.
by

I went through the System Log. Following are the log of two messages. First is the SMS for GPS coordinates when GPS is switched off. As you can see the log says a message was sent. Message 2, the same SMS withGPS turned on. See that no sent message appears, also the check rule block is missing. So it seems that something fails after EXECUTING GPS COORDINATES.

Message 1:

Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: CMD : /usr/sbin/sms_utils 3-1 read 2 &
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1347]: read
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1349]: sms_index: 2
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1068]: SMS Index == 2
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1069]: Date == 2020-01-03 09:51:39
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1070]: Sender == +49***
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1071]: SMS Text == *** gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]:
Fri Jan  3 09:51:40 2020 kern.notice kernel: SMS received from: +49***
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == reboot, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == status, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == mobileon, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == mobileoff, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == sshon, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == sshoff, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == webon, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == weboff, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == restore, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == switch_sim, sms_text == gps
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:298]: EXECUTING GPS COORDINATES
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:99]: Deleting sms with index:2
Fri Jan  3 09:51:40 2020 kern.notice kernel: Send GPS from: +49***
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: libgsm[src/libgsm_utils.c:1844]: Get GPS coordinates failed
Fri Jan  3 09:51:40 2020 kern.notice kernel: SMS was sent to: +49***
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: libgsm[src/libgsm_utils.c:1853]: ret :0
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:953]: CHECK RULE: 0
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:961]: section_list: reply
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:969]: Service disabled
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1085]:
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:953]: CHECK RULE: 1
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:961]: section_list: fwd_to_sms
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:969]: Service disabled
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1092]:
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:953]: CHECK RULE: 2
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:961]: section_list: fwd_to_http
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:969]: Service disabled
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1098]:
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:953]: CHECK RULE: 3
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:961]: section_list: fwd_to_smtp
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:969]: Service disabled
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1104]:
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:163]: check_storegate
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:137]: count_free_sms s->type: reply
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:137]: count_free_sms s->type: simman
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:137]: count_free_sms s->type: post_get
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:137]: count_free_sms s->type: pop3
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:137]: count_free_sms s->type: fwd_to_http
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:137]: count_free_sms s->type: fwd_to_sms
Fri Jan  3 09:51:40 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:137]: count_free_sms s->type: fwd_to_smtp


Message 2:
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: CMD : /usr/sbin/sms_utils 3-1 read 1 &
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1347]: read
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1349]: sms_index: 1
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1068]: SMS Index == 1
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1069]: Date == 2020-01-03 16:21:24
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1070]: Sender == +49***
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:1071]: SMS Text == *** gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]:
Fri Jan  3 16:21:25 2020 kern.notice kernel: SMS received from: +49***
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == reboot, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == status, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == mobileon, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == mobileoff, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == sshon, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == sshoff, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == webon, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == weboff, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == restore, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:461]: uci_text == switch_sim, sms_text == gps
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:298]: EXECUTING GPS COORDINATES
Fri Jan  3 16:21:25 2020 daemon.info unhandler[5034]: SMS-Utilities[src/sms_utils.c:99]: Deleting sms with index:1
Fri Jan  3 16:21:25 2020 kern.notice kernel: Send GPS from: +49***

by
Could you, please, factory reset the router and test SMS utilities and GPS with fresh configuration?
by
That I actually what I did before submitting this question. A factory reset didn't help.
by
I again reset to factory settings. No change in behavior.
by

Please repeat SMS command a few times (Make sure GPS fix is acquired) and generate a troubleshoot file by going to System > Administration > Troubleshoot and send it to me via a Private message for analysis.

0 votes
by

Issue is fixed with firmware RUTX_R_00.02.03.1

https://wiki.teltonika-networks.com/view/RUTX11_Firmware_Downloads

by
Hi I have updated to the latest firmware and have the same issue with no reply from SMS for GPS coordinates. I have checked the log and the SMS was received. Any ideas ?