Class ChainMonitor

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ChainMonitor
    extends AbstractDeviceMonitor

    Class ChainMonitor represents the monitor that searches the 1-Wire net for Chain Mode devices, otherwise known as "Sequence Detect". Chain Mode devices have two PIO pins (PIOA and PIOB). You can chain multiple devices together by connecting PIOA of one part to PIOB of the next device. The first device in the chain has its PIOB grounded. This monitor performs a simple search. If a branch is activated/deactivated between search cycles, this monitor will see the arrival/departure of new devices without reference to the branch which they lie on.

    • Constructor Detail

      • ChainMonitor

        public ChainMonitor​(DSPortAdapter adapter)
        Create a simple monitor that does not search branches
        Parameters:
        adapter - the DSPortAdapter this monitor should search