Package | Description |
---|---|
com.digi.xbee.api | |
com.digi.xbee.api.io |
Modifier and Type | Method and Description |
---|---|
Set<IOLine> |
AbstractXBeeDevice.getDIOChangeDetection()
Returns the set of IO lines of this device that are monitored for
change detection.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractXBeeDevice.getADCValue(IOLine ioLine)
Returns the analog value of the provided IO line of this XBee device.
|
IOValue |
AbstractXBeeDevice.getDIOValue(IOLine ioLine)
Returns the digital value of the provided IO line of this XBee device.
|
IOMode |
AbstractXBeeDevice.getIOConfiguration(IOLine ioLine)
Returns the configuration mode of the provided IO line of this XBee
device.
|
double |
AbstractXBeeDevice.getPWMDutyCycle(IOLine ioLine)
Gets the PWM duty cycle (in %) corresponding to the provided IO line of
this XBee device.
|
void |
AbstractXBeeDevice.setDIOValue(IOLine ioLine,
IOValue ioValue)
Sets the digital value (high or low) to the provided IO line of this
XBee device.
|
void |
AbstractXBeeDevice.setIOConfiguration(IOLine ioLine,
IOMode ioMode)
Sets the configuration of the given IO line of this XBee device.
|
void |
AbstractXBeeDevice.setPWMDutyCycle(IOLine ioLine,
double dutyCycle)
Sets the duty cycle (in %) of the provided IO line of this XBee device.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractXBeeDevice.setDIOChangeDetection(Set<IOLine> lines)
Sets the digital IO lines of this XBee device to be monitored and
sampled whenever their status changes.
|
Modifier and Type | Method and Description |
---|---|
static IOLine |
IOLine.getDIO(int index)
Returns the
IOLine associated to the given index. |
static IOLine |
IOLine.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOLine[] |
IOLine.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HashMap<IOLine,Integer> |
IOSample.getAnalogValues()
Returns the analog values map.
|
HashMap<IOLine,IOValue> |
IOSample.getDigitalValues()
Returns the digital values map.
|
Modifier and Type | Method and Description |
---|---|
Integer |
IOSample.getAnalogValue(IOLine ioLine)
Returns the analog value of the provided IO line.
|
IOValue |
IOSample.getDigitalValue(IOLine ioLine)
Returns the digital value of the provided IO line.
|
static IOMode |
IOMode.getIOMode(int modeID,
IOLine ioLine)
Returns the
IOMode corresponding to the provided mode ID and
IO line. |
boolean |
IOSample.hasAnalogValue(IOLine ioLine)
Returns whether or not the given IO line has an analog value.
|
boolean |
IOSample.hasDigitalValue(IOLine ioLine)
Returns whether or not this IO sample contains a digital value for
the given IO line.
|
© Copyright 2014–2014 Digi International Inc. All rights reserved.