![]() |
Re: SMS from CLI (Command Line)?
The problem with autosend is that the conversation app always popups showing the sent message, there's no way in QtMobility to avoid this.
I can easily add this feature, but is it what you want/need? To avoid simultaneous database writes I'll add an "IMMEDIATE TRANSACTION", thanks. |
Re: SMS from CLI (Command Line)?
I would want it to pop up, I think that would be the expected behaviour for me! I use smssend over ssh at work so I'm not obviously using my phone but I can still look at it for replies. I also schedule (alarmd) sms messages if I'm up in the night (kids) and don't want to wake people so it's useful to get that feedback that it was sent!
|
Re: SMS from CLI (Command Line)?
Ok, I'll add this feature soon. ;)
|
Re: SMS from CLI (Command Line)?
0.1.4 Works a charm! Thank you very much.
|
Re: SMS from CLI (Command Line)?
Many thanks for the feedback. :)
|
Re: SMS from CLI (Command Line)?
I'll definitely be trying this at some point soon. But hutchinsfairy, I might have something that interests you so you can check your replies without looking at your phone...
http://sprunge.us/HMQH?sh (plain text: http://sprunge.us/HMQH) Help message: Code:
<user@t900:~> texts --helpCode:
<user@t900:~>$ texts --latest | tail -n 3First three messages from a particular date from a particular person (it looks at an optional mapping file to turn numbers into names): Code:
<user@t900:~>$ texts -d 2010-04-01 -n Kiwi | head -n 3Hope it helps. |
Re: SMS from CLI (Command Line)?
To promote the smssend package please test and rate for karma
http://maemo.org/packages/package_in...smssend/0.1.5/ |
Re: SMS from CLI (Command Line)?
If someone cares this is the code to save a sms in the sent folder using rtcom-eventlogger:
Code:
bool SmsSender::saveMsgToSentFolder(QString number, QString message) |
Re: SMS from CLI (Command Line)?
Sakya, do you have any plans to try to figure out longer-than-160-char texts?
|
Re: SMS from CLI (Command Line)?
Hi,
I get Code:
ERR: Failed to send at+cmgf commandI don't want to remove the PIN from my card, and I guess that the PIN code must be stored somewhere in the device for use when the "normal" sms application needs it. -> Have you planned to search on that subject? I'll also search on my side and let you know if I find something. |
Re: SMS from CLI (Command Line)?
I'll add an argument to pass the pin to the program. ;)
Or maybe as you say it's stored somewhere (I'm not sure that this information is easily available, it shouldn't...) |
Re: SMS from CLI (Command Line)?
I think it must be available in d-bus stuff somewhere but haven't managed to get it yet..
|
Re: SMS from CLI (Command Line)?
I finally got around to trying your SMS sender, sakya. From the small amount of testing I've done so far it seems good, but both of the >160 character tests I've tried so far (without the compose dialog) have failed. In both cases I got this output (same number of dots each time too):
Code:
WARNING: SMS exceding 160 charactersThe content of the text, if it matters, was this: Code:
1......... 2......... 3......... 4......... 5......... 6......... 7......... 8......... 9......... 10........ 11........ 12........ 13........ 14........ 15........ 16........ 17........ let's see if this all gets through |
Re: SMS from CLI (Command Line)?
Not sure if it's a clue, but I looked at the events database and in the remote_uid column for both of the failed >160-char texts contains
Code:
+447 |
Re: SMS from CLI (Command Line)?
@tremby: thanks for the feedback.
Can you please try to send the message adding this argument? Code:
-l logfile.txt |
Re: SMS from CLI (Command Line)?
Hope the following helps:
Code:
$ smssend -l smslog -n $(num Pat) -m "1........ 2........ 3........ 4........ 5........ 6........ 7........ 8........ 9........ 10....... 11....... 12....... 13....... 14....... this was the half and here is second half. let me know if you got the first half" |
Re: SMS from CLI (Command Line)?
Fixed, updated to version 0.1.8. ;)
Many thanks for your help. |
Re: SMS from CLI (Command Line)?
Hi
Could somebody help me make a desktop shortcut that sends this through x-term? Code:
sudo smssend -n 150 -m "Ba"The reason I want this is because my service provider T-Mobile UK only allows me to check my balance using this method. I have to send a text to that number and they reply with my balance. A desktop shortcut that sends the text for me would save me ALOT of time. Thanks in advance :) EDIT: Figured it out myself :) Thanks for the awesome smssend app though :) |
Re: SMS from CLI (Command Line)?
Quote:
Code:
$ smssend -l smslog -n $(num Pat) -m "1........ 2........ 3........ 4........ 5........ 6........ 7........ 8........ 9........ 10....... 11....... 12....... 13....... 14... this was the first half and here is second half. let me know if you got the first half"Here is the log: Code:
ATAlso, I then note that in the conversations app the message appears as sent to "(null)" and I can't open its conversation window. I looked in the database and I see that everything looks normal except the remote_uid column, which is, in this case (censored): Code:
447xxxxxxxxx' AND local_uid = 'ring/tel/ring'; |
Re: SMS from CLI (Command Line)?
Quote:
I'll read some docs to see if it is feasible. Quote:
If you update that record with the correct number all should be fine. Many thanks again for the feedback. |
Re: SMS from CLI (Command Line)?
Are patches welcome? If so I'll fix some typos and suggest some invocation changes.
|
Re: SMS from CLI (Command Line)?
Quote:
|
Re: SMS from CLI (Command Line)?
OK, here's an easy one -- some English fixed and the VP option's usage text clarified a bit.
http://sprunge.us/FhLK?diff (Lose the ?diff extension for the raw version.) I'll suggest my invocation changes later -- got a deadline tomorrow morning to see to first! |
| All times are GMT. The time now is 03:31. |
vBulletin® Version 3.8.8