Active Topics

 



Notices


Reply
Thread Tools
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#1
smssend sends sms from the command line (CLI)

Code:
Usage: 
  smssend [options] -n +39xxxxxx:+39xxxxxx -m "Text"
Options:
  -c         : compose message with conversation
  -C         : send the message with conversation

Following options are valid only if used without -c or -C
  -l logfile : log pnatd messages to logfile
  -s         : don't save message in the sent folder
  -f         : send a flash sms
  -v VP      : set the sms validity period (0-255)
               Default value is 167 (1 day)
                 0 - 143 (VP + 1) x 5 mins
               144 - 167 12 Hours + ((VP-143) x 30 mins)
               168 - 196 (VP-166) x 1 day
               197 - 255 (VP-192) x 1 week
  -p PIN     : pin code (for pin locked SIM)
With the -c option the conversation app will popup with the message ready to be sent, and the user have to press the send button.
With the -C option the conversation app will popup after the message has been queued for sending.

You can send the same message to more than one number: separate each number with ":"

smssend must be run as root (works as user if you use -c or -C options).
To use it as user:
Code:
chmod 4555 /usr/bin/pnatd
Package: http://maemo.org/packages/view/smssend/

NOTE: to promote the package please test and rate karma
http://maemo.org/packages/package_in...smssend/0.1.6/

Last edited by sakya; 2011-04-05 at 19:32.
 

The Following 36 Users Say Thank You to sakya For This Useful Post:
Captwheeto's Avatar
Posts: 302 | Thanked: 193 times | Joined on Oct 2008 @ England
#2
Not tried it yet but do you mind if I poke around the source code? Working on my own app and this sounds very useful! Thanks a lot (:
 

The Following 3 Users Say Thank You to Captwheeto For This Useful Post:
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#3
No problem, it's open source.
 

The Following 4 Users Say Thank You to sakya For This Useful Post:
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#4
In my case, sending works but only as root

He shows me the following message as user:
"ERR: Failed to send AT + CMGF command"

Thanks for your work.
 

The Following User Says Thank You to WhiteWolf For This Useful Post:
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#5
ops, I forgot to mention:
To use it as user:
Code:
chmod 4555 /usr/bin/pnatd
 

The Following User Says Thank You to sakya For This Useful Post:
Posts: 224 | Thanked: 155 times | Joined on Jan 2011
#6
just tried it. gawd that was fun. i'm going to use espeak and this to goof around with someone. and maybe the fm transmitter. need some cheering up after todays news.
 

The Following User Says Thank You to leetnoob For This Useful Post:
Posts: 123 | Thanked: 99 times | Joined on Sep 2010 @ Russia
#7
Sending non-english words using -C, I got junk in history. What receiver got I didn't check.
One time I got that message didn't save in history (-C).
 

The Following User Says Thank You to ForeverYoung For This Useful Post:
casketizer's Avatar
Posts: 566 | Thanked: 282 times | Joined on Sep 2010 @ Lower Saxony
#8
Pardon my ignorance but what is a flash-sms?
 

The Following User Says Thank You to casketizer For This Useful Post:
ajack's Avatar
Posts: 288 | Thanked: 175 times | Joined on Oct 2010 @ Petaling Jaya, Selangor, Malaysia
#9
Originally Posted by casketizer View Post
Pardon my ignorance but what is a flash-sms?
SMS gets "flashed" on your phone screen, but is not stored in SMS inbox...
__________________
Visit my blog at http://lifewithmaemo.blogspot.com or my website at http://www.renegade-uiq.com
 

The Following User Says Thank You to ajack For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#10
Just tested sending to myself, both normal SMS and flash sms. Works great. Will test flash-sms-ing others when it's not the middle of the night here (which it is now). I greatly appreciate you adding this feature. Pragmatically it's not much, but it's nother thing I can smuggly say my phone can do, while others' can't. That, and it's just a neat feature to have.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:13.