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
  Axolotl on PinePhone / Mobian arno_nuehm 213 105,629 Yesterday, 02:19 AM
Last Post: dante404
  unofficial kali linux for pinephone help needed pinesmell 4 1,693 12-25-2022, 03:05 AM
Last Post: Juergen
  Battery problem with a Pinephone keyboard and Mobian elode 2 872 12-22-2022, 07:10 PM
Last Post: acid andy
  Has anyone got briar-desktop running on mobian? vusra 4 1,079 11-29-2022, 01:35 PM
Last Post: Fish
Wink Pinephone lost graphic during mobian system upgrade cmpin 0 365 10-18-2022, 12:55 AM
Last Post: cmpin
  How to get Pinetime working with Pinephone arkadione 12 3,264 08-28-2022, 12:30 PM
Last Post: Fish
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 475 08-06-2022, 01:10 AM
Last Post: elode
  Telegram not as desktop app user641 0 304 08-05-2022, 08:45 AM
Last Post: user641
  Sending SMS carrier: O² Germany sfb 23 13,793 07-23-2022, 01:31 PM
Last Post: arno_nuehm
  cryptocurrency on mobian/pinephone biketool 31 12,454 06-15-2022, 03:14 PM
Last Post: Hobbes42

Forum Jump:


Users browsing this thread: 1 Guest(s)