![]() |
Re: SMS from CLI (Command Line)?
I was thinking about this yesterday and then saw this post on the side of the front page. Thank you! Thank you! Thank you!
|
Re: SMS from CLI (Command Line)?
Quote:
|
Re: SMS from CLI (Command Line)?
can something like this be made for sending sms trough a skype account from the n900 to any other phone?
|
Re: SMS from CLI (Command Line)?
Awesome work!
Thanks to both of you :) |
Re: SMS from CLI (Command Line)?
I made the script more interactive but you can of course change it so that it accepts arguments instead. Just use python's sys.argv. If i have the time, i will change it so that it can support both.
Also, if anyone is interested, i have made another sample script listens to incoming messages. I placed the link in the pymaemo wiki: http://wiki.maemo.org/PyMaemo#Examples or you can also read it directly here: http://www.paraiso.dk/incomingsms.txt regards, shaun |
Re: SMS from CLI (Command Line)?
This is really good stuff, but would it be possible to organize this knowledge in a slightly different way?
I plan to use Perl when I get my N900 and so I don't need a lot of Python-code that (for me) just obscures the core information. What I would like to have is bascially just a compendium of how the N900's functions (SMS-sending, SMS-receiving etc etc) maps to the D-Bus. Something like: "for incoming SMS listen for 'IncomingSegment'-signals from /com/nokia/phone/SMS, interface Phone.SMS on the systembus". Does such an overview already exist somewhere? (If not I will create it when I have time on the weekend). |
Re: SMS from CLI (Command Line)?
Quote:
Quote:
In case you've studied it, are you aware of which hooks could be used to catch call inception and call end. I'm asking since I already programmed elisp code for Emacs's BBDB to initiate calling, and automatically record, who you've called etc. including the call time to BBDB database, however, I don't know which hooks to catch to check for actual call inception and end, so what happens to me now: 1. All calls are recorded as zero length, since Emacs dials the numer via dbus, which immediately exits, and Emacs catches this as call end time. 2. Even if the call doesn't connect, i.e. the line is busy, the user picks up, it gets recorded as a call made. Therefore you need to somehow check for call start and end... |
Re: SMS from CLI (Command Line)?
Quote:
regards, shaun |
Re: SMS from CLI (Command Line)?
Hi there,
I added some code and now you are able to send sms and receive a reply. Code is available for download here http://ztbsauer.com/sender.py For now it replies only for one command but feel free to expand it for own needs. |
Re: SMS from CLI (Command Line)?
I know the cellular stack supports it, are there any libraries for sending class 0 or "flash" SMS?
|
| All times are GMT. The time now is 03:31. |
vBulletin® Version 3.8.8