SMS from CLI (Command Line)?
Hi!
Is there any way to send SMSes from command line? It would be very nice if I can just ssh to my phone and send SMSes even my phone is not where I am. Is this possible some way? |
Re: SMS from CLI (Command Line)?
Perhaps over D-Bus?
Or you could VNC onto it and have the full GUI available... |
Re: SMS from CLI (Command Line)?
|
Re: SMS from CLI (Command Line)?
ossipena, in maemo channel someone wrote that there is lighttpd in repos. Haven't checked it (yet, have to, when I am at home again) but if that is there maybe we can create a web pages for it ourselves :)
twaelti, thanks for the tip to use VNC but mainly I am trying to find a way to do this with CLI because I can ssh almost with every machine but cannot open VNC in many computers (not installed but putty is installed on many windows machines etc). I tried to look those DBUS-apis but have to look them more deeply if I can find any way to do it with CLI directly. |
Re: SMS from CLI (Command Line)?
Quote:
|
Re: SMS from CLI (Command Line)?
Quote:
|
Re: SMS from CLI (Command Line)?
Quote:
Following https://garage.maemo.org/plugins/wik...id=1106&type=g I spied on dbus and sent an SMS containing "aaaaaaaaaa" (i.e. 10 `a's) to +12345678901 This is the dbus log, with the relevant part: Code:
method call sender=:1.10 -> dest=org.freedesktop.DBus serial=1350 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch So, I experimented in a similar way. Doing, based on the above dbus log: Code:
dbus-send --system --dest=com.nokia.phone.SMS --type=method_call --print-reply /com/nokia/phone/SMS/ba212ae1 com.nokia.csd.SMS.Outgoing.Send array:byte:33,5,11,145,33,67,101,135,9,241,0,0,10,225,112,56,28,14,135,195,225,48 string:"" Code:
method return sender=:1.16 -> dest=:1.307 reply_serial=2 Any thoughts anyone? |
Re: SMS from CLI (Command Line)?
very interesting, I need this. wait the resolution.
|
Re: SMS from CLI (Command Line)?
There's supposed to be a Telepathy API forthcoming for all of this... Supposedly, dbus is the "wrong way" to be doing it.
|
Re: SMS from CLI (Command Line)?
Yeah, telepathy is all fine and dandy, I've seen the presentation, but currently cannot be interfaced - maybe it's coming.
Second, dbus ain't the wrong way, it's low level, that's exactly what's needed. For instance I wanna program an interface from GNU Emacs, so you can dial and send SMSes from BBDB etc. Dialing is already working, now the SMS is the part that's missing. For this, I'd think a low-level way would be better, then interfacing to telepathy... But I wouldn't be opposed even to telepathy, if one would know how to do it now. |
All times are GMT. The time now is 03:08. |
vBulletin® Version 3.8.8