Re: [Smslink-users] Newline character in SMS message
Status: Beta
Brought to you by:
panderss
|
From: Philippe A. <pa...@ib...> - 2008-06-02 12:03:46
|
Hello again, Jeff, I think I have a working solution. I'll prepare a new "pre-release" tar file for 0.56b-4 this evening and make it available on the site tomorrow. I'll let you know when the file is available and you can test it. HTH Cheers. Bye. Ph. A. Jeff Meek wrote: > Hi Philippe, > > It is specific to SMSLink. If I talk to the modem directly, I can do: > AT+CMGS="123456789" <cr> > first line<cr> > 2nd line<cr> > 3rd line<cr><ctrl-Z> > When the SMS is received, it will properly show up as > first line > 2nd line > 3rd line > > I can't find any way to do the same thing with SMSLink. I would prefer to > use stdin (i.e. sendsms -f -), but I can't get it to work anyway I have > tried it. SMSLink changes any special characters to a space, so a "/r" > turns into just " r". > > Thanks, > Jeff > > ----- Original Message ----- > From: "Philippe Andersson" <pa...@ib...> > To: "Jeff Meek" <je...@te...> > Cc: <sms...@li...> > Sent: Friday, May 30, 2008 10:34 AM > Subject: Re: [Smslink-users] Newline character in SMS message > > Hello Jeff, > > Jeff Meek wrote: >> This seems like an easy question, but I didn't find it anywhere in the > docs, >> email archives or google. >> >> How do I insert a newline or line break into the sms message? >> I have tried sending a plain text file with the line breaks, backslash-n, >> %-n, ^n, ctrl-n, etc. >> The message always gets concatenated into a single line of text. >> >> The docs for the AT+CMGS command says any ascii character can be sent > except >> for ctrl-z. How do I send a line break? > Is your question specific to SMSLink (i.e. "how will SMSLink treat > embedded newline characters") or is this a generic question about the > SMS protocol ? > > Ph. A. > > -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pa...@ib... <http://www.iba-worldwide.com> The contents of this e-mail message and any attachments are intended solely for the recipient (s) named above. This communication is intended to be and to remain confidential and may be protected by intellectual property rights. Any use of the information contained herein (including but not limited to, total or partial reproduction, communication or distribution of any form) by persons other than the designated recipient(s) is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free. Ion Beam Applications does not accept liability for any such errors. Thank you for your cooperation. |