How to receiving an incoming SMS message? in C#
-
I am using AT command CNMI to enable forward incoming message to computer. But how can I receive incoming message? I need an example in C#
-
I am using AT command CNMI to enable forward incoming message to computer. But how can I receive incoming message? I need an example in C#
AT commands for read SMS AT+CMGL="ALL" Get the total SMSs. AT+CMGL="REC UNREAD" Get Un-read SMS AT+CMGL="REC READ" Get Read SMS AT+CMGR=3 Get 3 position SMS. Actually These commands are used to read the SMS , After Landing on your Phone/Modem. But if you want to get a alert in your application while SMS landing on your Phone/Modem, u have to write a handlers. on port receive data , and check for the specific indication of SMS Landing." phone/modem will give a indication when SMS lands on your phone/modem. Ex: SM: CNMI : 3 +CMTI:”SM”,3
Rajesh B --> A Poor Workman Blames His Tools <--
-
I am using AT command CNMI to enable forward incoming message to computer. But how can I receive incoming message? I need an example in C#
Here you are: SMS libraries (for GSM phones)[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
AT commands for read SMS AT+CMGL="ALL" Get the total SMSs. AT+CMGL="REC UNREAD" Get Un-read SMS AT+CMGL="REC READ" Get Read SMS AT+CMGR=3 Get 3 position SMS. Actually These commands are used to read the SMS , After Landing on your Phone/Modem. But if you want to get a alert in your application while SMS landing on your Phone/Modem, u have to write a handlers. on port receive data , and check for the specific indication of SMS Landing." phone/modem will give a indication when SMS lands on your phone/modem. Ex: SM: CNMI : 3 +CMTI:”SM”,3
Rajesh B --> A Poor Workman Blames His Tools <--
Thank you Rajesh. There is a event handler named 'DataReceived' of SerialPort object. But I don't know what will be the parameter and how to handle the parameter to receive the message. Could you please send a sample 'DataReceived' function?