Handling @ character in gsm 7-bit mode | Telit Cinterion IoT Developer Community
October 11, 2018 - 2:53am, 4412 views
The application is programming the "Cinterion ELS31-V REVISION 18.104.22.168" 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 "email@example.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 "firstname.lastname@example.org" 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.