GetHWInfo - method of the AtouchX object
Description:
Detects information about the communication core.
The method creates the INFO variable as a 1-dimensional array with 2 elements.
INFO(0) The version of the hardware driver that provides the Station connection in BCD format, so the upper byte contains the version number and the lower byte contains the subversion number.
INFO(1) hardware connection type.
Syntax:
Integer GetHWInfo(Integer Station, Array INFO)
Parameters:
Station | (Integer) Number of the station whose hardware connection information is to be found out. |
INFO | [for read and write] (Array) Variable where the result is stored. |
---|
Note:
Connection type
ahwDKP &H100 Connection using DOKOPO.
ahwMOD &H200 Connection using modem.
ahwCOM &H400 Connection using COM.
ahwUDP &H800 Connection using Ethernet by UDP protocol.
ahwSVM &H080 Point-to-point connection using "service mode".
ahwGPR &H040 Connection using GPRS.
ahwTCP &H020 Connection using Ethernet by TCP protocol.
ahwNON &HFF00 Testing empty connection.
ahwALL &HFFFF Any connection type.