public class OneWireContainer01 extends OneWireContainer
1-Wire® container that encapsulates the functionality of the 1-Wire family type 01 (hex), Maxim Integrated Products part number: DS1990A, Serial Number.
This 1-Wire device is used as a unique serial number.
Constructor and Description |
---|
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,
java.lang.String newAddress)
Create a container with a provided adapter object
and the address of the iButton or 1-Wire device.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlternateNames()
Retrieves the alternate Maxim Integrated Products part numbers or names.
|
java.lang.String |
getDescription()
Retrieves a short description of the function of the 1-Wire device type.
|
java.lang.String |
getName()
Retrieves the Maxim Integrated Products part number of the 1-Wire device
as a
String . |
doSpeed, equals, getAdapter, getAddress, getAddressAsLong, getAddressAsString, getMaxSpeed, getMemoryBanks, hashCode, isAlarming, isPresent, setSpeed, setupContainer, setupContainer, setupContainer, toString
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.
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, java.lang.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
public java.lang.String getName()
OneWireContainer
String
. For example 'Crypto iButton' or 'DS1992'.getName
in class OneWireContainer
public java.lang.String getAlternateNames()
OneWireContainer
getAlternateNames
in class OneWireContainer
public java.lang.String getDescription()
OneWireContainer
getDescription
in class OneWireContainer
Copyright © 1999-2012 Maxim Integrated Products. All Rights Reserved.