FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

11981 questions

14262 answers

22480 comments

35630 members

0 votes
88 views 2 comments
by
Is it possible to execute AT command (e.g. through gsmctl -A) with the sms utilities? If so, how to achieve it?

1 Answer

+1 vote
by

Hello, 

What exactly do you want to achieve with the AT commands? Currently AT commands cannot be sent by SMS utilities. But you can perform other functions, a very useful one is the UCI commands. Here are some links with more information. 

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

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

Best answer
by

I want to:

  • set APN and figured out that it is possible with UCI commands,
  • run at+crsm to check blacklist of operators and potentially clear it
by

In that case, you can do everything by UCI commands.

  • To make the APN change you must follow the following steps.

          First, look at the configuration

           #uci show simcard

          next, you will need to enter your desired APN:

          #uci set simcard.sim1.apn=’your apn’

          Final steps:

          #uci commit

          #luci-reload

          I would also like to point out that if you have auto APN set up then you need to disable it additionally.

          #uci set simcard.sim1.auto_apn=’0’

  • To view the blacklist and modify it you must follow the steps below. 

         First, apply the command to check the list. 

         #uci show operctl

         Then you can apply the commands to delete the operators. This must be done one by one with each configuration. For example Orange

         #uci set operctl.@operlist[0].name='Orange'

         #uci set operctl.@operlist[0].mcc_mnc='20801'