Sending Pinephone SMS from Desktop
#1
Back in the N900 days we had an app which used rendezvous auto discovery IM protocol to bridge the phone's SMS to LAN instant messenger.
While HeySMS could probably be ported or cloned with recent libs https://talk.maemo.org/showthread.php?t=84705 I think that there is probably a quick ready to get a basic SMS send.

Is there an easy way to send a command line trigger or AT command followed by the text to at least write a SMS and then send it over SSH.
  Reply
#2
Question 
Can you use ssh to call mmcli? You can use mmcli with --messaging-create-sms and --send.
  Reply
#3
(09-12-2022, 04:49 AM)anonymous Wrote: Can you use ssh to call mmcli? You can use mmcli with --messaging-create-sms and --send.

Nice!
exactly what I wanted!
Now I can leave a SSH window up for this.
Where did you find this?  I have this
https://www.commandlinux.com/man-page/man8/mmcli.8.html
but it is not clear how to format an included SMS message and I am now juggling between this and fixing my clashing chatty and gnome-contacts upgraded installs.
  Reply
#4
(09-12-2022, 04:58 AM)biketool Wrote:
(09-12-2022, 04:49 AM)anonymous Wrote: Can you use ssh to call mmcli? You can use mmcli with --messaging-create-sms and --send.

Nice!
exactly what I wanted!
Now I can leave a SSH window up for this.
Where did you find this?  I have this
https://www.commandlinux.com/man-page/man8/mmcli.8.html
but it is not clear how to format an included SMS message and I am now juggling between this and fixing my clashing chatty and gnome-contacts upgraded installs.

--messaging-create-sms-with-data is less dangerous to use than --messaging-create-sms that requires that you use quotes very carefully.

These examples might help you:
https://gitlab.freedesktop.org/mobile-br...i-test-sms
  Reply
#5
(09-13-2022, 08:34 AM)anonymous Wrote:
(09-12-2022, 04:58 AM)biketool Wrote:
(09-12-2022, 04:49 AM)anonymous Wrote: Can you use ssh to call mmcli? You can use mmcli with --messaging-create-sms and --send.

Nice!
exactly what I wanted!
Now I can leave a SSH window up for this.
Where did you find this?  I have this
https://www.commandlinux.com/man-page/man8/mmcli.8.html
but it is not clear how to format an included SMS message and I am now juggling between this and fixing my clashing chatty and gnome-contacts upgraded installs.

--messaging-create-sms-with-data is less dangerous to use than --messaging-create-sms that requires that you use quotes very carefully.

These examples might help you:
https://gitlab.freedesktop.org/mobile-br...i-test-sms

that script looks ripe for trimming down to a cli-sms app.
  Reply
#6
(09-13-2022, 10:50 AM)biketool Wrote:
(09-13-2022, 08:34 AM)anonymous Wrote:
(09-12-2022, 04:58 AM)biketool Wrote:
(09-12-2022, 04:49 AM)anonymous Wrote: Can you use ssh to call mmcli? You can use mmcli with --messaging-create-sms and --send.

Nice!
exactly what I wanted!
Now I can leave a SSH window up for this.
Where did you find this?  I have this
https://www.commandlinux.com/man-page/man8/mmcli.8.html
but it is not clear how to format an included SMS message and I am now juggling between this and fixing my clashing chatty and gnome-contacts upgraded installs.

--messaging-create-sms-with-data is less dangerous to use than --messaging-create-sms that requires that you use quotes very carefully.

These examples might help you:
https://gitlab.freedesktop.org/mobile-br...i-test-sms

that script looks ripe for trimming down to a cli-sms app.

Yes and it can be useful to send encrypted SMS as there is no such feature in Chatty yet. You can write your SMS in a simple text editor, use GPG to encrypt it and use mmcli to send it.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 13 1,014 02-20-2024, 03:07 AM
Last Post: anonymous
  unofficial kali linux for pinephone help needed pinesmell 5 3,356 01-08-2024, 02:50 PM
Last Post: ERPlegend
  Has anyone got briar-desktop running on mobian? vusra 5 2,773 06-19-2023, 03:02 PM
Last Post: vusra
  Axolotl on PinePhone / Mobian arno_nuehm 219 156,761 03-26-2023, 01:49 AM
Last Post: shulamy
  PinePhone won't boot after software update jb2000 2 1,199 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 1,994 03-01-2023, 04:45 PM
Last Post: anonymous
  Battery problem with a Pinephone keyboard and Mobian elode 2 2,065 12-22-2022, 07:10 PM
Last Post: acid andy
  How to get Pinetime working with Pinephone arkadione 12 6,776 08-28-2022, 12:30 PM
Last Post: Fish
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 1,129 08-06-2022, 01:10 AM
Last Post: elode
  Telegram not as desktop app user641 0 711 08-05-2022, 08:45 AM
Last Post: user641

Forum Jump:


Users browsing this thread: 1 Guest(s)