Author |
Post |
|
#1 Fri Jan 23, 2015 11:11, 121 months ago.
|
Member
Registered: May 2009
Location: Italy
|
Operating system name and version: Debian 7.7 Version of smsd: 3.1.15 Smsd installed from: sources Name and model of a modem / phone: Huawei USB Stick Interface: USB Hi, Im trying to send sms message from this shell script adding line feed: I tried to execute this "/send_sms.sh 39123456789 First Line \r\n Second Line \r\n Third Line" SMS is send and \r\n are removed from SMS, but I do not receive linefeed on my phone. Thanks for help. Marco « Last edit by marcolino7 on Fri Jan 23, 2015 11:13, 121 months ago. »
|
|
#2 Mon Oct 26, 2015 17:20, 112 months ago.
|
Member
Registered: May 2009
Location: Italy
Topic owner
|
Hi, any help on this? I need to add Linefeed on my SMS
Thanks a lot
|
|
#3 Mon Oct 26, 2015 20:42, 112 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Enter the text in quotation marks:
/send_sms.sh 39123456789 "First Line\nSecond Line\nThird Line"
or
/send_sms.sh 39123456789 "First Line > Second Line > Third Line"
|
|
#4 Mon Oct 26, 2015 22:10, 112 months ago.
|
Member
Registered: May 2009
Location: Italy
Topic owner
|
Hi keke and thanks for aswer. I call the script from OpenHab, an home automation system. This is the string I pass to SMS3: it stop sending message before % and i only receive Stato=Modula 70 Is there a way to send also the % sign? Removing it \n work Thanks
|
|
#5 Tue Oct 27, 2015 13:57, 112 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
It seems that OpenHab cuts the text. I cannot help with this.
|
|
#6 Tue Oct 27, 2015 14:57, 112 months ago.
|
Member
Registered: May 2009
Location: Italy
Topic owner
|
Removing % it works. I don't know where it broke the mechanism. In case i removed all % with openhab, before sending SMS. Now SMS is sent with Carriage Return. Many Thanks for help
Marco
|