I've huawei EC156 cdma modem, I tried to send SMS via AT commands with many commands, But always received response "command not support".
I have used the following commands:
1- AT+CMGS
2- AT + GWWC Also, I didn't find any C# Libraries dealing with cdma modems.
You definitely need to check the AT commands user manual of your device and check their syntax.
AT+CMGShas two different modes:AT+CMGS=<PDU>AT+CMGS=< dest phone number>In both cases
AT+CMGSis wrong, andoperation not supportedis the error you get for a wrong syntax (after setting verbose error mode withAT+CMEE=2).There are plenty of questions showing the correct AT commands sequence required to send an SMS, for example this one.
I summarize that sequence here briefly:
Some things ti check before starting:
AT+CPIN?you have to receive theREADYresponse)AT+CREG?you have to receive the+CREG: 0,1response)Then:
AT+CMGF=1AT+CMGS=<PHONE NUMBER>. The device will output the>prompt character0x1AASCII code)+CMGS: <N>will be displayed, withNin the range 0-255 meaning the progressive ID of sent messages