I would like to point out that even though ideally all handsets or GSM modem support AT commands, but implementation may differ across all manufacturers. As such, it is not possible for the library to be used for every mobile phones. As far as I know, Nokia NSeries, e.g. N70, N71, N80, etc do not support quite a lot of AT commands, and there is no way you can use AT commands to send SMS using those models. So be careful, you have to test if your phone model can be used for this purpose.
You can refer to my previous blog Use the .NET SMS Library to Retrieve Phone Setting if you would like to know how to manually connect to your phone to check its capabilities.
I tested retrieving configurations and sending SMS through WaveComm GSM/GPRS modem using the .NET SMS library. It is very straight forward. Below I provided the code snipppet.
oGsmModem = New GSMModemoGsmModem.Port = “COM6”
oGsmModem.BaudRate = 115200
oGsmModem.Parity = Common.EnumParity.None
oGsmModem.StopBits = Common.EnumStopBits.One
oGsmModem.FlowControl = Common.EnumFlowControl.Hardware
oGsmModem.DataBits = 8Try
If oGsmModem.IsConnected Then
MsgBox(oGsmModem.SendSMS(“999”, “test msg”))
Catch ex As Exception