|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of OneWireIOException in com.dalsemi.onewire |
Methods in com.dalsemi.onewire that throw OneWireIOException | |
static DSPortAdapter |
OneWireAccessProvider.getAdapter(String adapterName,
String portName)
Finds, opens, and verifies the specified adapter on the indicated port. |
static DSPortAdapter |
OneWireAccessProvider.getDefaultAdapter()
Finds, opens, and verifies the default adapter and port. |
Uses of OneWireIOException in com.dalsemi.onewire.adapter |
Methods in com.dalsemi.onewire.adapter that throw OneWireIOException | |
abstract boolean |
DSPortAdapter.selectPort(String portName)
Specifies a platform appropriate port name for this adapter. |
abstract boolean |
DSPortAdapter.adapterDetected()
Detects adapter presence on the selected port. |
String |
DSPortAdapter.getAdapterVersion()
Retrieves the version of the adapter. |
String |
DSPortAdapter.getAdapterAddress()
Retrieves the address of the adapter, if it has one. |
boolean |
DSPortAdapter.canOverdrive()
Returns whether adapter can physically support overdrive mode. |
boolean |
DSPortAdapter.canHyperdrive()
Returns whether the adapter can physically support hyperdrive mode. |
boolean |
DSPortAdapter.canFlex()
Returns whether the adapter can physically support flex speed mode. |
boolean |
DSPortAdapter.canProgram()
Returns whether adapter can physically support 12 volt power mode. |
boolean |
DSPortAdapter.canDeliverPower()
Returns whether the adapter can physically support strong 5 volt power mode. |
boolean |
DSPortAdapter.canDeliverSmartPower()
Returns whether the adapter can physically support "smart" strong 5 volt power mode. |
boolean |
DSPortAdapter.canBreak()
Returns whether adapter can physically support 0 volt 'break' mode. |
Enumeration |
DSPortAdapter.getAllDeviceContainers()
Returns an enumeration of OneWireContainer objects corresponding
to all of the iButtons or 1-Wire devices found on the 1-Wire Network. |
OneWireContainer |
DSPortAdapter.getFirstDeviceContainer()
Returns a OneWireContainer object corresponding to the first iButton
or 1-Wire device found on the 1-Wire Network. |
OneWireContainer |
DSPortAdapter.getNextDeviceContainer()
Returns a OneWireContainer object corresponding to the next iButton
or 1-Wire device found. |
abstract boolean |
DSPortAdapter.findFirstDevice()
Returns true if the first iButton or 1-Wire device
is found on the 1-Wire Network. |
abstract boolean |
DSPortAdapter.findNextDevice()
Returns true if the next iButton or 1-Wire device
is found. |
boolean |
DSPortAdapter.isPresent(byte[] address)
Verifies that the iButton or 1-Wire device specified is present on the 1-Wire Network. |
boolean |
DSPortAdapter.isPresent(long address)
Verifies that the iButton or 1-Wire device specified is present on the 1-Wire Network. |
boolean |
DSPortAdapter.isPresent(String address)
Verifies that the iButton or 1-Wire device specified is present on the 1-Wire Network. |
boolean |
DSPortAdapter.isAlarming(byte[] address)
Verifies that the iButton or 1-Wire device specified is present on the 1-Wire Network and in an alarm state. |
boolean |
DSPortAdapter.isAlarming(long address)
Verifies that the iButton or 1-Wire device specified is present on the 1-Wire Network and in an alarm state. |
boolean |
DSPortAdapter.isAlarming(String address)
Verifies that the iButton or 1-Wire device specified is present on the 1-Wire Network and in an alarm state. |
boolean |
DSPortAdapter.select(byte[] address)
Selects the specified iButton or 1-Wire device by broadcasting its address. |
boolean |
DSPortAdapter.select(long address)
Selects the specified iButton or 1-Wire device by broadcasting its address. |
boolean |
DSPortAdapter.select(String address)
Selects the specified iButton or 1-Wire device by broadcasting its address. |
void |
DSPortAdapter.assertSelect(byte[] address)
Selects the specified iButton or 1-Wire device by broadcasting its address. |
void |
DSPortAdapter.assertSelect(long address)
Selects the specified iButton or 1-Wire device by broadcasting its address. |
void |
DSPortAdapter.assertSelect(String address)
Selects the specified iButton or 1-Wire device by broadcasting its address. |
abstract void |
DSPortAdapter.putBit(boolean bitValue)
Sends a bit to the 1-Wire Network. |
abstract boolean |
DSPortAdapter.getBit()
Gets a bit from the 1-Wire Network. |
abstract void |
DSPortAdapter.putByte(int byteValue)
Sends a byte to the 1-Wire Network. |
abstract int |
DSPortAdapter.getByte()
Gets a byte from the 1-Wire Network. |
abstract byte[] |
DSPortAdapter.getBlock(int len)
Gets a block of data from the 1-Wire Network. |
abstract void |
DSPortAdapter.getBlock(byte[] arr,
int len)
Gets a block of data from the 1-Wire Network and write it into the provided array. |
abstract void |
DSPortAdapter.getBlock(byte[] arr,
int off,
int len)
Gets a block of data from the 1-Wire Network and write it into the provided array. |
abstract void |
DSPortAdapter.dataBlock(byte[] dataBlock,
int off,
int len)
Sends a block of data and returns the data received in the same array. |
abstract int |
DSPortAdapter.reset()
Sends a Reset to the 1-Wire Network. |
void |
DSPortAdapter.setPowerDuration(int timeFactor)
Sets the duration to supply power to the 1-Wire Network. |
boolean |
DSPortAdapter.startPowerDelivery(int changeCondition)
Sets the 1-Wire Network voltage to supply power to a 1-Wire device. |
void |
DSPortAdapter.setProgramPulseDuration(int timeFactor)
Sets the duration for providing a program pulse on the 1-Wire Network. |
boolean |
DSPortAdapter.startProgramPulse(int changeCondition)
Sets the 1-Wire Network voltage to eprom programming level. |
void |
DSPortAdapter.startBreak()
Sets the 1-Wire Network voltage to 0 volts. |
void |
DSPortAdapter.setPowerNormal()
Sets the 1-Wire Network voltage to normal level. |
void |
DSPortAdapter.setSpeed(int speed)
Sets the new speed of data transfer on the 1-Wire Network. |
void |
NetAdapter.pingHost()
Sends a ping to the host, just to keep the connection alive. |
boolean |
NetAdapter.adapterDetected()
Detects adapter presence on the selected port. |
boolean |
NetAdapter.selectPort(String portName)
Specifies a platform appropriate port name for this adapter. |
boolean |
NetAdapter.selectPort(Socket sock)
New method, unique to NetAdapter. |
boolean |
NetAdapter.canOverdrive()
Returns whether adapter can physically support overdrive mode. |
boolean |
NetAdapter.canHyperdrive()
Returns whether the adapter can physically support hyperdrive mode. |
boolean |
NetAdapter.canFlex()
Returns whether the adapter can physically support flex speed mode. |
boolean |
NetAdapter.canProgram()
Returns whether adapter can physically support 12 volt power mode. |
boolean |
NetAdapter.canDeliverPower()
Returns whether the adapter can physically support strong 5 volt power mode. |
boolean |
NetAdapter.canDeliverSmartPower()
Returns whether the adapter can physically support "smart" strong 5 volt power mode. |
boolean |
NetAdapter.canBreak()
Returns whether adapter can physically support 0 volt 'break' mode. |
boolean |
NetAdapter.findFirstDevice()
Returns true if the first iButton or 1-Wire device
is found on the 1-Wire Network. |
boolean |
NetAdapter.findNextDevice()
Returns true if the next iButton or 1-Wire device
is found. |
int |
NetAdapter.reset()
Sends a Reset to the 1-Wire Network. |
void |
NetAdapter.putBit(boolean bitValue)
Sends a bit to the 1-Wire Network. |
boolean |
NetAdapter.getBit()
Gets a bit from the 1-Wire Network. |
void |
NetAdapter.putByte(int byteValue)
Sends a byte to the 1-Wire Network. |
int |
NetAdapter.getByte()
Gets a byte from the 1-Wire Network. |
byte[] |
NetAdapter.getBlock(int len)
Gets a block of data from the 1-Wire Network. |
void |
NetAdapter.getBlock(byte[] arr,
int len)
Gets a block of data from the 1-Wire Network and write it into the provided array. |
void |
NetAdapter.getBlock(byte[] arr,
int off,
int len)
Gets a block of data from the 1-Wire Network and write it into the provided array. |
void |
NetAdapter.dataBlock(byte[] dataBlock,
int off,
int len)
Sends a block of data and returns the data received in the same array. |
void |
NetAdapter.setPowerDuration(int timeFactor)
Sets the duration to supply power to the 1-Wire Network. |
boolean |
NetAdapter.startPowerDelivery(int changeCondition)
Sets the 1-Wire Network voltage to supply power to a 1-Wire device. |
void |
NetAdapter.setProgramPulseDuration(int timeFactor)
Sets the duration for providing a program pulse on the 1-Wire Network. |
boolean |
NetAdapter.startProgramPulse(int changeCondition)
Sets the 1-Wire Network voltage to eprom programming level. |
void |
NetAdapter.startBreak()
Sets the 1-Wire Network voltage to 0 volts. |
void |
NetAdapter.setPowerNormal()
Sets the 1-Wire Network voltage to normal level. |
void |
NetAdapter.setSpeed(int speed)
Sets the new speed of data transfer on the 1-Wire Network. |
Uses of OneWireIOException in com.dalsemi.onewire.application.monitor |
Methods in com.dalsemi.onewire.application.monitor that throw OneWireIOException | |
abstract void |
AbstractDeviceMonitor.search(Vector arrivals,
Vector departures)
Performs a search of the 1-Wire network |
void |
NetworkDeviceMonitor.search(Vector arrivals,
Vector departures)
Performs a search of the 1-Wire network, with branch searching |
void |
DeviceMonitor.search(Vector arrivals,
Vector departures)
Performs a search of the 1-Wire network without searching branches |
Uses of OneWireIOException in com.dalsemi.onewire.application.sha |
Methods in com.dalsemi.onewire.application.sha that throw OneWireIOException | |
abstract boolean |
SHATransaction.setupTransactionData(SHAiButtonUser user)
Setups initial transaction data on SHAiButtonUser. |
abstract boolean |
SHATransaction.verifyUser(SHAiButtonUser user)
Verifies that SHAiButtonUser is a valid user of this service. |
abstract boolean |
SHATransaction.verifyTransactionData(SHAiButtonUser user)
Verifies account data is valid for this service. |
abstract boolean |
SHATransaction.executeTransaction(SHAiButtonUser user,
boolean verifySuccess)
Performs the transaction. |
boolean |
SHADebitUnsigned.setupTransactionData(SHAiButtonUser user)
Setup account data on a fresh user iButton. |
boolean |
SHADebitUnsigned.verifyUser(SHAiButtonUser user)
Verifies user's authentication response. |
boolean |
SHADebitUnsigned.verifyTransactionData(SHAiButtonUser user)
Verifies user's account data. |
boolean |
SHADebitUnsigned.executeTransaction(SHAiButtonUser user,
boolean verifySuccess)
Performs the unsigned debit, subtracting the debit amount from the user's balance and storing the new, unsigned account data on the user's iButton. |
boolean |
SHAiButtonCopr.createDataSignature(byte[] accountData,
byte[] signScratchpad,
byte[] mac_buffer,
int macStart)
Given a 32-byte array for page data and a 32-byte array for scratchpad content, this function will create a 20-byte signature for the data based on SHA-1. |
boolean |
SHAiButtonCopr.createDataSignatureAuth(byte[] accountData,
byte[] signScratchpad,
byte[] mac_buffer,
int macStart,
byte[] fullBindCode)
Creates a data signature, but instead of using the signing secret, it uses the authentication secret, bound for a particular button. |
boolean |
SHAiButtonCopr.generateChallenge(int offset,
byte[] ch,
int start)
Generates a 3 byte random challenge in the iButton, sufficient to be used as a challenge to be answered by a User iButton. |
boolean |
SHAiButtonCopr.verifyAuthentication(byte[] fullBindCode,
byte[] pageData,
byte[] scratchpad,
byte[] verify_mac,
byte authCmd)
Determines if a SHAiButtonUser belongs to the system
defined by this Coprocessor iButton.See the usage example in this
class for initializing a Coprocessor iButton. |
boolean |
SHAiButtonCopr.verifySignature(byte[] pageData,
byte[] scratchpad,
byte[] verify_mac)
Verifies a User iButton's signed data on this Coprocessor iButton. |
boolean |
SHAiButtonCoprVM.save(String filename,
boolean saveSecretData)
Saves simulated coprocessor configuration info to an (almost) standard-format to a hard drive file. |
boolean |
SHAiButtonCoprVM.save(OneWireContainer owc,
String filename,
boolean saveSecretData)
Saves simulated coprocessor configuration info to an (almost) standard-format to a 1-Wire Memory Device's TMEX file. |
boolean |
SHAiButtonCoprVM.createDataSignature(byte[] accountData,
byte[] signScratchpad,
byte[] mac_buffer,
int macStart)
Given a 32-byte array for page data and a 32-byte array for scratchpad content, this function will create a 20-byte signature for the data based on SHA-1. |
boolean |
SHAiButtonCoprVM.generateChallenge(int offset,
byte[] ch,
int start)
Generates a 3 byte random challenge in the iButton, sufficient to be used as a challenge to be answered by a User iButton. |
boolean |
SHAiButtonCoprVM.verifyAuthentication(byte[] fullBindCode,
byte[] pageData,
byte[] scratchpad,
byte[] verify_mac,
byte authCmd)
Determines if a SHAiButtonUser belongs to the system
defined by this Coprocessor iButton.See the usage example in this
class for initializing a Coprocessor iButton. |
boolean |
SHAiButtonCoprVM.createDataSignatureAuth(byte[] accountData,
byte[] signScratchpad,
byte[] mac_buffer,
int macStart,
byte[] fullBindCode)
Creates a data signature, but instead of using the signing secret, it uses the authentication secret, bound for a particular button. |
boolean |
SHAiButtonCoprVM.verifySignature(byte[] pageData,
byte[] scratchpad,
byte[] verify_mac)
Verifies a User iButton's signed data on this Coprocessor iButton. |
abstract boolean |
SHAiButtonUser.setiButtonUser(DSPortAdapter adapter,
byte[] address)
Modifies this SHA iButton so that it refers to another device. |
abstract boolean |
SHAiButtonUser.setiButtonUser(byte[] address)
Modifies this SHA iButton so that it refers to another device. |
abstract int |
SHAiButtonUser.getWriteCycleCounter()
Returns the value of the write cycle counter for the page where the account data is stored. |
abstract boolean |
SHAiButtonUser.writeAccountData(byte[] dataBuffer,
int offset)
Writes the account data to the SHAiButton. |
abstract boolean |
SHAiButtonUser.readAccountData(byte[] dataBuffer,
int offset)
Reads the account data off the SHAiButton using a standard READ command. |
abstract int |
SHAiButtonUser.readAccountData(byte[] chlg,
int chlgStart,
byte[] dataBuffer,
int dataStart,
byte[] mac,
int macStart)
Reads the account data off the SHAiButton using a READ_AUTHENTICATE command. |
boolean |
SHAiButtonUser.refreshDevice()
Refreshes eeprom SHA devices in case of weakly-programmed bits on the account page. |
boolean |
SHAiButtonUser33.setiButton33(OneWireContainer33 owc)
Modifies this SHA iButton so that it refers to another DS1961S container. |
boolean |
SHAiButtonUser33.setiButtonUser(DSPortAdapter adapter,
byte[] address)
Modifies this SHA iButton so that it refers to another 1963S. |
boolean |
SHAiButtonUser33.setiButtonUser(byte[] address)
Modifies this SHA iButton so that it refers to another device. |
int |
SHAiButtonUser33.getWriteCycleCounter()
Returns the value of the write cycle counter for the page where the account data is stored. |
boolean |
SHAiButtonUser33.writeAccountData(byte[] dataBuffer,
int offset)
Writes the account data to the SHAiButton. |
boolean |
SHAiButtonUser33.readAccountData(byte[] dataBuffer,
int offset)
Reads the account data off the SHAiButton using a standard READ command. |
int |
SHAiButtonUser33.readAccountData(byte[] chlg,
int chlgStart,
byte[] dataBuffer,
int dataStart,
byte[] mac,
int macStart)
Reads the account data off the SHAiButton using a READ_AUTHENTICATE command. |
boolean |
SHAiButtonUser33.refreshDevice()
Refreshes eeprom SHA devices in case of weakly-programmed bits on the account page. |
boolean |
SHADebit.setupTransactionData(SHAiButtonUser user)
Setup account data on a fresh user iButton. |
boolean |
SHADebit.verifyUser(SHAiButtonUser user)
Verifies user's authentication response. |
boolean |
SHADebit.verifyTransactionData(SHAiButtonUser user)
Verifies user's account data. |
boolean |
SHADebit.executeTransaction(SHAiButtonUser user,
boolean verifySuccess)
Performs the signed debit, subtracting the debit amount from the user's balance and storing the new, signed account data on the user's iButton. |
boolean |
SHAiButtonUser18.setiButton18(OneWireContainer18 owc)
Modifies this SHA iButton so that it refers to another DS1963S container. |
boolean |
SHAiButtonUser18.setiButtonUser(DSPortAdapter adapter,
byte[] address)
Modifies this SHA iButton so that it refers to another 1963S. |
boolean |
SHAiButtonUser18.setiButtonUser(byte[] address)
Modifies this SHA iButton so that it refers to another device. |
int |
SHAiButtonUser18.getWriteCycleCounter()
Returns the value of the write cycle counter for the page where the account data is stored. |
boolean |
SHAiButtonUser18.writeAccountData(byte[] dataBuffer,
int offset)
Writes the account data to the SHAiButton. |
boolean |
SHAiButtonUser18.readAccountData(byte[] dataBuffer,
int offset)
Reads the account data off the SHAiButton using a standard READ command. |
int |
SHAiButtonUser18.readAccountData(byte[] chlg,
int chlgStart,
byte[] dataBuffer,
int dataStart,
byte[] mac,
int macStart)
Reads the account data off the SHAiButton using a READ_AUTHENTICATE command. |
boolean |
SHASoftAuth.setupTransactionData(SHAiButtonUser user)
Setup account data on a fresh user iButton. |
boolean |
SHASoftAuth.verifyUser(SHAiButtonUser user)
Verifies user's authentication response. |
boolean |
SHASoftAuth.verifyTransactionData(SHAiButtonUser user)
Verifies user's account data. |
boolean |
SHASoftAuth.executeTransaction(SHAiButtonUser user,
boolean verifySuccess)
Performs the signed debit, subtracting the debit amount from the user's balance and storing the new, signed account data on the user's iButton. |
Constructors in com.dalsemi.onewire.application.sha that throw OneWireIOException | |
SHAiButtonCopr(OneWireContainer18 l_owc,
String coprFilename,
boolean l_formatDevice,
int l_signPageNumber,
int l_authPageNumber,
int l_wspcPageNumber,
int l_version,
int l_encCode,
byte l_serviceFileExt,
byte[] l_serviceFilename,
byte[] l_providerName,
byte[] l_bindData,
byte[] l_bindCode,
byte[] l_auxData,
byte[] l_initialSignature,
byte[] l_signingChlg,
byte[] l_signingSecret,
byte[] l_authSecret)
Sets up this coprocessor object based on the provided parameters and saves all of these parameters as the contents of the file coprFilename stored on owc . |
|
SHAiButtonCopr(OneWireContainer18 owc,
String coprFilename)
Sets up this coprocessor object based on the contents of the file coprFilename stored on owc . |
|
SHAiButtonCoprVM(byte[] RomID,
int l_signPageNumber,
int l_authPageNumber,
int l_wspcPageNumber,
int l_version,
int l_encCode,
byte l_serviceFileExt,
byte[] l_serviceFilename,
byte[] l_providerName,
byte[] l_bindData,
byte[] l_bindCode,
byte[] l_auxData,
byte[] l_initialSignature,
byte[] l_signingChlg,
byte[] l_signingSecret,
byte[] l_authSecret)
Sets up this simulated coprocessor based on the provided parameters. |
|
SHAiButtonCoprVM(String filename)
Loads a simulated DS1963S coprocessor device from disk. |
|
SHAiButtonCoprVM(String filename,
byte[] sign_secret,
byte[] auth_secret)
Loads a simulated DS1963S coprocessor device from disk. |
|
SHAiButtonCoprVM(OneWireContainer owc,
String filename)
Loads a simulated DS1963S coprocessor device from any 1-Wire memory device supported by the 1-Wire File I/O API. |
|
SHAiButtonCoprVM(OneWireContainer owc,
String filename,
byte[] sign_secret,
byte[] auth_secret)
Loads a simulated DS1963S coprocessor device from any 1-Wire memory device supported by the 1-Wire File I/O API. |
|
SHAiButtonCoprVM(OneWireContainer18 owc,
String filename,
byte[] sign_secret,
byte[] auth_secret)
Simulates a specific DS1963S coprocessor device. |
|
SHAiButtonUser33(SHAiButtonCopr copr,
OneWireContainer33 owc,
boolean formatDevice,
byte[] authSecret)
Initialize a DS1961S as a fresh user iButton for a given SHA service. |
|
SHAiButtonUser33(byte[] coprBindCode,
byte[] fileName,
int fileNameExt,
OneWireContainer33 owc,
boolean formatDevice,
byte[] authSecret)
Initialize a DS1961S as a fresh user iButton for a given SHA service. |
|
SHAiButtonUser33(SHAiButtonCopr copr,
SHAiButtonCopr authCopr,
OneWireContainer33 owc)
Creates a valid SHAiButtonUser object. |
|
SHAiButtonUser33(byte[] coprBindCode,
byte[] fileName,
int fileNameExt,
OneWireContainer33 owc)
Creates a valid SHAiButtonUser object. |
|
SHAiButtonUser18(SHAiButtonCopr copr,
OneWireContainer18 owc,
boolean formatDevice,
byte[] authSecret)
Initialize a DS1963S as a fresh user iButton for a given SHA service. |
|
SHAiButtonUser18(byte[] coprBindData,
byte[] coprBindCode,
byte[] fileName,
int fileNameExt,
OneWireContainer18 owc,
boolean formatDevice,
byte[] authSecret)
Initialize a DS1963S as a fresh user iButton for a given SHA service. |
|
SHAiButtonUser18(SHAiButtonCopr copr,
OneWireContainer18 owc)
Creates a valid SHAiButtonUser object. |
|
SHAiButtonUser18(byte[] coprBindCode,
byte[] fileName,
int fileNameExt,
OneWireContainer18 owc)
Creates a valid SHAiButtonUser object. |
Uses of OneWireIOException in com.dalsemi.onewire.application.tag |
Methods in com.dalsemi.onewire.application.tag that throw OneWireIOException | |
void |
TaggedActuator.setSelection(String selection)
Set the selectionof this actuator |
void |
TaggedActuator.initActuator()
Initialize the actuator |
String |
TaggedSensor.readSensor()
The readSensor |
Uses of OneWireIOException in com.dalsemi.onewire.container |
Methods in com.dalsemi.onewire.container that throw OneWireIOException | |
void |
ADContainer.doADConvert(int channel,
byte[] state)
Performs a voltage conversion on one specified channel. |
void |
ADContainer.doADConvert(boolean[] doConvert,
byte[] state)
Performs voltage conversion on one or more specified channels. |
double[] |
ADContainer.getADVoltage(byte[] state)
Reads the value of the voltages after a doADConvert(boolean[],byte[])
method call. |
double |
ADContainer.getADVoltage(int channel,
byte[] state)
Reads the value of the voltages after a doADConvert(int,byte[])
method call. |
boolean |
OneWireContainer.isPresent()
Verifies that the iButton or 1-Wire device is present on the 1-Wire Network. |
boolean |
OneWireContainer.isAlarming()
Verifies that the iButton or 1-Wire device is present on the 1-Wire Network and in an alarm state. |
void |
OneWireContainer.doSpeed()
Go to the specified speed for this container. |
long |
OneWireContainer1D.readCounter(int counterPage)
Read the counter value associated with a page on this 1-Wire Device. |
byte[] |
OneWireSensor.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireSensor.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
byte[] |
OneWireContainer1F.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer1F.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
void |
OneWireContainer1F.dischargeLines(int time)
Force a power-on reset for parasitically powered 1-Wire devices connected to the main or auziliary output of the DS2409. |
void |
PagedMemoryBank.readPage(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Reads a page in this memory bank with no CRC checking (device or data). |
void |
PagedMemoryBank.readPage(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Reads a page in this memory bank with extra information with no CRC checking (device or data). |
int |
PagedMemoryBank.readPagePacket(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Reads a Universal Data Packet. |
int |
PagedMemoryBank.readPagePacket(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Reads a Universal Data Packet and extra information. |
void |
PagedMemoryBank.writePagePacket(int page,
byte[] writeBuf,
int offset,
int len)
Writes a Universal Data Packet. |
void |
PagedMemoryBank.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Reads a complete memory page with CRC verification provided by the device. |
void |
PagedMemoryBank.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Reads a complete memory page with CRC verification provided by the device with extra information. |
void |
OTPMemoryBank.lockPage(int page)
Locks the specifed page in this memory bank. |
boolean |
OTPMemoryBank.isPageLocked(int page)
Checks to see if the specified page is locked. |
void |
OTPMemoryBank.redirectPage(int page,
int newPage)
Redirects the specifed page to a new page. |
int |
OTPMemoryBank.isPageRedirected(int page)
Deprecated. As of 1-Wire API 0.01, replaced by OTPMemoryBank.getRedirectedPage(int) |
int |
OTPMemoryBank.getRedirectedPage(int page)
Gets the page redirection of the specified page. |
void |
OTPMemoryBank.lockRedirectPage(int page)
Locks the redirection of the specifed page. |
boolean |
OTPMemoryBank.isRedirectPageLocked(int page)
Checks to see if the specified page has redirection locked. |
void |
MemoryBank.read(int startAddr,
boolean readContinue,
byte[] readBuf,
int offset,
int len)
Reads memory in this bank with no CRC checking (device or data). |
void |
MemoryBank.write(int startAddr,
byte[] writeBuf,
int offset,
int len)
Writes memory in this bank. |
void |
MemoryBankScratchSHAEE.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Read a complete memory page with CRC verification provided by the device. |
void |
MemoryBankScratchSHAEE.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Read a complete memory page with CRC verification provided by the device with extra information. |
void |
MemoryBankScratchSHAEE.readScratchpad(byte[] readBuf,
int offset,
int len,
byte[] extraInfo)
Read the scratchpad page of memory from a NVRAM device This method reads and returns the entire scratchpad after the byte offset regardless of the actual ending offset |
void |
MemoryBankScratchSHAEE.copyScratchpad(int addr,
int len)
Copy the scratchpad page to memory. |
void |
MemoryBankScratchSHAEE.copyScratchpad(int addr,
byte[] scratchpad,
int offset)
Copy the scratchpad page to memory. |
void |
MemoryBankScratchSHAEE.copyScratchpad(int addr,
byte[] scratchpad,
int scratchpadOffset,
byte[] pageData,
int pageDataOffset)
Copy the scratchpad page to memory. |
void |
MemoryBankScratchSHAEE.copyScratchpadWithMAC(int addr,
byte[] authMAC,
int authOffset)
Copy all 8 bytes of the Sratch Pad to a certain address in memory using the provided authorization MAC |
void |
MemoryBankScratchSHAEE.writeScratchpad(int addr,
byte[] writeBuf,
int offset,
int len)
Write to the scratchpad page of memory a NVRAM device. |
void |
MemoryBankScratchSHAEE.write(int addr,
byte[] writeBuf,
int offset,
int len)
Write memory in the current bank. |
void |
MemoryBankScratchSHAEE.loadFirstSecret(int addr,
byte[] data,
int offset)
Load First Secret for the DS2432. |
void |
MemoryBankScratchSHAEE.loadFirstSecret(int addr)
Load First Secret for the DS2432. |
void |
MemoryBankScratchSHAEE.computeNextSecret(int addr)
Computes the next secret. |
void |
MemoryBankScratchSHAEE.computeNextSecret(int addr,
byte[] partialsecret,
int offset)
Computes the next secret. |
void |
MemoryBankScratchSHAEE.refreshScratchpad(int addr)
Refreshes the scratchpad for DS1961S. |
byte[] |
OneWireContainer41.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer41.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
byte |
OneWireContainer41.readByte(int memAddr)
Reads a single byte from the DS1922. |
boolean |
OneWireContainer41.getFlag(int register,
byte bitMask)
Gets the status of the specified flag from the specified register. |
void |
OneWireContainer41.setFlag(int register,
byte bitMask,
boolean flagValue)
Sets the status of the specified flag in the specified register. |
void |
OneWireContainer41.stopMission()
Stops the currently running mission. |
void |
OneWireContainer41.startMission()
Starts a new mission. |
void |
OneWireContainer41.clearMemory()
Erases the log memory from this missioning device. |
void |
OneWireContainer41.setDevicePasswordEnable(boolean enableReadOnly,
boolean enableReadWrite,
boolean enableWriteOnly)
Enables/Disables passwords for this Device. |
void |
OneWireContainer41.setDevicePasswordEnableAll(boolean enableAll)
Enables/Disables passwords for this device. |
void |
OneWireContainer41.setDeviceReadOnlyPassword(byte[] password,
int offset)
Writes the given password to the device's Read-Only password register. |
void |
OneWireContainer41.setDeviceReadWritePassword(byte[] password,
int offset)
Writes the given password to the device's Read/Write password register. |
void |
OneWireContainer41.setDeviceWriteOnlyPassword(byte[] password,
int offset)
Writes the given password to the device's Write-Only password register. |
String |
OneWireContainer41.getMissionLabel(int channel)
Returns a default friendly label for each channel supported by this Missioning device. |
void |
OneWireContainer41.setStartUponTemperatureAlarmEnable(boolean enable)
Sets the SUTA (Start Upon Temperature Alarm) bit in the Mission Control register. |
void |
OneWireContainer41.setStartUponTemperatureAlarmEnable(boolean enable,
byte[] state)
Sets the SUTA (Start Upon Temperature Alarm) bit in the Mission Control register. |
boolean |
OneWireContainer41.isStartUponTemperatureAlarmEnabled()
Returns true if the SUTA (Start Upon Temperature Alarm) bit in the Mission Control register is set. |
boolean |
OneWireContainer41.isStartUponTemperatureAlarmEnabled(byte[] state)
Returns true if the SUTA (Start Upon Temperature Alarm) bit in the Mission Control register is set. |
boolean |
OneWireContainer41.isMissionSUTA()
Returns true if the currently loaded mission results indicate that this mission has the SUTA bit enabled. |
boolean |
OneWireContainer41.isMissionWFTA()
Returns true if the currently loaded mission results indicate that this mission has the SUTA bit enabled and is still Waiting For Temperature Alarm (WFTA). |
void |
OneWireContainer41.startNewMission(int sampleRate,
int missionStartDelay,
boolean rolloverEnabled,
boolean syncClock,
boolean[] channelEnabled)
Begins a new mission on this missioning device. |
void |
OneWireContainer41.loadMissionResults()
Loads the results of the currently running mission. |
void |
OneWireContainer41.setMissionChannelEnable(int channel,
boolean enable)
Enables/disables the specified mission channel, indicating whether or not the channel's readings will be recorded in the mission log. |
boolean |
OneWireContainer41.getMissionChannelEnable(int channel)
Returns true if the specified mission channel is enabled, indicating that the channel's readings will be recorded in the mission log. |
int |
OneWireContainer41.getMissionSampleRate(int channel)
Returns the amount of time, in seconds, between samples taken by this missioning device. |
int |
OneWireContainer41.getMissionSampleCount(int channel)
Returns the number of samples available for the specified channel during the current mission. |
int |
OneWireContainer41.getDeviceSampleCount()
Reads the device and returns the total number of samples logged since the first power-on of this device. |
int |
OneWireContainer41.getDeviceSampleCount(byte[] state)
Returns the total number of samples logged since the first power-on of this device. |
int |
OneWireContainer41.getMissionSampleCountTotal(int channel)
Returns the total number of samples taken for the specified channel during the current mission. |
double |
OneWireContainer41.getMissionSample(int channel,
int sampleNum)
Returns the sample as degrees celsius if temperature channel is specified or as percent relative humidity if data channel is specified. |
int |
OneWireContainer41.getMissionSampleAsInteger(int channel,
int sampleNum)
Returns the sample as an integer value. |
long |
OneWireContainer41.getMissionSampleTimeStamp(int channel,
int sampleNum)
Returns the time, in milliseconds, that each sample was taken by the current mission. |
boolean |
OneWireContainer41.isMissionRunning()
Returns true if a mission is currently running. |
boolean |
OneWireContainer41.isMissionRolloverEnabled()
Returns true if a rollover is enabled. |
boolean |
OneWireContainer41.hasMissionRolloverOccurred()
Returns true if a mission has rolled over. |
void |
OneWireContainer41.clearMissionResults()
Clears the mission results and erases the log memory from this missioning device. |
long |
OneWireContainer41.getMissionTimeStamp(int channel)
Returns the time, in milliseconds, that the mission began. |
long |
OneWireContainer41.getFirstSampleOffset(int channel)
Returns the amount of time, in milliseconds, before the first sample occurred. |
double[] |
OneWireContainer41.getMissionResolutions(int channel)
Returns all available resolutions for the specified mission channel. |
double |
OneWireContainer41.getMissionResolution(int channel)
Returns the currently selected resolution for the specified channel. |
void |
OneWireContainer41.setMissionResolution(int channel,
double resolution)
Sets the selected resolution for the specified channel. |
boolean |
OneWireContainer41.hasMissionAlarmed(int channel,
int alarmType)
Returns true if the specified channel's alarm value of the specified type has been triggered during the mission. |
boolean |
OneWireContainer41.getMissionAlarmEnable(int channel,
int alarmType)
Returns true if the alarm of the specified type has been enabled for the specified channel. |
void |
OneWireContainer41.setMissionAlarmEnable(int channel,
int alarmType,
boolean enable)
Enables/disables the alarm of the specified type for the specified channel |
double |
OneWireContainer41.getMissionAlarm(int channel,
int alarmType)
Returns the threshold value which will trigger the alarm of the specified type on the specified channel. |
void |
OneWireContainer41.setMissionAlarm(int channel,
int alarmType,
double threshold)
Sets the threshold value which will trigger the alarm of the specified type on the specified channel. |
void |
OneWireContainer41.doTemperatureConvert(byte[] state)
Performs a temperature conversion. |
void |
OneWireContainer41.doHumidityConvert(byte[] state)
Performs a Humidity conversion. |
void |
OneWireContainer41.doADConvert(int channel,
byte[] state)
Performs a voltage conversion on one specified channel. |
void |
OneWireContainer41.doADConvert(boolean[] doConvert,
byte[] state)
Performs voltage conversion on one or more specified channels. |
double[] |
OneWireContainer41.getADVoltage(byte[] state)
Reads the value of the voltages after a doADConvert(boolean[],byte[])
method call. |
double |
OneWireContainer41.getADVoltage(int channel,
byte[] state)
Reads the value of the voltages after a doADConvert(int,byte[])
method call. |
void |
OneWireContainer21.writeByte(int memAddr,
byte source)
Writes a byte of data into the DS1921's memory. |
byte |
OneWireContainer21.readByte(int memAddr)
Reads a single byte from the DS1921. |
boolean |
OneWireContainer21.getFlag(int register,
byte bitMask)
Gets the status of the specified flag from the specified register. |
void |
OneWireContainer21.setFlag(int register,
byte bitMask,
boolean flagValue)
Sets the status of the specified flag in the specified register. |
void |
OneWireContainer21.enableMission(int sampleRate)
Begins this DS1921's mission. |
void |
OneWireContainer21.disableMission()
Ends this DS1921's running mission. |
void |
OneWireContainer21.clearMemory()
Clears the memory of any previous mission. |
byte[] |
OneWireContainer21.getTemperatureLog(byte[] state)
Returns the log of temperature measurements. |
int[] |
OneWireContainer21.getTemperatureHistogram()
Returns an array of at most 64 counter bins holding the DS1921 histogram data (63 bins for the DS1921L-F5X and 64 bins for the DS1921H or DS1921Z). |
byte[] |
OneWireContainer21.getAlarmHistory(byte alarmBit)
Returns an array containing the alarm log. |
byte[] |
OneWireContainer21.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer21.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
void |
OneWireContainer21.doTemperatureConvert(byte[] state)
Performs a temperature conversion. |
void |
TemperatureContainer.doTemperatureConvert(byte[] state)
Performs a temperature conversion. |
double |
TemperatureContainer.getTemperature(byte[] state)
Gets the temperature value in Celsius from the state
data retrieved from the readDevice() method. |
boolean |
OneWireContainer33.isContainerSecretSet()
Get the current status of the secret. |
boolean |
OneWireContainer33.isSecretWriteProtected()
Get the status of the secret, if it is write protected. |
boolean |
OneWireContainer33.isWriteProtectAllSet()
Get the status of all the pages, if they are write protected. |
void |
OneWireContainer33.writeProtectSecret()
Write protects the secret for the DS2432. |
void |
OneWireContainer33.writeProtectAll()
Write protect pages 0 to 3 |
void |
OneWireContainer33.setEPROMModePageOne()
Sets the EPROM mode for page 1. |
boolean |
OneWireContainer33.isPageOneEPROMmode()
Tells if page one is in EPROM mode. |
void |
OneWireContainer33.writeProtectPageZero()
Write protect page zero only. |
boolean |
OneWireContainer33.isWriteProtectPageZeroSet()
Get the status of page zero, if it is write protected. |
void |
OneWireContainer33.computeNextSecret(int pageNum,
byte[] partialsecret,
int offset)
Compute Next Secret |
void |
OneWireContainer33.computeNextSecret(int pageNum)
Compute Next Secret using the current contents of data page and scratchpad. |
boolean |
OneWireContainer33.loadFirstSecret(byte[] data,
int offset)
Load First Secret |
boolean |
OneWireContainer33.refreshPage(int page,
int offset)
Refreshes a particular 8-byte set of data on a given page. |
boolean |
OneWireContainer33.refreshPage(int page)
Refreshes all 32 bytes of data on a given page. |
boolean |
OneWireContainer33.installMasterSecret(int page,
byte[] newSecret)
Installs a secret on a DS1961S/DS2432. |
boolean |
OneWireContainer33.bindSecretToiButton(int pageNum,
byte[] bindData)
Binds an installed secret to a DS1961S/DS2432 by using well-known binding data and the DS1961S/DS2432's unique address. |
boolean |
OneWireContainer33.writeDataPage(int targetPage,
byte[] pageData)
Writes a data page to the DS1961S/DS2432. |
boolean |
OneWireContainer33.writeDataPage(int targetPage,
byte[] pageData,
int offset)
Writes a data page to the DS1961S/DS2432. |
boolean |
OneWireContainer33.writeScratchpad(int targetPage,
int targetPageOffset,
byte[] inputbuffer,
int start,
int length)
Writes data to the scratchpad. |
void |
OneWireContainer33.readScratchpad(byte[] scratchpad,
int offset,
byte[] extraInfo)
Read from the Scratch Pad, which is a max of 8 bytes. |
boolean |
OneWireContainer33.copyScratchpad(int targetPage,
int targetPageOffset,
byte[] copy_auth,
int authStart)
Copy all 8 bytes of the Sratch Pad to a certain page and offset in memory. |
boolean |
OneWireContainer33.copyScratchpad(int targetPage,
int targetPageOffset)
Copy all 8 bytes of the Sratch Pad to a certain page and offset in memory. |
boolean |
OneWireContainer33.readMemoryPage(int page,
byte[] pageData,
int offset)
Reads a page of memory.. |
boolean |
OneWireContainer33.readAuthenticatedPage(int page,
byte[] pagedata,
int offset,
byte[] computed_mac,
int macStart)
Reads and authenticates a page. |
byte[] |
OneWireContainer05.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer05.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
void |
OneWireContainer37.setDevicePasswordEnableAll(boolean enableAll)
Enables/Disables passwords for this device. |
void |
OneWireContainer37.setDeviceReadOnlyPassword(byte[] password,
int offset)
Attempts to change the value of the read password in the device's register. |
void |
OneWireContainer37.setDeviceReadWritePassword(byte[] password,
int offset)
Attempts to change the value of the read/write password in the device's register. |
void |
OneWireContainer37.setDeviceWriteOnlyPassword(byte[] password,
int offset)
Attempts to change the value of the write only password in the device's register. |
void |
OneWireContainer37.setDevicePasswordEnable(boolean enableReadOnly,
boolean enableReadWrite,
boolean enableWriteOnly)
Enables/disables passwords by writing to the devices password control register. |
boolean |
OneWireContainer37.verifyPassword(byte[] password,
int offset,
int type)
|
byte[] |
OneWireContainer24.readDevice()
Retrieves the five byte state over the 1-Wire bus. |
void |
OneWireContainer24.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
byte[] |
OneWireContainer29.readDevice()
Retrieves the 1-Wire device sensor state. |
byte[] |
OneWireContainer29.readRegister()
Retrieves the 1-Wire device register mask. |
void |
OneWireContainer29.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
void |
OneWireContainer29.writeRegister(byte[] register)
Writes the 1-Wire device register mask that have been changed by 'set' methods. |
void |
OneWireContainer29.setResetMode(byte[] register,
boolean set)
Turns the Reset mode on/off. |
boolean |
OneWireContainer29.getVCC(byte[] register)
Retrieves the state of the VCC pin. |
int |
OneWireContainer2C.getWiperPosition()
Gets the current wiper position of this device. |
boolean |
OneWireContainer2C.setWiperPosition(int position)
Sets the wiper position for the potentiometer. |
int |
OneWireContainer2C.increment(boolean reselect)
Increments the wiper position. |
int |
OneWireContainer2C.decrement(boolean reselect)
Decrements the wiper position. |
int |
OneWireContainer2C.increment()
Increments the wiper position after selecting the part. |
int |
OneWireContainer2C.decrement()
Decrements the wiper position after selecting the part. |
byte[] |
OneWireContainer2C.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer2C.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by the 'set' methods. |
void |
MemoryBankScratchCRCPW.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Read a complete memory page with CRC verification provided by the device. |
void |
MemoryBankScratchCRCPW.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Read a complete memory page with CRC verification provided by the device with extra information. |
void |
MemoryBankScratchCRCPW.readScratchpad(byte[] readBuf,
int offset,
int len,
byte[] extraInfo)
Read the scratchpad page of memory from a NVRAM device This method reads and returns the entire scratchpad after the byte offset regardless of the actual ending offset |
void |
MemoryBankScratchCRCPW.copyScratchpad(int startAddr,
int len)
Copy the scratchpad page to memory. |
void |
MemoryBankScratchCRCPW.writeScratchpad(int startAddr,
byte[] writeBuf,
int offset,
int len)
Write to the scratchpad page of memory a NVRAM device. |
void |
MemoryBankSHAEE.read(int startAddr,
boolean readContinue,
byte[] readBuf,
int offset,
int len)
Read memory in the current bank with no CRC checking (device or data). |
void |
MemoryBankSHAEE.write(int startAddr,
byte[] writeBuf,
int offset,
int len)
Write memory in the current bank. |
void |
MemoryBankSHAEE.readPage(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Read page in the current bank with no CRC checking (device or data). |
void |
MemoryBankSHAEE.readPage(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Read page with extra information in the current bank with no CRC checking (device or data). |
int |
MemoryBankSHAEE.readPagePacket(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Read a Universal Data Packet. |
int |
MemoryBankSHAEE.readPagePacket(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Read a Universal Data Packet and extra information. |
void |
MemoryBankSHAEE.writePagePacket(int page,
byte[] writeBuf,
int offset,
int len)
Write a Universal Data Packet. |
void |
MemoryBankSHAEE.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset)
Read a complete memory page with CRC verification provided by the device. |
void |
MemoryBankSHAEE.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Read a complete memory page with CRC verification provided by the device with extra information. |
void |
MemoryBankSHAEE.checkSpeed()
Check the device speed if has not been done before or if an error was detected. |
boolean |
MemoryBankSHAEE.readAuthenticatedPage(int page,
byte[] data,
int dataStart,
byte[] extra_info,
int extraStart)
Reads authenticated page. |
void |
MissionContainer.startNewMission(int sampleRate,
int missionStartDelay,
boolean rolloverEnabled,
boolean syncClock,
boolean[] channelEnabled)
Begins a new mission on this missioning device. |
void |
MissionContainer.stopMission()
Ends the currently running mission. |
boolean |
MissionContainer.isMissionRunning()
Returns true if a mission is currently running. |
boolean |
MissionContainer.isMissionRolloverEnabled()
Returns true if a rollover is enabled. |
boolean |
MissionContainer.hasMissionRolloverOccurred()
Returns true if a mission has rolled over. |
void |
MissionContainer.loadMissionResults()
Loads the results of the currently running mission. |
void |
MissionContainer.clearMissionResults()
Clears the mission results and erases the log memory from this missioning device. |
int |
MissionContainer.getNumberMissionChannels()
Gets the number of channels supported by this Missioning device. |
void |
MissionContainer.setMissionChannelEnable(int channel,
boolean enable)
Enables/disables the specified mission channel, indicating whether or not the channel's readings will be recorded in the mission log. |
boolean |
MissionContainer.getMissionChannelEnable(int channel)
Returns true if the specified mission channel is enabled, indicating that the channel's readings will be recorded in the mission log. |
String |
MissionContainer.getMissionLabel(int channel)
Returns a default friendly label for each channel supported by this Missioning device. |
long |
MissionContainer.getMissionTimeStamp(int channel)
Returns the time, in milliseconds, that the mission began. |
long |
MissionContainer.getFirstSampleOffset(int channel)
Returns the amount of time, in milliseconds, before the first sample occurred. |
int |
MissionContainer.getMissionSampleRate(int channel)
Returns the amount of time, in seconds, between samples taken by this missioning device. |
int |
MissionContainer.getMissionSampleCount(int channel)
Returns the number of samples taken for the specified channel during the current mission. |
int |
MissionContainer.getMissionSampleCountTotal(int channel)
Returns the total number of samples taken for the specified channel during the current mission. |
double |
MissionContainer.getMissionSample(int channel,
int sampleNum)
Returns the value of each sample taken by the current mission. |
long |
MissionContainer.getMissionSampleTimeStamp(int channel,
int sampleNum)
Returns the time, in milliseconds, that each sample was taken by the current mission. |
double[] |
MissionContainer.getMissionResolutions(int channel)
Returns all available resolutions for the specified mission channel. |
double |
MissionContainer.getMissionResolution(int channel)
Returns the currently selected resolution for the specified channel. |
void |
MissionContainer.setMissionResolution(int channel,
double resolution)
Sets the selected resolution for the specified channel. |
boolean |
MissionContainer.hasMissionAlarmed(int channel,
int alarmType)
Returns true if the specified channel's alarm value of the specified type has been triggered during the mission. |
boolean |
MissionContainer.getMissionAlarmEnable(int channel,
int alarmType)
Returns true if the alarm of the specified type has been enabled for the specified channel. |
void |
MissionContainer.setMissionAlarmEnable(int channel,
int alarmType,
boolean enable)
Enables/disables the alarm of the specified type for the specified channel |
double |
MissionContainer.getMissionAlarm(int channel,
int alarmType)
Returns the threshold value which will trigger the alarm of the specified type on the specified channel. |
void |
MissionContainer.setMissionAlarm(int channel,
int alarmType,
double threshold)
Sets the threshold value which will trigger the alarm of the specified type on the specified channel. |
byte[] |
JibComm.transferJibData(byte[] data,
int runTime)
Transfers data to and from this Java iButton. |
void |
JibComm.correctPOR()
Corrects the device from a Power-On-Reset (POR) error. |
void |
JibComm.getStatus(byte[] status,
int start)
Gets the status from this Java iButton. |
void |
JibComm.checkStatus(int runTime,
int dir,
byte[] status,
int start)
Checks the status of this Java iButton. |
void |
JibComm.setStatus(int runTime)
Sets status register of this Java iButton. |
void |
JibComm.setHeader(byte[] header)
Sets header to be written to this Java iButton. |
void |
JibComm.getHeader(byte[] header,
int start)
Gets header from this Java iButton. |
void |
JibComm.setData(byte[] data)
Sets data to be written to this Java iButton. |
byte[] |
JibComm.getData(int length)
Gets data from this Java iButton. |
void |
JibComm.run(int runTime)
Runs the Micro in this Java iButton. |
void |
JibComm.interrupt(int runTime)
Interrupts the Micro in this Java iButton. |
void |
JibComm.reset()
Resets the Micro in this Java iButton. |
void |
JibComm.sendCommand(byte[] commandBuffer,
byte[] releaseBuffer,
boolean powerMode,
long sleepTime)
Sends command to this Java iButton. |
int |
PotentiometerContainer.getWiperPosition()
Gets the current wiper position of the Potentiometer. |
boolean |
PotentiometerContainer.setWiperPosition(int position)
Sets the wiper position of the potentiometer. |
int |
PotentiometerContainer.increment(boolean reselect)
Increments the wiper position by one. |
int |
PotentiometerContainer.decrement(boolean reselect)
Decrements the wiper position. |
int |
PotentiometerContainer.increment()
Increments the wiper position after selecting the part. |
int |
PotentiometerContainer.decrement()
Decrements the wiper position after selecting the part. |
void |
OneWireContainer10.doTemperatureConvert(byte[] state)
Performs a temperature conversion on state information. |
double |
OneWireContainer10.getTemperature(byte[] state)
Gets the temperature value in Celsius from the state
data retrieved from the readDevice() method. |
byte[] |
OneWireContainer10.readDevice()
Retrieves this OneWireContainer10 state information. |
void |
OneWireContainer10.writeDevice(byte[] state)
Writes to this OneWireContainer10 state
information that have been changed by 'set ' methods. |
byte |
OneWireContainer30.readByte(int memAddr)
Reads a register byte from the memory of the DS2760. |
void |
OneWireContainer30.readBytes(int memAddr,
byte[] buffer,
int start,
int len)
Reads bytes from the DS2760. |
void |
OneWireContainer30.writeByte(int memAddr,
byte data)
Writes a register byte to the memory of the DS2760. |
byte[] |
OneWireContainer30.readEEPROMBlock(int blockNumber)
Reads a 16 byte data block from one of the user EEPROM blocks. |
void |
OneWireContainer30.writeEEPROMBlock(int blockNumber,
byte[] data)
Writes a 16 byte data block to one of the user blocks. |
void |
OneWireContainer30.lockBlock(int blockNumber)
Permanently write-protects one of the user blocks of EEPROM. |
boolean |
OneWireContainer30.getFlag(int memAddr,
byte flagToGet)
Checks the specified flag in the specified register. |
void |
OneWireContainer30.setFlag(int memAddr,
byte flagToSet,
boolean flagValue)
Sets one of the flags in one of the registers. Valid registers are: PROTECTION_REGISTER ,
STATUS_REGISTER ,
EEPROM_REGISTER and
SPECIAL_FEATURE_REGISTER . |
double |
OneWireContainer30.getCurrent(byte[] state)
Gets the instantaneous current. |
void |
OneWireContainer30.setRemainingCapacity(double remainingCapacity)
Allows user to set the remaining capacity. |
double |
OneWireContainer30.getRemainingCapacity(byte[] state)
Calculates the remaining capacity in mAHours from the current Accumulator. |
void |
OneWireContainer30.setLatchState(boolean on)
Sets the state for the Programmable Input/Output pin. |
boolean |
OneWireContainer30.getLatchState()
Returns the latch state of the Programmable Input/Ouput pin on the DS2760. |
void |
OneWireContainer30.clearConditions()
Clears the overvoltage, undervoltage, charge overcurrent, and discharge overcurrent flags. |
void |
OneWireContainer30.doADConvert(int channel,
byte[] state)
Performs voltage conversion on the specified channel. |
void |
OneWireContainer30.doADConvert(boolean[] doConvert,
byte[] state)
Performs voltage conversion on all specified channels. |
double[] |
OneWireContainer30.getADVoltage(byte[] state)
Reads the voltage values. |
double |
OneWireContainer30.getADVoltage(int channel,
byte[] state)
Reads a channel voltage value. |
void |
OneWireContainer30.doTemperatureConvert(byte[] state)
Performs a temperature conversion. |
void |
OneWireContainer30.setTemperatureAlarm(int alarmType,
double alarmValue,
byte[] state)
Sets the temperature alarm value in degrees C in the provided state data. |
void |
OneWireContainer30.setTemperatureResolution(double resolution,
byte[] state)
Sets the current temperature resolution in degrees C in the provided state data. |
byte[] |
OneWireContainer30.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer30.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by the 'set' methods. |
byte[] |
OneWireContainer20.readDevice()
Retrieves the entire A/D control/status and alarm pages. |
void |
OneWireContainer20.writeDevice(byte[] state)
Writes the bytes in the provided A/D register pages that have been changed by the 'set' methods. |
double[] |
OneWireContainer20.getADVoltage(byte[] state)
Reads the voltage values. |
double |
OneWireContainer20.getADVoltage(int channel,
byte[] state)
Reads a channels voltage value. |
void |
OneWireContainer20.doADConvert(int channel,
byte[] state)
Performs voltage conversion on specified channel. |
void |
OneWireContainer20.doADConvert(boolean[] doConvert,
byte[] state)
Performs voltage conversion on all specified channels. |
void |
OneWireContainer20.doADConvert(int channel,
int preset,
byte[] state)
Performs voltage conversion on specified channel. |
void |
OneWireContainer20.doADConvert(boolean[] doConvert,
int[] preset,
byte[] state)
Performs voltage conversion on all specified channels. |
byte[] |
OneWireContainer12.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer12.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
byte[] |
OneWireContainer12.channelAccess(byte[] inbuffer,
boolean toggleRW,
boolean readInitially,
int CRCMode,
int channelMode,
boolean clearActivity,
boolean interleave)
Accesses the PIO channels to sense the logical status of the output node. |
void |
OneWireContainer02.writeScratchpad(int addr,
byte[] data)
Writes the data to the scratchpad from the given address. |
byte[] |
OneWireContainer02.readScratchpad()
Reads the entire scratchpad. |
void |
OneWireContainer02.copyScratchpad(int key,
byte[] passwd,
int blockNum)
Writes the data from the scratchpad to the specified block or blocks. |
byte[] |
OneWireContainer02.readSubkey(int key,
byte[] passwd)
Reads the subkey requested with the given key name and password. |
void |
OneWireContainer02.readSubkey(byte[] data,
int key,
byte[] passwd)
Reads the subkey requested with the given key name and password. |
void |
OneWireContainer02.writePassword(int key,
byte[] oldName,
byte[] newName,
byte[] newPasswd)
Writes a new identifier and password to the secure subkey iButton |
void |
OneWireContainer02.writeSubkey(int key,
int addr,
byte[] passwd,
byte[] data)
Writes new data to the secure subkey |
void |
OneWireContainer28.doTemperatureConvert(byte[] state)
Performs a temperature conversion on state information. |
double |
OneWireContainer28.getTemperature(byte[] state)
Gets the temperature value in Celsius from the state
data retrieved from the readDevice() method. |
void |
OneWireContainer28.setTemperatureAlarm(int alarmType,
double alarmValue,
byte[] state)
Sets the temperature alarm value in Celsius in the provided state data. |
byte[] |
OneWireContainer28.readDevice()
Retrieves this OneWireContainer28 state information. |
void |
OneWireContainer28.writeDevice(byte[] state)
Writes to this OneWireContainer28 state
information that have been changed by 'set ' methods. |
byte[] |
OneWireContainer28.readScratchpad()
Reads the Scratchpad of the DS18B20. |
void |
OneWireContainer28.writeScratchpad(byte[] data)
Writes to the Scratchpad of the DS18B20. |
void |
OneWireContainer28.copyScratchpad()
Copies the Scratchpad to the E-squared memory of the DS18B20. |
byte[] |
OneWireContainer28.recallE2()
Recalls the DS18B20 temperature trigger values ( ALARM_HIGH
and ALARM_LOW ) and the configuration register to the
scratchpad and reads the scratchpad. |
boolean |
OneWireContainer28.isExternalPowerSupplied()
Reads the way power is supplied to the DS18B20. |
void |
MemoryBankNVCRCPW.readPageCRC(int page,
boolean readContinue,
byte[] readBuf,
int offset,
byte[] extraInfo)
Read a complete memory page with CRC verification provided by the device with extra information. |
void |
MemoryBankNVCRCPW.read(int startAddr,
boolean readContinue,
byte[] readBuf,
int offset,
int len)
Read memory in the current bank with no CRC checking (device or data). |
void |
MemoryBankNVCRCPW.write(int startAddr,
byte[] writeBuf,
int offset,
int len)
Write memory in the current bank. |
byte[] |
OneWireContainer04.readDevice()
Retrieves the 1-Wire device sensor state. |
void |
OneWireContainer04.writeDevice(byte[] state)
Writes the 1-Wire device sensor state that have been changed by 'set' methods. |
ResponseAPDU |
OneWireContainer16.getFreeRAM()
Gets the amount of free RAM in this Java iButton. |
ResponseAPDU |
OneWireContainer16.getRandomBytes(int numBytes)
Gets requested number of bytes of random data generated by this Java iButton. |
ResponseAPDU |
OneWireContainer16.getFirmwareVersionString()
Gets the firmware version string. |
ResponseAPDU |
OneWireContainer16.getLastError()
Gets the last error value. |
ResponseAPDU |
OneWireContainer16.getErrorReportingMode()
Gets the Error Reporting Mode. |
ResponseAPDU |
OneWireContainer16.setErrorReportingMode(int mode)
Sets the Error Reporting mode. |
ResponseAPDU |
OneWireContainer16.getAIDByNumber(int index)
Gets the AID of the applet by its installed number. |
ResponseAPDU |
OneWireContainer16.deleteSelectedApplet()
Deletes the currently selected applet. |
ResponseAPDU |
OneWireContainer16.deleteAppletByNumber(int index)
Deletes an applet by its installed number. |
ResponseAPDU |
OneWireContainer16.deleteAppletByAID(String aid)
Deletes an applet by its AID. |
ResponseAPDU |
OneWireContainer16.loadApplet(InputStream appletInputStream,
String aid)
Loads an applet onto this Java iButton. |
ResponseAPDU |
OneWireContainer16.loadApplet(String fileName,
String directoryName,
String aid)
Loads an applet onto this Java iButton. |
ResponseAPDU |
OneWireContainer16.masterErase()
Clears all memory in this Java iButton. |
ResponseAPDU |
OneWireContainer16.getPORCount()
Gets the number of times this Java iButton has been power-on-reset (POR) since the last master erase. |
ResponseAPDU |
OneWireContainer16.getRealTimeClock()
Gets the Real Time Clock. |
ResponseAPDU |
OneWireContainer16.getATR()
Gets the Answer To Reset (ATR) from this Java iButton. |
ResponseAPDU |
OneWireContainer16.getEphemeralGCMode()
Gets the Ephemeral Gabage Collection Mode. |
ResponseAPDU |
OneWireContainer16.getAppletGCMode()
Gets the Applet Garbage Collection Mode. |
ResponseAPDU |
OneWireContainer16.getCommandPINMode()
Gets the Command PIN Mode. |
ResponseAPDU |
OneWireContainer16.getLoadPINMode()
Gets the Load PIN Mode. |
ResponseAPDU |
OneWireContainer16.getRestoreMode()
Gets the Restore Mode. |
ResponseAPDU |
OneWireContainer16.getExceptionMode()
Gets the Exception Mode. |
ResponseAPDU |
OneWireContainer16.getCommitBufferSize()
Gets the size of the Commit Buffer. |
ResponseAPDU |
OneWireContainer16.setCommonPIN(String newPIN)
Sets the Common PIN. |
ResponseAPDU |
OneWireContainer16.setEphemeralGCMode(int mode)
Sets the Ephemeral Garbage Collection Mode. |
ResponseAPDU |
OneWireContainer16.setAppletGCMode(int mode)
Sets the Applet Garbage Collection Mode. |
ResponseAPDU |
OneWireContainer16.setCommandPINMode(int mode)
Sets the Command PIN Mode. |
ResponseAPDU |
OneWireContainer16.setLoadPINMode(int mode)
Sets the Load PIN Mode. |
ResponseAPDU |
OneWireContainer16.setRestoreMode(int mode)
Sets the Restore Mode. |
ResponseAPDU |
OneWireContainer16.setExceptionMode(int mode)
Sets the Exception Mode. |
ResponseAPDU |
OneWireContainer16.setCommitBufferSize(int size)
Sets the Commit Buffer size. |
ResponseAPDU |
OneWireContainer16.select(String aid)
Selects an applet by AID. |
ResponseAPDU |
OneWireContainer16.process(CommandAPDU capdu)
Sends a generic process command to this JavaiButton. |
ResponseAPDU |
OneWireContainer16.sendAPDU(CommandAPDU capdu,
int runTime)
Sends a CommandAPDU to this Java iButton. |
byte[] |
OneWireContainer26.readPage(int page)
Reads the specified 8 byte page and returns the data in an array. |
void |
OneWireContainer26.writePage(int page,
byte[] source,
int offset)
Writes a page of memory to this device. |
boolean |
OneWireContainer26.getFlag(byte flagToGet)
Checks the specified flag in the status/configuration register and returns its status as a boolean. |
void |
OneWireContainer26.setFlag(byte flagToSet,
boolean flagValue)
Set one of the flags in the STATUS/CONFIGURATION register. |
double |
OneWireContainer26.getRemainingCapacity()
Calculate the remaining capacity in mAH as outlined in the data sheet. |
boolean |
OneWireContainer26.isCharging(byte[] state)
Determines if the battery is charging and returns a boolean. |
void |
OneWireContainer26.calibrateCurrentADC()
Calibrate the current ADC. |
void |
OneWireContainer26.setThreshold(byte thresholdValue)
Set the minimum current measurement magnitude for which the ICA/CCA/DCA are incremented. |
int |
OneWireContainer26.getICA()
Retrieves the current ICA value in mVHr. |
int |
OneWireContainer26.getCCA()
Retrieves the current CCA value in mVHr. |
int |
OneWireContainer26.getDCA()
Retrieves the value of the DCA in mVHr. |
void |
OneWireContainer26.setICA(int icaValue)
Set the value of the ICA. |
void |
OneWireContainer26.setCCA(int ccaValue)
Set the value of the CCA. |
void |
OneWireContainer26.setDCA(int dcaValue)
Set the value of the DCA. |
void |
OneWireContainer26.doADConvert(int channel,
byte[] state)
This method is used to perform voltage conversion on all specified channels. |
void |
OneWireContainer26.doADConvert(boolean[] doConvert,
byte[] state)
This method is used to perform voltage conversion on all specified channels. |
double[] |
OneWireContainer26.getADVoltage(byte[] state)
This method is used to read the voltage values. |
double |
OneWireContainer26.getADVoltage(int channel,
byte[] state)
This method is used to read a channels voltage value. |
byte[] |
OneWireContainer26.readDevice()
This method retrieves the 1-Wire device sensor state. |
void |
OneWireContainer26.writeDevice(byte[] state)
This method write the 1-Wire device sensor state that have been changed by the 'set' methods. |
void |
OneWireContainer26.doTemperatureConvert(byte[] state)
Perform an temperature conversion. |
void |
OneWireContainer26.setTemperatureAlarm(int alarmType,
double alarmValue,
byte[] state)
This method sets the alarm value in degrees C in the provided state data. |
void |
OneWireContainer26.setTemperatureResolution(double resolution,
byte[] state)
This method sets the current resolution in degrees C in the provided state data. |
void |
OneWireContainer26.doHumidityConvert(byte[] state)
Performs a Humidity conversion. |
boolean |
OneWireContainer18.eraseScratchPad(int page)
Erases the scratchpad of the DS1963S. |
boolean |
OneWireContainer18.waitForSuccessfulFinish()
Waits for the DS1963S's output to alternate. |
void |
OneWireContainer18.readMemoryPage(int pageNum,
byte[] data,
int start)
Reads a memory page from the DS1963S. |
boolean |
OneWireContainer18.readAuthenticatedPage(int pageNum,
byte[] data,
int start)
Reads and authenticates a page. |
boolean |
OneWireContainer18.writeScratchPad(int targetPage,
int targetPageOffset,
byte[] inputbuffer,
int start,
int length)
Writes data to the scratchpad. |
boolean |
OneWireContainer18.matchScratchPad(byte[] mac)
Verifies the hidden signature in the scratchpad of the DS1963S. |
int |
OneWireContainer18.readScratchPad(byte[] data,
int start)
Reads the contents of the DS1963S scratchpad. |
boolean |
OneWireContainer18.copyScratchPad()
Copies the contents of the scratchpad to the target destination that was specified in a call to writeScratchPad() or
eraseScratchPad() . |
boolean |
OneWireContainer18.installMasterSecret(int page,
byte[] secret,
int secret_number)
Installs a secret on a DS1963S. |
boolean |
OneWireContainer18.bindSecretToiButton(int page,
byte[] bind_data,
byte[] bind_code,
int secret_number)
Binds an installed secret to a DS1963S by using well-known binding data and the DS1963S's unique address. |
boolean |
OneWireContainer18.writeDataPage(int page_number,
byte[] page_data)
Writes a data page to the DS1963S. |
boolean |
OneWireContainer18.SHAFunction(byte function)
Performs one of the DS1963S's cryptographic functions. |
boolean |
OneWireContainer18.SHAFunction(byte function,
int T)
Performs one of the DS1963S's cryptographic functions. |
void |
PasswordContainer.setDevicePasswordEnable(boolean enableReadOnly,
boolean enableReadWrite,
boolean enableWriteOnly)
Enables/Disables passwords for this Device. |
void |
PasswordContainer.setDevicePasswordEnableAll(boolean enableAll)
Enables/Disables passwords for this device. |
void |
PasswordContainer.setDeviceReadOnlyPassword(byte[] password,
int offset)
Writes the given password to the device's Read-Only password register. |
void |
PasswordContainer.setDeviceReadWritePassword(byte[] password,
int offset)
Writes the given password to the device's Read/Write password register. |
void |
PasswordContainer.setDeviceWriteOnlyPassword(byte[] password,
int offset)
Writes the given password to the device's Write-Only password register. |
void |
HumidityContainer.doHumidityConvert(byte[] state)
Performs a Humidity conversion. |
Uses of OneWireIOException in com.dalsemi.onewire.utils |
Methods in com.dalsemi.onewire.utils that throw OneWireIOException | |
void |
OWPath.open()
Open this 1-Wire path so that a remote device can be accessed. |
void |
OWPath.close()
Close each element in this 1-Wire path in reverse order. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |