Class LocalBoardInfoUtil


  • public class LocalBoardInfoUtil
    extends Object

    Utility class for accessing information for the local board that the application is executing on. Access to board info should typically done by calling getBoardInfo() on the automatically discovered native device factory

    Note some boards are accessed remotely (e.g. Firmata protocol and pigpio sockets) hence this information may differ to the actual device you are controlling.

    • Constructor Detail

      • LocalBoardInfoUtil

        public LocalBoardInfoUtil()
    • Method Detail

      • lookupLocalBoardInfo

        public static BoardInfo lookupLocalBoardInfo()
        Returns information for the local device only. Note some providers work over a remote connection - if you want information for the device you are controlling please use:
        DeviceFactoryHelper.getNativeDeviceFactory().getBoardInfo()
        Returns:
        BoardInfo instance describing the local device.