Revision Property

Description:

The Revision property returns the firmware revision information of the GSM Modem or Phone.

   

Usage strRevision = ObjectName.Revision
Value Type String
Access Mode Read Only
Remarks Returns blank string if the modem does not support reading of firmware revision information.

Usage Example:

Visual Basic / ASP (VBScript)
Dim objSMS As mCore.SMS
Set objSMS = New mCore.SMS
' You can also use Set objSMS = CreateObject("mCore.SMS")
' In case of ASP (VBScript) to create object use
' Set objSMS = Server.CreateObject("mCore.SMS")
' In ASP use Response.Write instead of MsgBox
objSMS.Port = "COM2"
objSMS.BaudRate = 57600
objSMS.Parity = "N"
objSMS.DataBits = 8
objSMS.StopBits = "1"
' It is not necessary to execute the 'Connect' method.
' Connection state is detected internally by mCore and
' the 'Connect' method is executed accordingly.
MsgBox objSMS.IMEI
MsgBox objSMS.Manufacturer
MsgBox objSMS.Model
MsgBox objSMS.Revision
' Disconnect method is executed internally
' whenever the SMS object is terminated.
Set objSMS = Nothing

   

Copyright © IG Logix Softech Pvt Ltd, All Rights Reserved