Sends an AT command, given as parameter, to the modem. Returns the result of the command, if available.
Turn modem speaker off.
CopyC#
CopyVB.NET
CopyVBScript
Gurux.SMS.GXSMS sms = new Gurux.SMS.GXSMS(); string[] modems = (string[]) sms.Search(5000, true); sms.Port = modems[0]; sms.SMSCheckInterval = 0; sms.Open(); string ret = sms.SendATCommand("ATM0\r", 2000, "OK");
Dim sms As Gurux.SMS.GXSMS sms = New Gurux.SMS.GXSMS() Dim modems As String() modems = sms.Search(5000, True) sms.Port = modems(0) sms.SMSCheckInterval = 0 sms.Open() sms.SendATCommand("ATM0\r", 2000, "OK")
dim sms as GuruxSMS.IGXSMS4 set sms = CreateObject("GuruxSMS.GXSMS") Dim modems As String() modems = sms.Search(5000, True) sms.Port = modems(0) sms.SMSCheckInterval = 0 sms.Open() sms.SendATCommand("ATM0\r", 2000, "OK")
Assembly: Gurux.SMS (Module: Gurux.SMS) Version: 5.0.0.1