FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
170 views 0 comments
by anonymous
I'm trying to send multiline commands to modem using AT commands
Documentation of gsmctl https://wiki.teltonika-networks.com/view/AT_Commands#AT_command_usage specifies that -H parameter allows for accessing modem shell line. At the same time, the same document specifies that -H switch is used to get time (this is correct).

How can I send multiline AT commands

1 Answer

0 votes
by anonymous

Hello,

Indeed, in older firmware versions, you can use the 'gsmctl -H' command to access a shell interface for entering AT commands. However, in the new firmware, 'gsmctl -H' is used to retrieve the time, as you mentioned.

I recommend using microcom on the device to send commands directly to the modem (one of the devices in /dev/ttyUSB). This would be similar to what you are trying to achieve with 'gsmctl -H'. Alternatively, you can use the 'gsmctl -A <AT_COMMAND>' command.

If you need any assistance with microcom, please let me know.

Kind Regards,