maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   SMS from CLI (Command Line)? (https://talk.maemo.org/showthread.php?t=36148)

白い熊 2010-03-19 18:39

Re: SMS from CLI (Command Line)?
 
Forget the above, that's not right, pnatd is part of phonet-at, but purging it would have you uninstall mp-fremantle-generic-pr which you don't wanna do.
Code:

apt-get --reinstall install phonet-at

白い熊 2010-03-19 18:47

Re: SMS from CLI (Command Line)?
 
Alternatively try just to setuid the pnatd executable
Code:

chmod 4555 /usr/bin/pnatd

zoner 2010-03-19 19:03

Re: SMS from CLI (Command Line)?
 
Quote:

Originally Posted by 白い熊 (Post 573776)
alternatively try just to setuid the pnatd executable
Code:

chmod 4555 /usr/bin/pnatd

solved!!! :D

白い熊 2010-03-19 19:10

Re: SMS from CLI (Command Line)?
 
Send an SMS?

zoner 2010-03-19 20:41

Re: SMS from CLI (Command Line)?
 
Quote:

Originally Posted by 白い熊 (Post 573804)
Send an SMS?

yes, everything works exactly as you intended.

I cannot edit my bbdb entries though, but bbdb is a funny animal. But that's a trivial matter running through the .bbdb file a few times with a keyboard macro or two.

It's this type of function (sms/call from emacs) that makes this device so powerful, it's unfortunate that the number of folks interested seems so small.

Thanks for helping figure out my issues.

白い熊 2010-04-05 14:43

Re: SMS from CLI (Command Line)?
 
New version of bbdb-nokia-n900 v 0.3:
http://sumoudou.org/0/27.html

Modified script, so point stays on record selected in BBDB and doesn't move to end after sending an SMS, or calling.

tremby 2010-05-18 13:00

Re: SMS from CLI (Command Line)?
 
I can't get the SMS script (http://www.paraiso.dk/pymaemosms.txt) working. I'm in the UK in case that matters and am feeding a number like
07123456789
and a message like
testing testing

It says "Message sent" but the phone I sent it to gets nothing. Any ideas what could be wrong?

There's also nothing new in the el.db file but perhaps I shouldn't be expecting anything there anyway when sending an SMS like this? (That's actually a major problem for me -- I will want my sent messages to appear in history.)

Thanks

tremby 2010-05-18 13:11

Re: SMS from CLI (Command Line)?
 
And it sounds like the Telepathy API way of sending SMSes would make more sense given that I want the message to be stored in "sent". What's the current state of that -- is there anything working and available?

gLobster 2010-05-18 13:15

Re: SMS from CLI (Command Line)?
 
It's way connect to phone for send message, but not connect to Message application for send.
By dbus-send you send "direct_to_phone" as modem.

tremby 2010-05-18 13:26

Re: SMS from CLI (Command Line)?
 
If I understand you correctly, I'm already clear on the differences between using dbus and Telepathy. But what I'm asking is whether the Telepathy API for SMS is working and usable -- and if so, where can I read about it?


All times are GMT. The time now is 03:31.

vBulletin® Version 3.8.8