1-Wire API for .NET Version 4.00
Public Member Functions

OneWireContainer08 Class Reference

Inherits com::dalsemi::onewire::container::OneWireContainer.

List of all members.

Public Member Functions

 OneWireContainer08 ()
 Create an empty container that is not complete until after a call to setupContainer.
 OneWireContainer08 (DSPortAdapter sourceAdapter, byte[] newAddress)
 Create a container with the provided adapter instance and the address of the iButton or 1-Wire device.
 OneWireContainer08 (DSPortAdapter sourceAdapter, long newAddress)
 Create a container with the provided adapter instance and the address of the iButton or 1-Wire device.
 OneWireContainer08 (DSPortAdapter sourceAdapter, String newAddress)
 Create a container with the provided adapter instance and the address of the iButton or 1-Wire device.
String getName ()
 Get the Maxim Integrated Products part number of the iButton or 1-Wire Device as a string.
String getDescription ()
 Get a short description of the function of this iButton or 1-Wire Device type.
Enumeration getMemoryBanks ()
 Get an enumeration of memory bank instances that implement one or more of the following interfaces: MemoryBank, PagedMemoryBank, and OTPMemoryBank.

Detailed Description

1-Wire container for 128 byte memory iButton, DS1992. This container encapsulates the functionality of the iButton family type 08 (hex)

This iButton is primarily used as a read/write portable memory device.

Features

Memory

The memory can be accessed through the objects that are returned from the getMemoryBanks method.

The following is a list of the MemoryBank instances that are returned:

Usage

See the usage example in OneWireContainer to enumerate the MemoryBanks. See the usage examples in MemoryBank and PagedMemoryBank for bank specific operations.

DataSheet

http://pdfserv.maxim-ic.com/arpdf/DS1992-DS1994.pdf

See also:
com.dalsemi.onewire.container.MemoryBank
com.dalsemi.onewire.container.PagedMemoryBank
Version:
0.00, 28 Aug 2000
Author:
DS

Constructor & Destructor Documentation

Create an empty container that is not complete until after a call to setupContainer.

This is one of the methods to construct a container. The others are through creating a OneWireContainer with parameters.

See also:
setupContainer(com.dalsemi.onewire.adapter.DSPortAdapter,byte[]) super.setupContainer()
OneWireContainer08 ( DSPortAdapter  sourceAdapter,
byte[]  newAddress 
)

Create a container with the provided adapter instance and the address of the iButton or 1-Wire device.

This is one of the methods to construct a container. The other is through creating a OneWireContainer with NO parameters.

Parameters:
sourceAdapteradapter instance used to communicate with this iButton
newAddressAddress of this 1-Wire device
See also:
OneWireContainer08() OneWireContainer08
com.dalsemi.onewire.utils.Address utils.Address
OneWireContainer08 ( DSPortAdapter  sourceAdapter,
long  newAddress 
)

Create a container with the provided adapter instance and the address of the iButton or 1-Wire device.

This is one of the methods to construct a container. The other is through creating a OneWireContainer with NO parameters.

Parameters:
sourceAdapteradapter instance used to communicate with this 1-Wire device
newAddressAddress of this 1-Wire device
See also:
OneWireContainer08() OneWireContainer08
com.dalsemi.onewire.utils.Address utils.Address
OneWireContainer08 ( DSPortAdapter  sourceAdapter,
String  newAddress 
)

Create a container with the provided adapter instance and the address of the iButton or 1-Wire device.

This is one of the methods to construct a container. The other is through creating a OneWireContainer with NO parameters.

Parameters:
sourceAdapteradapter instance used to communicate with this 1-Wire device
newAddressAddress of this 1-Wire device
See also:
OneWireContainer08() OneWireContainer08
com.dalsemi.onewire.utils.Address utils.Address

Member Function Documentation

String getDescription ( )

Get a short description of the function of this iButton or 1-Wire Device type.

Returns:
device description

Reimplemented from OneWireContainer.

Enumeration getMemoryBanks ( )

Get an enumeration of memory bank instances that implement one or more of the following interfaces: MemoryBank, PagedMemoryBank, and OTPMemoryBank.

Returns:
Enumeration of memory banks

Reimplemented from OneWireContainer.

String getName ( )

Get the Maxim Integrated Products part number of the iButton or 1-Wire Device as a string.

For example 'DS1992'.

Returns:
iButton or 1-Wire device name

Reimplemented from OneWireContainer.


The documentation for this class was generated from the following file: