![]() |
Re: SMS from CLI (Command Line)?
Quote:
|
Re: SMS from CLI (Command Line)?
Source code are available on the "homepage" (there's not really a page).
http://www.assembla.com/code/smssend/subversion/nodes |
Re: SMS from CLI (Command Line)?
Thanks for getting back sakya! The only trouble I have is that without the -c option I have no record of the sms messages I send and with it it's not really command line only! I have also noticed that if I am viewing a conversation with a recipient and I send to that recipient with the -c option it brings up the dashboard. This means that the first sms I send brings up the conversation window and the second sends it away again (or at least means I have to tap it in the dashboard).
|
Re: SMS from CLI (Command Line)?
In case it helps, here is a bash snippet which adds a text message to the database. I don't know how safe it is, but it /does/ appear in the conversations window after some variable delay. I was planning to use this with my own SMS script but never quite finished the SMS part (I got stuck on sending >160-char texts).
Code:
# $number is like '+447123456789' |
Re: SMS from CLI (Command Line)?
A direct insert in the db table doesn't seem the best way to me. :)
I'll look if there's some API to save a message. ;) Many thanks |
Re: SMS from CLI (Command Line)?
This in the wiki used to work for me and would sometimes add the message to the conversation window but it was never very reliable and no longer works for me.
|
Re: SMS from CLI (Command Line)?
The package is available in the Extras-devel repository
http://maemo.org/packages/view/smssend/ Btw I looked at the QtMobility APIs and it seems there's no way to save a message in the sent folder. I think I'll use the db insert. :p |
Re: SMS from CLI (Command Line)?
Yeah, I never claimed it wasn't messy! With a bit of testing maybe it'll turn out to be fine, maybe it won't.
|
Re: SMS from CLI (Command Line)?
I tried it and it seems to work fine. ;)
|
Re: SMS from CLI (Command Line)?
Could I persuade you to add autosend to the -c option as well? It's nice to be able to send as user, over 160 characters and without risking simultaneous database writes (if I scheduled a text via alarmd with smssend)?
|
| All times are GMT. The time now is 03:31. |
vBulletin® Version 3.8.8