Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Handling @ character in gsm 7-bit mode | Telit Cinterion IoT Developer Community

October 11, 2018 - 2:53am, 4823 views

The application is programming the "Cinterion ELS31-V REVISION 4.3.2.0" modem. I am using the CSCS command to set the GSM 7-bit character set. On the other end a cellphone is sending a message also using the GSM 7-bit character set. The message itself contains, as part of the message, an e-mail address in the form of "somebody@somedomain.com". In the GSM character set the '@' character is the nul ( value 0 ) byte, so I would expect "somebody" followed by the nul-byte followed by "somedomain.com" as part of the message. Instead what I am seeing, as part of the message, is the string of characters "somebody\00somedomain.com". Can anybody explain why "somebody@somedomain.com" in the message would appear as "somebody\00somedomain.com" ? I have programmed around this anomaly I am getting, but I do not understand why it is happening.