com.dalsemi.onewire.container
Class OneWireContainer06
java.lang.Object
|
+--com.dalsemi.onewire.container.OneWireContainer
|
+--com.dalsemi.onewire.container.OneWireContainer06
- public class OneWireContainer06
- extends OneWireContainer
iButton container for iButton family type 06 (hex), DS1993.
- Version:
- 0.00, 28 Aug 2000
Constructor Summary |
OneWireContainer06()
Default constructor |
OneWireContainer06(DSPortAdapter sourceAdapter,
byte[] newAddress)
Create a container with a provided adapter object
and the address of the iButton or 1-Wire device. |
OneWireContainer06(DSPortAdapter sourceAdapter,
long newAddress)
Create a container with a provided adapter object
and the address of the iButton or 1-Wire device. |
OneWireContainer06(DSPortAdapter sourceAdapter,
java.lang.String newAddress)
Create a container with a provided adapter object
and the address of the iButton or 1-Wire device. |
Method Summary |
java.lang.String |
getDescription()
Retrieve a short description of the function of the iButton type. |
java.util.Enumeration |
getMemoryBanks()
Return an enumeration of memory banks. |
java.lang.String |
getName()
Retrieve the Dallas Semiconductor part number of the iButton
as a string. |
Methods inherited from class com.dalsemi.onewire.container.OneWireContainer |
doSpeed, getAdapter, getAddress, getAddressAsLong, getAddressAsString, getAlternateNames, getMaxSpeed, isAlarming, isPresent, setSpeed, setupContainer, setupContainer, setupContainer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneWireContainer06
public OneWireContainer06()
- Default constructor
OneWireContainer06
public OneWireContainer06(DSPortAdapter sourceAdapter,
byte[] newAddress)
- Create a container with a provided adapter object
and the address of the iButton or 1-Wire device.
- Parameters:
sourceAdapter
- adapter object required to communicate with
this iButton.newAddress
- address of this 1-Wire device
OneWireContainer06
public OneWireContainer06(DSPortAdapter sourceAdapter,
long newAddress)
- Create a container with a provided adapter object
and the address of the iButton or 1-Wire device.
- Parameters:
sourceAdapter
- adapter object required to communicate with
this iButton.newAddress
- address of this 1-Wire device
OneWireContainer06
public OneWireContainer06(DSPortAdapter sourceAdapter,
java.lang.String newAddress)
- Create a container with a provided adapter object
and the address of the iButton or 1-Wire device.
- Parameters:
sourceAdapter
- adapter object required to communicate with
this iButton.newAddress
- address of this 1-Wire device
getName
public java.lang.String getName()
- Retrieve the Dallas Semiconductor part number of the iButton
as a string. For example 'DS1992'.
- Overrides:
getName
in class OneWireContainer
- Returns:
- string represetation of the iButton name.
getDescription
public java.lang.String getDescription()
- Retrieve a short description of the function of the iButton type.
- Overrides:
getDescription
in class OneWireContainer
- Returns:
- string represetation of the function description.
getMemoryBanks
public java.util.Enumeration getMemoryBanks()
- Return an enumeration of memory banks. Look at the
MemoryBank, PagedMemoryBank and OTPMemoryBank classes.
- Overrides:
getMemoryBanks
in class OneWireContainer
- Following copied from class:
com.dalsemi.onewire.container.OneWireContainer
- Returns:
- enumeration of memory banks to read and write memory
on this iButton or 1-Wire device.