PINE64

Full Version: How to Send a SMS text trough the command line
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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