1-Wire API for Compact.NET Version 4.00
Public Member Functions | Public Attributes

OneWireState Class Reference

1-Wire Network State contains the current 1-Wire Network state information More...

List of all members.

Public Member Functions

 OneWireState ()
 Construct the initial state of the 1-Wire Network.

Public Attributes

OWSpeed oneWireSpeed
 This is the current logical speed that the 1-Wire Network is operating at.
OWLevel oneWireLevel
 This is the current logical 1-Wire Network pullup level.
bool canProgram
 True if programming voltage is available.
bool levelChangeOnNextBit
 True if a level change is primed to occur on the next bit of communication.
bool levelChangeOnNextByte
 True if a level change is primed to occur on the next byte of communication.
OWLevel primedLevelValue
 The new level value that is primed to change on the next bit or byte depending on the flags, levelChangeOnNextBit and levelChangeOnNextByte.
OWPowerTime levelTimeFactor
 The amount of time that the 'level' value will be on for.
int searchLastDiscrepancy
 Value of the last discrepancy during the last Search for an iButton.
int searchFamilyLastDiscrepancy
 Value of the last discrepancy in the family code during the last Search for an iButton.
bool searchLastDevice
 Flag to indicate that the last device found is the last device in a Search sequence on the 1-Wire Network.
byte[] ID
 ID number of the current iButton found.
byte[] searchIncludeFamilies
 Array of iButton families to include in any Search.
byte[] searchExcludeFamilies
 Array of iButton families to exclude in any Search.
bool searchOnlyAlarmingButtons
 Flag to indicate the conditional Search is to be performed so that only iButtons in an alarm state will be found.
bool skipResetOnSearch
 Flag to indicate next Search will not be preceeded by a 1-Wire reset.

Detailed Description

1-Wire Network State contains the current 1-Wire Network state information

<version>0.00</version> <author>DS, SH</author>


Constructor & Destructor Documentation

Construct the initial state of the 1-Wire Network.


Member Data Documentation

bool canProgram

True if programming voltage is available.

byte [] ID

ID number of the current iButton found.

OWPowerTime levelTimeFactor

The amount of time that the 'level' value will be on for.

OWLevel oneWireLevel

This is the current logical 1-Wire Network pullup level.

OWSpeed oneWireSpeed

This is the current logical speed that the 1-Wire Network is operating at.

The new level value that is primed to change on the next bit or byte depending on the flags, levelChangeOnNextBit and levelChangeOnNextByte.

Array of iButton families to exclude in any Search.

Array of iButton families to include in any Search.

Value of the last discrepancy during the last Search for an iButton.

Flag to indicate next Search will not be preceeded by a 1-Wire reset.


The documentation for this class was generated from the following file: