|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.dalsemi.onewire.container.OneWireContainer | +--com.dalsemi.onewire.container.OneWireContainer01
1-Wire® container that encapsulates the functionality of the 1-Wire family type 01 (hex), Dallas Semiconductor part number: DS1990A, Serial Number.
This 1-Wire device is used as a unique serial number.
Constructor Summary | |
OneWireContainer01()
Create an empty container. |
|
OneWireContainer01(DSPortAdapter sourceAdapter,
byte[] newAddress)
Create a container with a provided adapter object and the address of the iButton or 1-Wire device. |
|
OneWireContainer01(DSPortAdapter sourceAdapter,
long newAddress)
Create a container with a provided adapter object and the address of the iButton or 1-Wire device. |
|
OneWireContainer01(DSPortAdapter sourceAdapter,
String newAddress)
Create a container with a provided adapter object and the address of the iButton or 1-Wire device. |
Method Summary | |
String |
getAlternateNames()
Retrieves the alternate Dallas Semiconductor part numbers or names. |
String |
getDescription()
Retrieves a short description of the function of the 1-Wire device type. |
String |
getName()
Retrieves the Dallas Semiconductor part number of the 1-Wire device as a String . |
Methods inherited from class com.dalsemi.onewire.container.OneWireContainer |
doSpeed, equals, getAdapter, getAddress, getAddressAsLong, getAddressAsString, getMaxSpeed, getMemoryBanks, hashCode, isAlarming, isPresent, setSpeed, setupContainer, setupContainer, setupContainer, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OneWireContainer01()
setupContainer
before
using this new container.This is one of the methods to construct a container. The others are through creating a OneWireContainer with parameters.
OneWireContainer01(DSPortAdapter,byte[])
,
OneWireContainer01(DSPortAdapter,long)
,
OneWireContainer01(DSPortAdapter,String)
,
OneWireContainer.setupContainer(DSPortAdapter,byte[])
,
OneWireContainer.setupContainer(DSPortAdapter,long)
,
OneWireContainer.setupContainer(DSPortAdapter,String)
public OneWireContainer01(DSPortAdapter sourceAdapter, byte[] newAddress)
This is one of the methods to construct a container. The other is through creating a OneWireContainer with NO parameters.
sourceAdapter
- adapter object required to communicate with
this iButton.newAddress
- address of this 1-Wire deviceOneWireContainer01()
,
Address
public OneWireContainer01(DSPortAdapter sourceAdapter, long newAddress)
This is one of the methods to construct a container. The other is through creating a OneWireContainer with NO parameters.
sourceAdapter
- adapter object required to communicate with
this iButton.newAddress
- address of this 1-Wire deviceOneWireContainer01()
,
Address
public OneWireContainer01(DSPortAdapter sourceAdapter, String newAddress)
This is one of the methods to construct a container. The other is through creating a OneWireContainer with NO parameters.
sourceAdapter
- adapter object required to communicate with
this iButton.newAddress
- address of this 1-Wire deviceOneWireContainer01()
,
Address
Method Detail |
public String getName()
OneWireContainer
String
. For example 'Crypto iButton' or 'DS1992'.getName
in class OneWireContainer
com.dalsemi.onewire.container.OneWireContainer
public String getAlternateNames()
OneWireContainer
getAlternateNames
in class OneWireContainer
com.dalsemi.onewire.container.OneWireContainer
public String getDescription()
OneWireContainer
getDescription
in class OneWireContainer
com.dalsemi.onewire.container.OneWireContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |