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
  Has anyone got briar-desktop running on mobian? vusra 4 737 11-29-2022, 01:35 PM
Last Post: Fish
  Axolotl on PinePhone / Mobian arno_nuehm 203 95,033 11-10-2022, 02:40 AM
Last Post: arno_nuehm
  Battery problem with a Pinephone keyboard and Mobian elode 1 502 10-28-2022, 02:24 PM
Last Post: presire
Wink Pinephone lost graphic during mobian system upgrade cmpin 0 245 10-18-2022, 12:55 AM
Last Post: cmpin
  How to get Pinetime working with Pinephone arkadione 12 2,564 08-28-2022, 12:30 PM
Last Post: Fish
  unofficial kali linux for pinephone help needed pinesmell 3 1,297 08-23-2022, 01:45 AM
Last Post: Shubhamvis98
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 360 08-06-2022, 01:10 AM
Last Post: elode
  Telegram not as desktop app user641 0 230 08-05-2022, 08:45 AM
Last Post: user641
  Sending SMS carrier: O² Germany sfb 23 12,719 07-23-2022, 01:31 PM
Last Post: arno_nuehm
  cryptocurrency on mobian/pinephone biketool 31 10,941 06-15-2022, 03:14 PM
Last Post: Hobbes42

Forum Jump:


Users browsing this thread: 1 Guest(s)