1-Wire API for Compact.NET  Version 4.10
OneWireState Class Reference

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

Public Member Functions

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

Public Attributes

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

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

◆ OneWireState()

Construct the initial state of the 1-Wire Network.

Member Data Documentation

◆ canProgram

bool canProgram

True if programming voltage is available

◆ ID

byte [] ID

ID number of the current iButton found.

◆ levelChangeOnNextBit

bool levelChangeOnNextBit

True if a level change is primed to occur on the next bit of communication.

◆ levelChangeOnNextByte

bool levelChangeOnNextByte

True if a level change is primed to occur on the next byte of communication.

◆ levelTimeFactor

OWPowerTime levelTimeFactor

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

◆ oneWireLevel

OWLevel oneWireLevel

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

◆ oneWireSpeed

OWSpeed oneWireSpeed

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

◆ primedLevelValue

OWLevel primedLevelValue

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

◆ searchExcludeFamilies

byte [] searchExcludeFamilies

Array of iButton families to exclude in any Search.

◆ searchFamilyLastDiscrepancy

int searchFamilyLastDiscrepancy

Value of the last discrepancy in the family code during the last Search for an iButton.

◆ searchIncludeFamilies

byte [] searchIncludeFamilies

Array of iButton families to include in any Search.

◆ searchLastDevice

bool searchLastDevice

Flag to indicate that the last device found is the last device in a Search sequence on the 1-Wire Network.

◆ searchLastDiscrepancy

int searchLastDiscrepancy

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

◆ searchOnlyAlarmingButtons

bool searchOnlyAlarmingButtons

Flag to indicate the conditional Search is to be performed so that only iButtons in an alarm state will be found.

◆ skipResetOnSearch

bool skipResetOnSearch

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: