|
1-Wire API for .NET Version 4.00
|
Inherits com::dalsemi::onewire::container::OneWireContainer.
Public Member Functions | |
| OneWireContainer0C () | |
Create an empty container that is not complete until after a call to setupContainer. | |
| OneWireContainer0C (DSPortAdapter sourceAdapter, byte[] newAddress) | |
| Create a container with the provided adapter instance and the address of the iButton or 1-Wire device. | |
| OneWireContainer0C (DSPortAdapter sourceAdapter, long newAddress) | |
| Create a container with the provided adapter instance and the address of the iButton or 1-Wire device. | |
| OneWireContainer0C (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. | |
| 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. | |
1-Wire container for 8192 byte memory iButton, DS1996. This container encapsulates the functionality of the iButton family type 0C (hex)
This iButton is primarily used as a read/write portable memory device.
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:
See the usage example in OneWireContainer to enumerate the MemoryBanks. See the usage examples in MemoryBank and PagedMemoryBank for bank specific operations.
http://pdfserv.maxim-ic.com/arpdf/DS1996.pdf
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.
| OneWireContainer0C | ( | 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.
| sourceAdapter | adapter instance used to communicate with this iButton |
| newAddress | Address of this 1-Wire device |
| OneWireContainer0C | ( | 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.
| sourceAdapter | adapter instance used to communicate with this 1-Wire device |
| newAddress | Address of this 1-Wire device |
| OneWireContainer0C | ( | 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.
| sourceAdapter | adapter instance used to communicate with this 1-Wire device |
| newAddress | Address of this 1-Wire device |
| String getDescription | ( | ) |
Get a short description of the function of this iButton or 1-Wire Device type.
Reimplemented from OneWireContainer.
| int getMaxSpeed | ( | ) |
Get the maximum speed this iButton or 1-Wire device can communicate at.
Override this method if derived iButton type can go faster then SPEED_REGULAR(0).
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.
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'.
Reimplemented from OneWireContainer.
1.7.3