Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AdcRead - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Read analog input value as value in the range 0 - 1023.
- Analog - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.GpioType
-
An analog type.
C
- configurationChanged(Map<String, Object>) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
- configureIoDirection(BitSet) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Configure the GPIO direction of all GPIO addresses.
- configureIoDirection(BitSet) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- configureWriteMask(BitSet) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Configure a bitmask to use on future
GpioService.configureIoDirection(BitSet)orGpioService.writeAll(BitSet)calls. - configureWriteMask(BitSet) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
D
- DEFAULT_GPIO_COUNT - Static variable in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
-
The
gpioCountproperty default value. - DEFAULT_GPIO_DIRECTION - Static variable in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
The
gpioDirectionproperty default value. - DEFAULT_GPIO_LOCK_TIMEOUT_SECS - Static variable in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
The
gpioLockTimeoutSecsproperty default value. - DEFAULT_GPIO_TYPE - Static variable in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
The
gpioTypeproperty default value. - DEFAULT_LISTEN_WAIT_MS - Static variable in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
-
The
listenWaitMsproperty default value. - DEFAULT_SERIAL_NETWORK_UID - Static variable in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
The
serialNetworkUidproperty default value. - Digital - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.GpioType
-
A digital (on/off) type.
G
- getAddress() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Get the GPIO address to control.
- getAvailableControlIds() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
- getCode() - Method in enum class net.solarnetwork.node.control.numato.usbgpio.GpioDirection
- getCode() - Method in enum class net.solarnetwork.node.control.numato.usbgpio.GpioType
- getCommand() - Method in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Get the command text value.
- getControlId() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Get the control ID.
- getCurrentControlInfo(String) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
- getDeviceVersion() - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Get the device version information.
- getDeviceVersion() - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- getGpioCount() - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
-
Get the GPIO count.
- getGpioDirection() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Get the GPIO direction.
- getGpioDirectionCode() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Get the GPIO direction code value.
- getGpioLockTimeoutSecs() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Get the maximum number of seconds to wait to acquire the GPIO lock.
- getGpioType() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Get the GPIO type.
- getGpioTypeCode() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Get the GPIO type code value.
- getId() - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Get the ID of the device.
- getId() - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- getListenWaitMs() - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
-
Get the length of time to wait to read responses after writing a command, in milliseconds.
- getPropConfigs() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Get the property configurations.
- getPropConfigsCount() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Get the number of configured
propConfigselements. - getServiceProvider() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Get the
GpioServiceprovider. - getSettingSpecifiers() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
- getSettingUid() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
- GpioClear - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Clear a GPIO.
- GpioControl - Class in net.solarnetwork.node.control.numato.usbgpio
-
NodeControlProviderfor the Numato USB GPIO module. - GpioControl(OptionalService.OptionalFilterableService<SerialNetwork>) - Constructor for class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Constructor.
- GpioControl.GpioServiceAction<T> - Interface in net.solarnetwork.node.control.numato.usbgpio
-
API for interacting with the GpioService.
- GpioDirection - Enum Class in net.solarnetwork.node.control.numato.usbgpio
-
GPIO direction enumeration.
- GpioIoDirection - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Set all GPIO directions as input (1) or output (0) via hex-encoded bitmask.
- GpioIoMask - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Set the GPIO mask for future writeall or
iodircommands. - GpioPropertyConfig - Class in net.solarnetwork.node.control.numato.usbgpio
-
Configuration for a single GPIO property to be control.
- GpioPropertyConfig() - Constructor for class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Constructor.
- GpioRead - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Clear a GPIO.
- GpioReadAll - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Read all GPIO values as a hex-encoded bitmask (the iodir command must be sent prior).
- GpioService - Interface in net.solarnetwork.node.control.numato.usbgpio
-
Service API for manipulating GPIO.
- GpioSet - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Clear a GPIO.
- GpioType - Enum Class in net.solarnetwork.node.control.numato.usbgpio
-
Enumeration of GPIO types.
- GpioWriteAll - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Write all GPIO values as a hex-encoded bitmask (the iodir command must be sent prior).
H
- handlesTopic(String) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
I
- IdGet - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Get the user-configurable 8-character ID.
- IdSet - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Set the user-configurable 8-character ID.
- Input - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.GpioDirection
-
Input (read) direction.
- ioDirectionBitSet(GpioPropertyConfig[]) - Static method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Create a new bit set suitable for using to configure the IO direction of all GPIO addresses based on a set of configurations.
- isValid() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Test if this instance has a valid configuration.
N
- net.solarnetwork.node.control.numato.usbgpio - package net.solarnetwork.node.control.numato.usbgpio
O
- of(String, Integer) - Static method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Create a new configuration instance.
- Output - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.GpioDirection
-
Output (write) direction.
P
- perform(GpioService) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioControl.GpioServiceAction
-
Perform the action.
- performAction(SerialConnectionAction<T>) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
- processInstruction(Instruction) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
R
- read(int) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Get the value of the GPIO address as a binary value.
- read(int) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- readAll() - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Read the value of all GPIO addresses.
- readAll() - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- readAnalog(int) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Get the analog value of the GPIO address.
- readAnalog(int) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- readDeviceInfo(SerialConnection) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
S
- set(int, boolean) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Set the value of the GPIO address as a binary value.
- set(int, boolean) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- setAddress(Integer) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Set the GPIO address to control.
- setControlId(String) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Set the control ID.
- setGpioCount(int) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
-
Set the GPIO count.
- setGpioDirection(GpioDirection) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Set the GPIO direction.
- setGpioDirectionCode(int) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Set the GPIO direction as a code value.
- setGpioLockTimeoutSecs(int) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Set the maximum number of seconds to wait to acquire the GPIO lock.
- setGpioType(GpioType) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Set the GPIO type code value.
- setGpioTypeCode(int) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Set the GPIO type as a code value.
- setId(String) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Set the ID of the device.
- setId(String) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
- setListenWaitMs(long) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
-
Set the length of time to wait to read responses after writing a command, in milliseconds.
- setPropConfigs(GpioPropertyConfig[]) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Get the property configurations to use.
- setPropConfigsCount(int) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Adjust the number of configured
propConfigselements. - setSerialNetwork(OptionalService.OptionalFilterableService<SerialNetwork>) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
- setServiceProvider(Function<SerialConnection, GpioService>) - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Set a
GpioServiceprovider. - settings(String) - Static method in class net.solarnetwork.node.control.numato.usbgpio.GpioPropertyConfig
-
Get settings suitable for configuring an instance of this class.
- shutdown() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Call when no longer needed.
- startup() - Method in class net.solarnetwork.node.control.numato.usbgpio.GpioControl
-
Call once after properties configured.
U
- UsbGpioCommand - Enum Class in net.solarnetwork.node.control.numato.usbgpio
-
A USB GPIO serial command verb.
- UsbGpioService - Class in net.solarnetwork.node.control.numato.usbgpio
-
Implementation of the
GpioService. - UsbGpioService(SerialConnection) - Constructor for class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
-
Constructor.
V
- valueOf(String) - Static method in enum class net.solarnetwork.node.control.numato.usbgpio.GpioDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.solarnetwork.node.control.numato.usbgpio.GpioType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.solarnetwork.node.control.numato.usbgpio.GpioDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.solarnetwork.node.control.numato.usbgpio.GpioType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Version - Enum constant in enum class net.solarnetwork.node.control.numato.usbgpio.UsbGpioCommand
-
Get the version firmware.
W
- writeAll(BitSet) - Method in interface net.solarnetwork.node.control.numato.usbgpio.GpioService
-
Set the value of all GPIO addresses on enabled/disabled based on a
BitSet. - writeAll(BitSet) - Method in class net.solarnetwork.node.control.numato.usbgpio.UsbGpioService
All Classes and Interfaces|All Packages|Constant Field Values