maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] smssend: send sms from the command line (CLI) (https://talk.maemo.org/showthread.php?t=69661)

Halftux 2012-04-26 22:43

Re: [Announce] smssend: send sms from the command line (CLI)
 
Ok I found for me a quick and dirty solution to send an UCS2 sms at a specific time through conversation.

I am using alarmed to trigger smssend with option read sms from file and -c, also added function to call cnee after that and the mouse will automaticly push the send button.

In the scratchbox emulator I recorded the mouse movements.

cnee is a part of xnee.

It is sad that I don't have the knowledge to modify smssend for UCS2 support. I would maybe rewrite the app with pdu mode and not with text mode but since I found a way...

Halftux 2012-04-27 20:40

Re: [Announce] smssend: send sms from the command line (CLI)
 
1 Attachment(s)
I want to share my smssend binary with file support for the message.
Added option "-x /path/to/smsfile.txt" you can use it instead of "-m". It should work with utf8 characters with or without -c, -C.
For utf16 characters only the "-c" option works.

I added an option "-a" for use with "-c" and this option look if the screen is locked and will unlock the screen. After that the conversation pops up and cnee will be called to push the send button.
I added a mouse movement file "mouse_send.xnl" it should be in "/user/home/MyDocs/" and is useable for landscape mode.
For more information about to get and to use cnee look [here].



Attached you will find:

smssend-0.1.10mod_armel_binary.tar.gz

Including:

smssend -- binary
smssend-0.1.10mod.patch -- source patch (with my Makefile!!)
mouse_send.xnl -- cnee mouse push/release event (landscape)

If you wonna try overwrite smssend in /usr/bin

Estel 2012-04-28 00:35

Re: [Announce] smssend: send sms from the command line (CLI)
 
Could You upload it to extras-devel, please?

Halftux 2012-04-28 11:34

Re: [Announce] smssend: send sms from the command line (CLI)
 
Quote:

Originally Posted by Estel (Post 1198443)
Could You upload it to extras-devel, please?

I can try but I have problems with dh_make under scratchbox and it will be my first time. Also I need to ask sakya first.

By the way my version has a small bug. With -c option it calls everytime cnee. However if you have no mouse movement file or no cnee nothing should happen. I will fix this if I uploading it to extra-devel.

florian 2012-05-06 11:07

Re: [Announce] smssend: send sms from the command line (CLI)
 
This is just what I've been looking for.

Has anyone tried this on the N9? Could it easily be ported?

raviepic3 2012-08-27 11:16

Re: [Announce] smssend: send sms from the command line (CLI)
 
Whenever i try to send message using the option

smssend -c -n +xxyyyyyyyyyy -m "check"

i get the following error

send arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5257

Halftux 2012-08-27 22:13

Re: [Announce] smssend: send sms from the command line (CLI)
 
Quote:

Originally Posted by raviepic3 (Post 1256196)
Whenever i try to send message using the option

smssend -c -n +xxyyyyyyyyyy -m "check"

i get the following error

send arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5257

Which version of smssend and os are you using?
Have you tried after a reboot?

It seems this error comes from the eventlogger.

This is what the app is doing.
First creating an event with the sms and than simply calling qtmobility routine. The eventlogger uses dbus.

raviepic3 2012-08-28 06:23

Re: [Announce] smssend: send sms from the command line (CLI)
 
Quote:

Originally Posted by Halftux (Post 1256475)
Which version of smssend and os are you using?
Have you tried after a reboot?

It seems this error comes from the eventlogger.

This is what the app is doing.
First creating an event with the sms and than simply calling qtmobility routine. The eventlogger uses dbus.

OS version is 2.6.28-omap1

Smssend version is 0.1.8

raviepic3 2012-09-04 04:54

Re: [Announce] smssend: send sms from the command line (CLI)
 
Quote:

Originally Posted by Halftux (Post 1256475)
Which version of smssend and os are you using?
Have you tried after a reboot?

It seems this error comes from the eventlogger.

This is what the app is doing.
First creating an event with the sms and than simply calling qtmobility routine. The eventlogger uses dbus.

Any update ! ?

krutznikov 2012-09-04 11:36

Re: [Announce] smssend: send sms from the command line (CLI)
 
raviepic3, I'm using the version 0.1.10 of smssend and the last community SSU. I don't have any issue with this version, available in the official repositories...


All times are GMT. The time now is 00:51.

vBulletin® Version 3.8.8