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 41 8,570 11-27-2024, 10:39 AM
Last Post: fernando_c_m
  desktop and lockscreen biketool 1 329 10-04-2024, 04:17 AM
Last Post: vusra
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 838 06-25-2024, 10:38 AM
Last Post: mikehenson
  unofficial kali linux for pinephone help needed pinesmell 5 5,047 01-08-2024, 02:50 PM
Last Post: ERPlegend
  Has anyone got briar-desktop running on mobian? vusra 5 3,962 06-19-2023, 03:02 PM
Last Post: vusra
  Axolotl on PinePhone / Mobian arno_nuehm 219 199,226 03-26-2023, 01:49 AM
Last Post: shulamy
  PinePhone won't boot after software update jb2000 2 1,933 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 3,030 03-01-2023, 04:45 PM
Last Post: anonymous
  Battery problem with a Pinephone keyboard and Mobian elode 2 2,779 12-22-2022, 07:10 PM
Last Post: acid andy
  How to get Pinetime working with Pinephone arkadione 12 9,595 08-28-2022, 12:30 PM
Last Post: Fish

Forum Jump:


Users browsing this thread: 1 Guest(s)