How to Send a SMS text trough the command line
#1
Type in the terminal app of via SSH:

First enable the modem of your PinePhone if not done already:
Code:
sudo /usr/share/ofono/scripts/enable-modem
sudo /usr/share/ofono/scripts/online-modem

Then send sms text message:
Code:
/usr/share/ofono/scripts/send-sms /quectelqmi_0 +31628860414 "Hello world!" 0

Replace +31062880414 with the phone number or the desired receiver and replace "Hello world!" with your message.

With a cron job you could send a birthday message to your friends on their birthdays automatically. I will not explain how to do that, it is your home work from me. My birthday is at 15 Nov b.t.w. Big Grin
#2
(02-15-2020, 06:59 AM)PinePhoneCoder Wrote: With a cron job you could send a birthday message to your friends on their birthdays automatically. I will not explain how to do that, it is your home work from me. My birthday is at 15 Nov b.t.w. Big Grin

Are you telling us that +31628860414 is your tele Big Grin


Possibly Related Threads…
Thread Author Replies Views Last Post
  OSK on TELEports covers the text field mymike00 4 5,921 07-31-2020, 08:43 AM
Last Post: mymike00

Forum Jump:


Users browsing this thread: 1 Guest(s)