Scan Devices

This procedures show how to work with GI.bench (GI.com, GI.config, GI.data) using the function calls of the XML-RPC interfaces. This section is preliminary information!!

Network

GI.com offers methods to get a list of all available devices in a network.

Step Parameters/Results Action
Connect to GI.com → DeviceConfigAPI    
Execute method “StartScanDevice Parameters: Network Controller (TyNwCntrl) Initializes the network scan.
Execute method “GetDeviceScanResult Results:
* ScanResult: array of all devices found in the network
* ScanFinished: if the scan is not finished before this function call, this parameter is “false”
* ReturnState
Returns the result of the scan.
 

The struct of a ScanResult item includes the following information:

      • DHCP_Enabled
      • GatewayAddress
      • IPAddress_Dynamic
      • IPAddress_Static
      • MACAddress
      • SubnetMask
    • Firmware
    • Location
    • RS232_PPP
    • RS485_PPP
    • SerialNumber
    • SetTypeName
    • SetVendorName
      • Casing
      • Function
      • Main
      • MID
      • PartNumber
      • SeriesName
      • Sub
      • UniqueType
      • VendorName
    • TypeName
    • UART
  • ID
  • InterfaceAddress
  • InterfaceType