Use
AT commands[
^] to send and receive SMS via GSM Modem/Cellphone.
Remember that it is using a diffent encoding (
GSM default alphabet (GSM 03.38)[
^]) where something like sending a "@" char is encoded as 0x00.
Use AT+CSCS to set TE character set to support the correct encoding.
AT+CSCS=? to list all supported encodings. But please note, that not all GSM units/modem support all types of encoding.
To really make it the correct way. You have to switch SMS message format to PDU encoding via AT+CMGF command.
Via PDU format, you can select the correct encoding, make long SMS ( over 160 char ), sending pictures, ring tone etc..
Send and Read SMS through a GSM Modem using AT Commands[
^]