Handling @ character in gsm 7-bit mode | Thales IoT Developer Community
October 11, 2018 - 2:53am, 2991 views
The application is programming the "Cinterion ELS31-V REVISION 126.96.36.199" 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.