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.
+1 vote
1,908 views 0 comments
by anonymous
Hi community!

Is there any way to send a simple text from a SSH / CLI connection (similar than sending a SMS, but the modem should connect to a TCP port, send the message and disconnect)?

Is there any functionality in them modem? I can't find a solution.

Or is the only way to do this on low-level AT command?

Thanks
Sven

1 Answer

+2 votes
by anonymous

Hi,
You can try use "netcat".
Firstly install netcat to router with this commands:
opkg update
opkg install netcat

send message:
echo "message" | netcat [IP]  [PORT]

More useful options netcat -h.

Best answer