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)

raviepic3 2012-09-04 13:38

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

Originally Posted by krutznikov (Post 1260845)
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...

Oh - but when i connect to internet its not automatically updating. usually if there are any application updates it will indicate me

Can you please post your repository configurations here ?
I will configure mine accordingly

I also wanted to install "cateroise plus" and one more app forgot its name which acts as a firewall and "call blocker"

But when i search for them in my application installer its not available

krutznikov 2012-09-04 13:54

Re: [Announce] smssend: send sms from the command line (CLI)
 
You can see there that the 0.1.10 version is in Extras-devel, like catorise plus and most of the apps you need.

raviepic3 2012-09-04 14:18

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

Originally Posted by krutznikov (Post 1260845)
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...

You have the development repository added ! ?
Isn't that risky ?

krutznikov 2012-09-04 17:28

Re: [Announce] smssend: send sms from the command line (CLI)
 
If you are scared, you can install manually your softwares by downloading deb binaries from maemo.org, or you can install them from development repository and then desactivate this repository from your package manager.
If I do have bugs? Yes of course, but not serious (actually), and anyway that's linux!

Halftux 2013-01-04 11:37

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

Originally Posted by florian (Post 1202490)
This is just what I've been looking for.

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

I tried to port it to N9. But it seems that pnatd do not work like I want.
I have N950 on PR1.2 but could not reproduce what is shown here.
I could not successful execute at+cmgf=1 neither I could find phone-at command.
So smssend for N9 works only with -c and -C option it calls the conversation application with qtmobility.

If somebody knows how to get pnatd working or would like to have a copy of my N9 binary reply to this thread please.

Halftux 2013-01-30 01:37

Re: [Announce] smssend: send sms from the command line (CLI)
 
1 Attachment(s)
So smssend is now running on N9(50). I attach a version without saving to database when not used conversation.

I need to figure out how to save the message. Because it is different compared to maemo.
To have the full function (also use without conversation), you need to have interception.

How to run:
Code:

devel-su
opensh
smssend


hawaii 2013-02-15 02:59

Re: [Announce] smssend: send sms from the command line (CLI)
 
FYI, I'm unable to send switch the N950 BB to PDU mode-- most likely because I'm on PR1.3?

Can you post which CMT version you're running?

smssend version 0.1.10 for N9(50)
copyright(c) 2011 by Paolo Iommarini <sakya_tg@yahoo.it>
modified by Halftux
Sending SMS:
[1/1].
ERR: Failed to send at+cmgf command

RM680-21-3_PR_RM680:~# uname -a
Linux RM680 2.6.32.54-dfl61-20121301 #1 PREEMPT Mon Apr 2 14:14:32 EEST 2012 armv7l GNU/Linux

Halftux 2013-02-15 12:46

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

Originally Posted by hawaii (Post 1323072)
FYI, I'm unable to send switch the N950 BB to PDU mode-- most likely because I'm on PR1.3?

I also have PR1.3 on my N950 and smssend is running in text mode not PDU and the unicode is calculated in hex.

Quote:

Originally Posted by hawaii (Post 1323072)
Can you post which CMT version you're running?

I am sorry I am atm for 1 month in holiday because I have full holiday left from last year and my N950 is at home.

Quote:

Originally Posted by hawaii (Post 1323072)
ERR: Failed to send at+cmgf command

Are you sure that you are in openmode or have interception?
I tried the application with PR1.3 + interception and it was working for me.

Try to run (maybe /usr/sbin/pnatd can't remember):

Code:

devel-su
opensh
pnatd
at+cmgf=?


hawaii 2013-02-16 06:46

Re: [Announce] smssend: send sms from the command line (CLI)
 
Results in ERROR returns.

I am running in full root with open mode enabled, verified by accli. No big deal, I was specifically looking for PDU mode so I could put my N950 to use, however I can send PDU packets from an iP4, so all is well.

pmrb 2013-07-01 08:40

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

Originally Posted by Halftux (Post 1318969)
So smssend is now running on N9(50). I attach a version without saving to database when not used conversation.

Hi,

I try to use smssend on my N9 (PR1.3).

Only "-c" with ASCII characters works.

Without "-c": "ERR: Failed to send at+cmgf command" (it seems, that something
like opensh or interception is needed, but why?)

With "-C": "OK: SMS queued to be sent to xxx" but nothing happens

With "-c" and "-x file-with-utf8-chars": 8-bit chars interpreted as iso-latin
chars. For example "๖" in the file becomes "รถ" in the SMS. (locale is set to en_US.UTF-8)

Also, with "-c", I still have to press the "send" button. Perhaps this can be
avoided by sending an X-Event automatically?

TIA for any hints how to get a working smssend with utf-8 characters,
Peter


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

vBulletin® Version 3.8.8