|
||||||||||
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.OneWireContainer0F
1-Wire container for 8192 byte Add-Only memory (EPROM) iButton, DS1986 and 1-Wire Chip, DS2506. This container encapsulates the functionality of the 1-Wire family type 0F (hex)
The iButton package for this device is primarily used as a read/write portable memory device. The 1-Wire Chip version is used for non-volatile storage.
The memory can be accessed through the objects that are returned
from the getMemoryBanks
method.
MemoryBank
,
PagedMemoryBank
,
OTPMemoryBank
MemoryBank
,
PagedMemoryBank
,
OTPMemoryBank
MemoryBank
,
PagedMemoryBank
,
OTPMemoryBank
MemoryBank
,
PagedMemoryBank
,
OTPMemoryBank
MemoryBank
,
PagedMemoryBank
,
OTPMemoryBank
OneWireContainer
to enumerate the MemoryBanks.
MemoryBank
,
PagedMemoryBank
, and
OTPMemoryBank
for bank specific operations.
MemoryBank
,
PagedMemoryBank
,
OTPMemoryBank
,
OneWireContainer09
,
OneWireContainer0B
Constructor Summary | |
OneWireContainer0F()
Create an empty container that is not complete until after a call to setupContainer . |
|
OneWireContainer0F(DSPortAdapter sourceAdapter,
byte[] newAddress)
Create a container with the provided adapter instance and the address of the iButton or 1-Wire device. |
|
OneWireContainer0F(DSPortAdapter sourceAdapter,
long newAddress)
Create a container with the provided adapter instance and the address of the iButton or 1-Wire device. |
|
OneWireContainer0F(DSPortAdapter sourceAdapter,
String newAddress)
Create a container with the provided adapter instance and the address of the iButton or 1-Wire device. |
Method Summary | |
String |
getAlternateNames()
Get the alternate Dallas Semiconductor part numbers or names. |
String |
getDescription()
Get a short description of the function of this iButton or 1-Wire Device type. |
int |
getMaxSpeed()
Get the maximum speed this iButton or 1-Wire device can communicate at. |
Enumeration |
getMemoryBanks()
Get an enumeration of memory bank instances that implement one or more of the following interfaces: MemoryBank ,
PagedMemoryBank ,
and OTPMemoryBank . |
String |
getName()
Get the Dallas Semiconductor part number of the iButton or 1-Wire Device as a string. |
Methods inherited from class com.dalsemi.onewire.container.OneWireContainer |
doSpeed, equals, getAdapter, getAddress, getAddressAsLong, getAddressAsString, hashCode, isAlarming, isPresent, setSpeed, setupContainer, setupContainer, setupContainer, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OneWireContainer0F()
setupContainer
. This is one of the methods to construct a container. The others are through creating a OneWireContainer with parameters.
super.setupContainer()
public OneWireContainer0F(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 instance used to communicate with
this iButtonnewAddress
- Address
of this 1-Wire deviceOneWireContainer0F
,
utils.Address
public OneWireContainer0F(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 instance used to communicate with
this 1-Wire devicenewAddress
- Address
of this 1-Wire deviceOneWireContainer0F
,
utils.Address
public OneWireContainer0F(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 instance used to communicate with
this 1-Wire devicenewAddress
- Address
of this 1-Wire deviceOneWireContainer0F
,
utils.Address
Method Detail |
public String getName()
getName
in class OneWireContainer
public String getAlternateNames()
getAlternateNames
in class OneWireContainer
public String getDescription()
getDescription
in class OneWireContainer
public int getMaxSpeed()
getMaxSpeed
in class OneWireContainer
super.setSpeed
,
DSPortAdapter.SPEED_REGULAR
,
DSPortAdapter.SPEED_OVERDRIVE
,
DSPortAdapter.SPEED_FLEX
public Enumeration getMemoryBanks()
MemoryBank
,
PagedMemoryBank
,
and OTPMemoryBank
.getMemoryBanks
in class OneWireContainer
Enumeration
of memory banks
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |