Re: [Smslink-users] Newline character in SMS message
Status: Beta
Brought to you by:
panderss
|
From: Jeff M. <je...@te...> - 2008-06-02 13:41:54
|
Hi Philippe, We definitely need to be able to format the message that we are sending. A version of SMSLink that supports a newline would be terrific. Let me know when you have one ready to test and I'll give it a go. Thanks, Jeff ----- Original Message ----- From: "Philippe Andersson" <pa...@ib...> To: "Jeff Meek" <je...@te...> 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> |