TRB142 - AT commands

Hello everyone

My TRB142 is full modem-controll and is controlled and powered by an external device via RS-232. When the external device is started, the TRB142 also receives power and starts up. After its own initialization phase, the external device then transmits various AT commands via the RS-232 interface. From time to time, however, it happens that the TRB142 takes longer to start up and misses the AT commands (they only get sent once when starting up).

Is there a way to store the AT commands in the TRB142 as startscript so that they are executed independently of the external device?

Thank you for your help!
Peter

You can use Startup script in System->Maitenance->Custom scripts page, https://wiki.teltonika-networks.com/view/TRB142_Custom_Scripts

Ok. Thank you very much!

What kind of syntax or language has to be used? Or can I just write “AT…”?
And is there a way of testing the script?

Greetings
Peter

Hello,

Our devices use Bash scripts, which are a Unix shell commonly found in Linux environments (our firmware is based on OpenWRT, which is Linux-based).

I recommend checking our wiki page here Scripts examples for guidance on creating a directory via CLI, writing a script, and testing it.

Additionally, here are two helpful wiki pages with mobile commands that you may find useful:

If you have any further questions, feel free to reach out.

Best regards,