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