![]() |
Re: SMS from CLI (Command Line)?
if I may suggest another option, Tpsession is even simpler to use in case it helps you. Its a wrapper over the telepathy libs, if you dont want to get your hands dirty ;)
http://tpsession.garage.maemo.org/ |
Re: SMS from CLI (Command Line)?
Hmm, having had a look it looks nice but I don't even want to get my hands that dirty... If there were Python bindings on the other hand...
I actually just tried to install the Maemo SDK, thinking if it must be C it must be C, but am having no luck. That's a question for another thread, though. |
Re: SMS from CLI (Command Line)?
Quote:
just copypaste the el.db code from gitorious? www.gitorious.org/VertSMS it is about 10 lines if I remember correctly. should be found in SMS.py e: python bindings aren't a problem, you can use ctypes. But with rtcom API I haven't got anything working with storing the sms. |
Re: SMS from CLI (Command Line)?
Any idea how I can fix it?
And just so we're clear, the code you're pointing to is to add the SMS to the database, right? Would the conversations app then have to be prodded to reload the database before the sent messages appear? Thanks. |
Re: SMS from CLI (Command Line)?
Quote:
(dbus-monitor > logfile.txt for example) yes it adds it to database, there is small delay but don't know how it acts if conversations is open in background |
Re: SMS from CLI (Command Line)?
This is with the http://www.paraiso.dk/pymaemosms.txt script as is: http://sprunge.us/aIhe
This is with Cue's script back on page 6: http://sprunge.us/YMHI I've replaced the number with 07XXXXXXXXX (same number of digits though). |
Re: SMS from CLI (Command Line)?
update: there is now an API way to write stuff to rtcom eventlogger database!!! (million thankses again to frals and gri)
it can be found at newest push from gitorious. should be straight in sms.py (green lines) http://gitorious.org/vertsms/vertsms...faf78da4fed051 |
Re: SMS from CLI (Command Line)?
Quote:
thanks for your script. It works wonderfully... For non-accented messages. It seems your deoctify() function fails for accented messages, any plans to fix this? |
Re: SMS from CLI (Command Line)?
Quote:
Many posts ago I've written correct solution for decoding SMS PDU: http://kibergus.su/node/17 The only change is that gsmdecode.py is now in ussd4all package instead of ussd-common. Use gsmdecode.decode_pdu() for decoding PDU. |
Re: SMS from CLI (Command Line)?
Quote:
I have tried this example to send an sms via G-LIB library but currently I need to send an sms using "dbus_g_proxy_call" g-lib method. Unfortunately I got a Segmentation Failure (though sms is sent) when calling this: GError* error; dbus_g_proxy_call_no_reply(dbus_proxy, "Send", &error, MY_TYPE, ptrarray, G_TYPE_STRING,"",G_TYPE_INVALID); Please could you please give a hint how to fix that or is there any way to send an sms with reply version. |
| All times are GMT. The time now is 03:31. |
vBulletin® Version 3.8.8