|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibutton.tmex.adapter.MicroLanState
MicroLan State contains the current MicroLan state information
| Field Summary | |
static char |
ALARM_SEARCH_CMD
Conditional Search, only 'alarming' devices participate |
static char |
BIT
Block mode, bit |
static char |
BYTE
Block mode, byte |
boolean |
canProgram
True in programming voltage is available |
static int |
CONDITION_AFTER_BIT
Condition for power bus state change, after next bit communication |
static int |
CONDITION_AFTER_BYTE
Condition for power bus state change, after next byte communication |
static int |
CONDITION_NOW
Condition for power bus state change, immediate |
static int |
DELIVERY_CURRENT_DETECT
Duration used in delivering power to the bus, current detect |
static int |
DELIVERY_EPROM
Duration used in delivering power to the bus, 480 us |
static int |
DELIVERY_FOUR_SECONDS
Duration used in delivering power to the bus, 4 second |
static int |
DELIVERY_HALF_SECOND
Duration used in delivering power to the bus, 1/2 second |
static int |
DELIVERY_INFINITE
Duration used in delivering power to the bus, infinite |
static int |
DELIVERY_ONE_SECOND
Duration used in delivering power to the bus, 1 second |
static int |
DELIVERY_SMART_DONE
Duration used in delivering power to the bus, smart complete |
static int |
DELIVERY_TWO_SECONDS
Duration used in delivering power to the bus, 2 seconds |
iButtonID |
ID
ID number of the current iButton found |
static char |
LEVEL_BREAK
MicroLan level, normal (strong pulldown to 0Volts, reset bus) |
static char |
LEVEL_NORMAL
MicroLan level, normal (weak 5Volt pullup) |
static char |
LEVEL_POWER_DELIVERY
MicroLan level, normal (strong 5Volt pullup, used for power delivery) |
static char |
LEVEL_PROGRAM
MicroLan level, normal (strong 12Volt pullup, used to program eprom ) |
boolean |
levelChangeOnNextBit
True if a level change is primed to occure on the next bit of communication. |
boolean |
levelChangeOnNextByte
True if a level change is primed to occure on the next byte of communication. |
int |
levelTimeFactor
The amount of time that the 'level' value will be on for. |
static char |
MATCH_CMD
'Match' select command |
char |
microLanLevel
This is the current logical MicroLan pullup level. The valid values are: LEVEL_NORMAL LEVEL_POWER_DELIVERY LEVEL_BREAK LEVEL_PROGRAM |
char |
microLanSpeed
This is the current logical speed that the MicroLan is operating at. |
static char |
NORMAL_SEARCH_CMD
Normal Search, all devices participate |
char |
primedLevelValue
The new level value that is primed to change on the next bit or byte depending on the flags, levelChangeOnNextBit and levelChangeOnNextByte The valid values are: LEVEL_NORMAL LEVEL_STRONGPULLUP LEVEL_BREAK LEVEL_PROGRAM |
static char |
RESET
Block mode, reset |
static int |
RESET_ALARM
MicroLan reset result = alarm |
static int |
RESET_NOPRESENCE
MicroLan reset result = no presence |
static int |
RESET_PRESENCE
MicroLan reset result = presence |
static int |
RESET_SHORT
MicroLan reset result = shorted |
static char |
SEARCH
Block mode, search |
int[] |
searchExcludeFamilies
Array of iButton families to exclude in any search |
int |
searchFamilyLastDiscrepancy
Value of the last discrepancy in the family code during the last search for an iButton |
int[] |
searchIncludeFamilies
Array of iButton families to include in any search |
boolean |
searchLastDevice
Flag to indicate that the last device found is the last device in a search sequence on the MicroLAN. |
int |
searchLastDiscrepancy
Value of the last discrepancy during the last search for an iButton |
boolean |
searchOnlyAlarmingButtons
Flag to indicate the conditional search is to be performed so that only iButtons in an alarm state will be found. |
static int |
SPEED_FLEX
Speed modes for MicroLan bus, flexible for long lines |
static int |
SPEED_HYPERDRIVE
Speed modes for MicroLan bus, hyperdrive |
static int |
SPEED_OVERDRIVE
Speed modes for MicroLan bus, overdrive |
static int |
SPEED_REGULAR
Speed modes for MicroLan bus, regular |
| Constructor Summary | |
MicroLanState()
Construct the initial state of the MicroLan |
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final int SPEED_REGULAR
public static final int SPEED_FLEX
public static final int SPEED_OVERDRIVE
public static final int SPEED_HYPERDRIVE
public static final char BIT
public static final char BYTE
public static final char RESET
public static final char SEARCH
public static final char LEVEL_NORMAL
public static final char LEVEL_POWER_DELIVERY
public static final char LEVEL_BREAK
public static final char LEVEL_PROGRAM
public static final int RESET_NOPRESENCE
public static final int RESET_PRESENCE
public static final int RESET_ALARM
public static final int RESET_SHORT
public static final int CONDITION_NOW
public static final int CONDITION_AFTER_BIT
public static final int CONDITION_AFTER_BYTE
public static final int DELIVERY_HALF_SECOND
public static final int DELIVERY_ONE_SECOND
public static final int DELIVERY_TWO_SECONDS
public static final int DELIVERY_FOUR_SECONDS
public static final int DELIVERY_SMART_DONE
public static final int DELIVERY_INFINITE
public static final int DELIVERY_CURRENT_DETECT
public static final int DELIVERY_EPROM
public static final char NORMAL_SEARCH_CMD
public static final char ALARM_SEARCH_CMD
public static final char MATCH_CMD
public char microLanSpeed
The valid values for this are:
public char microLanLevel
The valid values are:
public boolean canProgram
public boolean levelChangeOnNextBit
public boolean levelChangeOnNextByte
public char primedLevelValue
public int levelTimeFactor
public int searchLastDiscrepancy
public int searchFamilyLastDiscrepancy
public boolean searchLastDevice
public iButtonID ID
public int[] searchIncludeFamilies
public int[] searchExcludeFamilies
public boolean searchOnlyAlarmingButtons
| Constructor Detail |
public MicroLanState()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||