Object SunSpecDeviceModelFinder

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<SunSpecDeviceModelFinder.DeviceSunSpecModel> findDeviceSunSpecModels(ModbusDevice modbusDevice) Each SunSpec device supports a different set of SunSpec Models.
      final Pair<Address, SchemaDevice> findSunSpecDevice(ModbusDevice modbusDevice) Create a SchemaDevice with the SunSpec header
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • findDeviceSunSpecModels

         final List<SunSpecDeviceModelFinder.DeviceSunSpecModel> findDeviceSunSpecModels(ModbusDevice modbusDevice)

        Each SunSpec device supports a different set of SunSpec Models. This function scans the actual device and reports the list of available models

        Parameters:
        modbusDevice - The modbus device that needs to be scanned.
        Returns:

        The list of models that were found

      • findSunSpecDevice

         final Pair<Address, SchemaDevice> findSunSpecDevice(ModbusDevice modbusDevice)

        Create a SchemaDevice with the SunSpec header

        Parameters:
        modbusDevice - The device to connect to
        Returns:

        A new instance of SchemaDevice with a single Block+Field for the header