Link to home
Start Free TrialLog in
Avatar of clownxx
clownxx

asked on

Problem with escape sequence in SMS text (sending via AT+CMGS)

Dear Experts,

I'm working on a sms sending program. I'm using a Siemens TC35i Cellular Engine connected with the com port. Everything works fine, but now i've encountered a strange problem:

according to the gsm specification for the 7-bit alphabet, the escape character (ordinal 27) is used as an escape to the advanced sign table (containing Euro sign etc). But the cellular engine aborts the transmission process when I send the escape character - this is a normal behaviour described in the TC35i documentation.

My question: how do I send a Euro sign in a SMS without causing the cellular engine to abort?

Thanks for your attention and help,
cheers,
clownxx
ASKER CERTIFIED SOLUTION
Avatar of SimonTay
SimonTay

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of clownxx
clownxx

ASKER

ok, in pdu mode it works - thanks for your help!
Check out the T.56 character set. If you send the escape - this is taken as a "Control Sequence lead In " - CSI. Most likely it is a 5 byte code. You need to find a suited character in a character set, use this set for one character only. If it is part of a character set with all the usual German characters, then start the message with CSI <change character set>. This should be reset at the end of the message to "standard".
You will also find the character set documented as the Videotext character set.

Using the CSI right, and you can transmit in Chinese...