- CAN - Class in com.digi.android.can
-
This class allows the user to manage CAN devices.
- CANFilter - Class in com.digi.android.can
-
This class represents a CAN filter.
- CANFilter(CANId, int) - Constructor for class com.digi.android.can.CANFilter
-
Creates a CAN filter with the given CAN identifier and a mask.
- CANFrame - Class in com.digi.android.can
-
This class represents a received or sent CAN frame.
- CANFrame(CAN, CANId, boolean, boolean, byte[]) - Constructor for class com.digi.android.can.CANFrame
-
Creates a CAN Frame with the given parameters.
- CANFrame(CAN, CANId, byte[]) - Constructor for class com.digi.android.can.CANFrame
-
Creates a CAN Frame with the given interface, ID, and data.
- CANId - Class in com.digi.android.can
-
This class represents a CAN Frame identifier.
- CANId(int, boolean) - Constructor for class com.digi.android.can.CANId
-
Creates a CAN identifier with the given value and whether it is extended.
- CANManager - Class in com.digi.android.can
-
This class provides access to the CAN devices.
- CANManager(Context) - Constructor for class com.digi.android.can.CANManager
-
Class constructor.
- CD - com.digi.android.serial.EventType
-
Carrier Detect event type.
- CHANGE_PERIOD_WHILE_ENABLED - Static variable in exception com.digi.android.pwm.PWMException
-
Period cannot be changed while PWM is enabled.
- channelIndex - Variable in exception com.digi.android.pwm.PWMException
-
- channelIndex - Variable in exception com.digi.android.system.cpu.exception.CPUException
-
- channelIndex - Variable in exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
- chip - Variable in exception com.digi.android.pwm.PWMException
-
- close() - Method in class com.digi.android.can.CAN
-
Attempts to close the CAN interface.
- close() - Method in class com.digi.android.i2c.I2C
-
Attempts to close the I2C interface.
- close() - Method in class com.digi.android.serial.SerialPort
-
Closes the communications port.
- close() - Method in class com.digi.android.spi.SPI
-
Attempts to close the SPI interface.
- CloudConnectorManager - Class in com.digi.android.cloudconnector
-
This class provides access to the system Cloud Connector service.
- CloudConnectorManager(Context) - Constructor for class com.digi.android.cloudconnector.CloudConnectorManager
-
Class constructor.
- CloudConnectorPreferencesManager - Class in com.digi.android.cloudconnector
-
This manager handles all the Cloud Connector service preferences that can be
read and set by the user.
- com.digi.android.adc - package com.digi.android.adc
-
- com.digi.android.can - package com.digi.android.can
-
- com.digi.android.cloudconnector - package com.digi.android.cloudconnector
-
- com.digi.android.ethernet - package com.digi.android.ethernet
-
- com.digi.android.firmwareupdate - package com.digi.android.firmwareupdate
-
- com.digi.android.gpio - package com.digi.android.gpio
-
- com.digi.android.i2c - package com.digi.android.i2c
-
- com.digi.android.pwm - package com.digi.android.pwm
-
- com.digi.android.serial - package com.digi.android.serial
-
- com.digi.android.spi - package com.digi.android.spi
-
- com.digi.android.system.cpu - package com.digi.android.system.cpu
-
- com.digi.android.system.cpu.exception - package com.digi.android.system.cpu.exception
-
- com.digi.android.system.gpu - package com.digi.android.system.gpu
-
- com.digi.android.system.memory - package com.digi.android.system.memory
-
- com.digi.android.temperature - package com.digi.android.temperature
-
- com.digi.android.util - package com.digi.android.util
-
- com.digi.android.watchdog - package com.digi.android.watchdog
-
- configureInterface(EthernetConfiguration) - Method in class com.digi.android.ethernet.EthernetManager
-
Configures the interface with the given configuration.
- connect() - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Opens the Cloud Connector connection.
- connected() - Method in interface com.digi.android.cloudconnector.ICloudConnectorEventListener
-
Notifies that the Cloud Connector service has connected.
- connectionError(String) - Method in interface com.digi.android.cloudconnector.ICloudConnectorEventListener
-
Notifies that there was an error connecting.
- CONSERVATIVE - com.digi.android.system.cpu.GovernorType
-
- CONTACT_MAXIMUM_LENGTH - Static variable in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Device contact information maximum length (in characters).
- coreIndex - Variable in exception com.digi.android.system.cpu.exception.NoSuchCoreException
-
- CPHA_CONFIG - Static variable in class com.digi.android.spi.SPI
-
Clock line phase:
- CPOL_0_CPHA_0 - com.digi.android.spi.SPIClockMode
-
Mode 0: Clock polarity = 0 / Clock phase = 0
- CPOL_0_CPHA_1 - com.digi.android.spi.SPIClockMode
-
Mode 1: Clock polarity = 0 / Clock phase = 1
- CPOL_1_CPHA_0 - com.digi.android.spi.SPIClockMode
-
Mode 2: Clock polarity = 1 / Clock phase = 0
- CPOL_1_CPHA_1 - com.digi.android.spi.SPIClockMode
-
Mode 3: Clock polarity = 1 / Clock phase = 1
- CPOL_CONFIG - Static variable in class com.digi.android.spi.SPI
-
Clock line polarity:
- CPUException - Exception in com.digi.android.system.cpu.exception
-
This exception indicates that an operation related to CPU access or
configuration has failed.
- CPUException() - Constructor for exception com.digi.android.system.cpu.exception.CPUException
-
Constructs a generic CPUException
.
- CPUException(int) - Constructor for exception com.digi.android.system.cpu.exception.CPUException
-
Constructs a CPUException
with the given cause.
- CPUException(int, String) - Constructor for exception com.digi.android.system.cpu.exception.CPUException
-
Constructs a CPUException
for the given exception cause and
detailed exception message.
- CPUException(int, String, Throwable) - Constructor for exception com.digi.android.system.cpu.exception.CPUException
-
Constructs a CPUException
for the given exception cause,
detailed message and parent exception.
- CPUException(int, Throwable) - Constructor for exception com.digi.android.system.cpu.exception.CPUException
-
Constructs a CPUException
for the given exception cause and
parent exception.
- CPUManager - Class in com.digi.android.system.cpu
-
This class provides access to the CPU management.
- CPUManager(Context) - Constructor for class com.digi.android.system.cpu.CPUManager
-
Class constructor.
- CPUTemperatureException - Exception in com.digi.android.system.cpu.exception
-
This exception indicates that an operation related to CPU Temperature access
or configuration has failed.
- CPUTemperatureException() - Constructor for exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
Constructs a generic CPUTemperatureException
.
- CPUTemperatureException(int) - Constructor for exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
Constructs a CPUTemperatureException
with the given cause.
- CPUTemperatureException(int, String) - Constructor for exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
Constructs a CPUTemperatureException
for the given exception
cause and detailed exception message.
- CPUTemperatureException(int, String, Throwable) - Constructor for exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
Constructs a CPUTemperatureException
for the given exception
cause, detailed message and parent exception.
- CPUTemperatureException(int, Throwable) - Constructor for exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
Constructs a CPUTemperatureException
for the given exception
cause and parent exception.
- CPUTemperatureManager - Class in com.digi.android.temperature
-
- CPUTemperatureManager(Context) - Constructor for class com.digi.android.temperature.CPUTemperatureManager
-
- CPUUtils - Class in com.digi.android.system.cpu
-
Utility class used to calculate the Cores and CPU usage.
- CPUUtils() - Constructor for class com.digi.android.system.cpu.CPUUtils
-
- createADC(int) - Method in class com.digi.android.adc.ADCManager
-
- createADC(ADCChip, int) - Method in class com.digi.android.adc.ADCManager
-
Creates and returns an ADC
object with the given ADC channel
number and ADCChip
.
- createCAN(int) - Method in class com.digi.android.can.CANManager
-
Creates and returns a CAN
object with the given interface.
- createGPIO(int, int, GPIOMode) - Method in class com.digi.android.gpio.GPIOManager
-
Creates and returns a new object of type GPIO with the given GPIO port
number, pin offset, and desired working mode.
- createGPIO(int, GPIOMode) - Method in class com.digi.android.gpio.GPIOManager
-
Creates and returns a GPIO
object with the given kernel GPIO
number and desired working mode.
- createI2C(int) - Method in class com.digi.android.i2c.I2CManager
-
Creates and returns an I2C
object with the given interface number.
- createPWM(int) - Method in class com.digi.android.pwm.PWMManager
-
- createPWM(PWMChip, int) - Method in class com.digi.android.pwm.PWMManager
-
Creates and returns a PWM
object with the given pair of chip and channel.
- createSPI(int, int) - Method in class com.digi.android.spi.SPIManager
-
Creates and returns an SPI
object with the given interface and
slave device.
- CS_HIGH_CONFIG - Static variable in class com.digi.android.spi.SPI
-
Chip select line active high:
- CS_LOW_CONFIG - Static variable in class com.digi.android.spi.SPI
-
Chip select line active low:
- CTS - com.digi.android.serial.EventType
-
CTS event type.
- getAboveHiSpeedDelay() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Gets the above high speed delay time in uS (10^-6 seconds).
- getADC() - Method in class com.digi.android.adc.ADCSample
-
Gets the ADC object.
- getADCChips() - Method in class com.digi.android.adc.ADCManager
-
Returns the list of ADC Chips available.
- getAppUpdateDirectory() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the directory used to hold applications and updates.
- getAvailableChannels() - Method in class com.digi.android.adc.ADCChip
-
Returns the list of available ADC channels.
- getAvailableFrequencies() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns a list with the available frequencies in KHz.
- getAvailableGovernorTypes() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns a list with the available governor types supported by the
CPU.
- getAvailableMemory() - Method in class com.digi.android.system.memory.MemoryManager
-
Returns the current system available memory in kB.
- getBaudBase() - Method in class com.digi.android.serial.SerialPort
-
Returns the baud base value.
- getBaudRate() - Method in class com.digi.android.serial.SerialPort
-
Returns the configured baud rate.
- getBitOrder() - Method in class com.digi.android.spi.SPIConfig
-
Gets the configured bit ordering.
- getBoost() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Returns whether boost is enabled or disabled.
- getBoostPulseDuration() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Gets the length of time to hold CPU speed in uS (10^-6 seconds) at high
speed frequency on a boost pulse (@see #CPUManager.boostPulse()),
before allowing speed to drop according to load as usual.
- getById(int) - Static method in enum com.digi.android.ethernet.EthernetConnectionMode
-
Returns the EthernetConnectionMode
associated to the provided
mode ID.
- getById(int) - Static method in enum com.digi.android.gpio.GPIOMode
-
Returns the GPIOMode
associated to the provided mode ID.
- getById(int) - Static method in enum com.digi.android.gpio.GPIOValue
-
Returns the GPIOValue
associated to the provided mode ID.
- getById(int) - Static method in enum com.digi.android.serial.EventType
-
Returns the EventType
associated to the provided ID.
- getByID(String) - Static method in enum com.digi.android.system.cpu.GovernorType
-
Returns the GovernorType
associated to the provided ID.
- getByValue(int) - Static method in enum com.digi.android.spi.SPIBitOrder
-
Returns the SPIBitOrder
associated to the provided value.
- getByValue(int) - Static method in enum com.digi.android.spi.SPIChipSelect
-
Returns the SPIChipSelect
associated to the provided value.
- getByValue(int) - Static method in enum com.digi.android.spi.SPIClockMode
-
Returns the SPIMode
associated to the provided value.
- getByValue(String) - Static method in enum com.digi.android.pwm.PWMPolarity
-
Returns the PWMPolarity
associated to the provided polarity value.
- getCachedMemory() - Method in class com.digi.android.system.memory.MemoryManager
-
Returns the current system cached memory in kB.
- getCAN() - Method in class com.digi.android.can.CANFrame
-
Retrieves the CAN interface where this CAN frame was received or sent.
- getChannel() - Method in class com.digi.android.adc.ADC
-
Returns the channel number of this ADC.
- getChannelIndex() - Method in class com.digi.android.pwm.PWM
-
Retrieves the PWM channel index.
- getChip() - Method in class com.digi.android.adc.ADC
-
Returns the ADC Chip of this ADC.
- getChip() - Method in class com.digi.android.pwm.PWM
-
Retrieves the PWM chip.
- getChipSelect() - Method in class com.digi.android.spi.SPIConfig
-
Gets the configured chip select active level.
- getClockFrequency() - Method in class com.digi.android.spi.SPIConfig
-
Gets the clock frequency in Hz.
- getClockMode() - Method in class com.digi.android.spi.SPIConfig
-
Gets the configured clock mode.
- getConfig() - Method in class com.digi.android.spi.SPI
-
Gets the SPI configuration.
- getConnectionMode() - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Returns the connection mode.
- getConnectionMode() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns the configured connection mode of the interface.
- getCoreIndex() - Method in exception com.digi.android.system.cpu.exception.NoSuchCoreException
-
Retrieves the core index associated to this exception.
- getCoreUsage(int) - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the usage of the provided core, in percent.
- getCoreUsage(int, long) - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the usage of the provided core, in percent.
- getCPUUsage() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the total CPU usage, in percent.
- getCPUUsage(long) - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the total CPU usage, in percent.
- getCriticalTemperature() - Method in class com.digi.android.system.cpu.CPUManager
-
Retrieves the critical CPU temperature value.
- getCriticalTemperature() - Method in class com.digi.android.temperature.CPUTemperatureManager
-
- getCriticalTemperature(boolean) - Method in class com.digi.android.system.cpu.CPUManager
-
Retrieves the critical CPU temperature value.
- getCurrentTemperature() - Method in class com.digi.android.system.cpu.CPUManager
-
Retrieves the current CPU temperature.
- getCurrentTemperature() - Method in class com.digi.android.temperature.CPUTemperatureManager
-
- getCurrentTemperature(boolean) - Method in class com.digi.android.system.cpu.CPUManager
-
Retrieves the current CPU temperature.
- getData() - Method in class com.digi.android.can.CANFrame
-
Retrieves the CAN frame's data.
- getData() - Method in class com.digi.android.cloudconnector.BinaryDataPoint
-
Returns a copy of the data point data.
- getData() - Method in class com.digi.android.cloudconnector.DataPoint
-
Returns the data point data.
- getDataBits() - Method in class com.digi.android.serial.SerialPort
-
Returns the configured data bits.
- getDataStream() - Method in class com.digi.android.cloudconnector.BinaryDataPoint
-
Return the data stream destination of the data point.
- getDataStream() - Method in class com.digi.android.cloudconnector.DataPoint
-
Returns the data-stream destination of the data point.
- getDescription() - Method in class com.digi.android.cloudconnector.DataPoint
-
Returns the data point description.
- getDescription() - Method in enum com.digi.android.ethernet.EthernetConnectionMode
-
Returns the Ethernet connection mode description.
- getDescription() - Method in enum com.digi.android.gpio.GPIOMode
-
Returns the GPIO mode description.
- getDescription() - Method in enum com.digi.android.gpio.GPIOValue
-
Returns the GPIO value description.
- getDescription() - Method in enum com.digi.android.system.cpu.GovernorType
-
Returns the governor type description.
- getDeviceContactInformation() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the configured device contact information preference.
- getDeviceDescription() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the configured device description preference.
- getDeviceID() - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Returns the Cloud Connector Device ID.
- getDeviceID() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the Device ID.
- getDeviceName() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the configured device name preference.
- getDivisor() - Method in class com.digi.android.serial.SerialPort
-
Returns the divisor value.
- getDlc() - Method in class com.digi.android.can.CANFrame
-
Retrieves the CAN frame's data length code.
- getDns1() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns the configured DNS1 address of the interface.
- getDns1Addr() - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Returns the DNS 1 address.
- getDns2() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns the configured DNS2 address of the interface.
- getDns2Addr() - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Returns the DNS 2 address.
- getDownRateLimit() - Method in class com.digi.android.system.cpu.GovernorSchedUtil
-
Gets the amount of microseconds Schedutil must wait before decreasing
the frequency.
- getDownThreshold() - Method in class com.digi.android.system.cpu.GovernorConservative
-
Gets the down threshold percentage.
- getDriverName() - Method in class com.digi.android.adc.ADCChip
-
Returns the name of the driver used by this ADCChip.
- getDutyCycle() - Method in class com.digi.android.pwm.PWM
-
- getDutyCyclePercentage() - Method in class com.digi.android.pwm.PWM
-
Retrieves the configured duty cycle percentage of this PWM channel.
- getDutyCycleRaw() - Method in class com.digi.android.pwm.PWM
-
Retrieves the configured duty cycle of this PWM channel in nanoseconds.
- getEndOfInputChar() - Method in class com.digi.android.serial.SerialPort
-
Returns the end of input character.
- getEventType() - Method in class com.digi.android.serial.SerialPortEvent
-
Returns the event type.
- getFlowControl() - Method in class com.digi.android.serial.SerialPort
-
Returns the configured flow control.
- getForwardTo() - Method in class com.digi.android.cloudconnector.DataStream
-
Returns an array of data stream names to replicate data points to.
- getFreeMemory() - Method in class com.digi.android.system.memory.MemoryManager
-
Returns the current system free memory in kB.
- getFreqStep() - Method in class com.digi.android.system.cpu.GovernorConservative
-
Gets the frequency step percentage.
- getFrequency() - Method in class com.digi.android.pwm.PWM
-
Retrieves the configured frequency of this PWM channel in Hz.
- getFrequency() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the current frequency (in kHz) of the CPU.
- getGateway() - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Returns the gateway address.
- getGateway() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns the configured gateway address of the interface.
- getGoHiSpeedLoad() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Gets the CPU load percentage at which to ramp to the intermediate 'High
speed'.
- getGovernor() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the governor that the CPU is configured with.
- getGovernorType() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the governor type the CPU is configured with.
- getGovernorType() - Method in class com.digi.android.system.cpu.Governor
-
Returns the governor type ID.
- getGPIO() - Method in class com.digi.android.gpio.GPIOSample
-
Gets the GPIO object where this sample was taken.
- getGPIONumber() - Method in exception com.digi.android.gpio.GPIOException
-
Retrieves the GPIO kernel number associated to this exception.
- getHiSpeedFreq() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Gets the high speed frequency value at which to initially ramp when CPU
load hits the high speed load value.
- getHotTemperature() - Method in class com.digi.android.system.cpu.CPUManager
-
Retrieves the hot CPU temperature value.
- getHotTemperature() - Method in class com.digi.android.temperature.CPUTemperatureManager
-
- getHotTemperature(boolean) - Method in class com.digi.android.system.cpu.CPUManager
-
Retrieves the hot CPU temperature value.
- getId() - Method in class com.digi.android.can.CANFilter
-
Retrieves the CAN identifier of this filter.
- getId() - Method in class com.digi.android.can.CANFrame
-
Retrieves the CAN frame's ID.
- getId() - Method in enum com.digi.android.ethernet.EthernetConnectionMode
-
Returns the Ethernet connection mode ID.
- getId() - Method in enum com.digi.android.gpio.GPIOMode
-
Returns the GPIO mode ID.
- getId() - Method in enum com.digi.android.serial.EventType
-
Returns the event ID.
- getID() - Method in enum com.digi.android.system.cpu.GovernorType
-
Returns the governor type ID value.
- getIgnoreNiceLoad() - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Gets whether the ignore nice load parameter is enabled or disabled.
- getIndex() - Method in class com.digi.android.pwm.PWMChip
-
Returns the PWM chip index.
- getInputBufferSize() - Method in class com.digi.android.serial.SerialPort
-
Returns the input buffer size.
- getInputStream() - Method in class com.digi.android.serial.SerialPort
-
Returns the connection interface input stream to read data from.
- getInterface() - Method in class com.digi.android.spi.SPI
-
Gets the SPI interface number.
- getInterfaceName() - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Returns the interface name.
- getInterfaceName() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns the Ethernet interface name.
- getInterfaceNumber() - Method in class com.digi.android.can.CAN
-
Retrieves the CAN interface number.
- getInterfaceNumber() - Method in class com.digi.android.i2c.I2C
-
Retrieves the I2C interface number.
- getIp() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns the configured IP address of the interface.
- getIpAddress() - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Returns the IP address.
- getKernelNumber() - Method in class com.digi.android.gpio.GPIO
-
Retrieves the kernel number associated to this GPIO object.
- getLocation() - Method in class com.digi.android.cloudconnector.DataPoint
-
Returns the data point location.
- getMacAddress() - Method in class com.digi.android.ethernet.EthernetManager
-
Reads the MAC address of the Ethernet interface.
- getMask() - Method in class com.digi.android.can.CANFilter
-
Returns the mask of this filter.
- getMaxFrequency() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the maximum frequency (in kHz) that the CPU supports.
- getMaxScalingFrequency() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the maximum frequency (in kHz) the device may scale the CPU
to.
- getMessage() - Method in exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
- getMinFrequency() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the minimum frequency (in kHz) that the CPU supports.
- getMinMultiplier() - Method in class com.digi.android.system.gpu.GPUManager
-
Returns the the GPU multiplier that will be set when the module's
temperature reaches the hot trip point.
- getMinSampleTime() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Gets the minimum sample time in uS (10^-6 seconds).
- getMinSamplingRate() - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
- getMinScalingFrequency() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the minimum frequency (in kHz) the device may scale the CPU
to.
- getMode() - Method in class com.digi.android.gpio.GPIO
-
Retrieves the GPIO working mode.
- getMultiplier() - Method in class com.digi.android.system.gpu.GPUManager
-
Returns the current GPU multiplier.
- getName() - Method in class com.digi.android.adc.ADCChip
-
Returns the name of the ADCChip.
- getName() - Method in class com.digi.android.cloudconnector.DataStream
-
Returns the name of this data stream.
- getName() - Method in class com.digi.android.pwm.PWMChip
-
Returns the PWM chip name.
- getName() - Method in class com.digi.android.serial.SerialPort
-
Returns the serial port name.
- getNetmask() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns the configured netmask of the interface.
- getNetMask() - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Returns the net mask address.
- getNewValue() - Method in class com.digi.android.serial.SerialPortEvent
-
Returns the new value.
- getNumberOfCores() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the number of cores available in the device.
- getOldValue() - Method in class com.digi.android.serial.SerialPortEvent
-
Returns the old value.
- getOutputBufferSize() - Method in class com.digi.android.serial.SerialPort
-
Returns the output buffer size.
- getOutputStream() - Method in class com.digi.android.serial.SerialPort
-
Returns the connection interface output stream to write data to.
- getParity() - Method in class com.digi.android.serial.SerialPort
-
Returns the configured parity.
- getParityErrorChar() - Method in class com.digi.android.serial.SerialPort
-
Returns the parity error character.
- getPeriod() - Method in class com.digi.android.pwm.PWM
-
Retrieves the configured period of this PWM channel in nanoseconds.
- getPinIndex() - Method in class com.digi.android.gpio.GPIO
-
Retrieves the pin index associated to this GPIO object.
- getPolarity() - Method in class com.digi.android.pwm.PWM
-
Retrieves the configured polarity of this PWM channel.
- getPortIndex() - Method in class com.digi.android.gpio.GPIO
-
Retrieves the base port index associated to this GPIO object.
- getPreferencesManager() - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Returns the Cloud Connector preferences manager.
- getPWMChannelIndex() - Method in exception com.digi.android.pwm.PWMException
-
Retrieves the PWM channel index associated to this exception.
- getPWMChip() - Method in exception com.digi.android.pwm.PWMException
-
Retrieves the PWM chip associated to this exception.
- getQuality() - Method in class com.digi.android.cloudconnector.DataPoint
-
Returns the data point quality.
- getReceiveThreshold() - Method in class com.digi.android.serial.SerialPort
-
Returns the integer value of the receive threshold.
- getReceiveTimeout() - Method in class com.digi.android.serial.SerialPort
-
Returns the integer value of the receive timeout.
- getReconnectTime() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the configured reconnect time delay setting in seconds.
- getSamplingDownFactor() - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Gets the sampling down factor.
- getSamplingDownFactorMaxValue() - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Returns the maximum limit for the sampling down factor.
- getSamplingDownFactorMaxValue() - Method in class com.digi.android.system.cpu.GovernorConservative
-
- getSamplingDownFactorMaxValue() - Method in class com.digi.android.system.cpu.GovernorOnDemand
-
- getSamplingRate() - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Returns the sampling rate in uS.
- getSettingPath(String) - Method in class com.digi.android.system.cpu.Governor
-
Returns the absolute governor setting path depending on the governor
type.
- getSlaveDevice() - Method in class com.digi.android.spi.SPI
-
Gets the SPI slave device number.
- getStopBits() - Method in class com.digi.android.serial.SerialPort
-
Returns the configured stop bits.
- getSystemCpuUsage(String, String) - Static method in class com.digi.android.system.cpu.CPUUtils
-
Computes and returns the total CPU/Core usage, in percent.
- getSystemMonitorSampleRate() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the system monitor sample rate.
- getSystemMonitorSamplesBufferSize() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the system monitor samples buffer size.
- getSystemMonitorUploadSamplesSize() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the system monitor number of samples to store for each channel
before uploading to Device Cloud.
- getTag() - Method in class com.digi.android.system.cpu.Governor
-
Returns the class tag used for logging purposes.
- getTag() - Method in class com.digi.android.system.cpu.GovernorConservative
-
- getTag() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
- getTag() - Method in class com.digi.android.system.cpu.GovernorOnDemand
-
- getTag() - Method in class com.digi.android.system.cpu.GovernorPerformance
-
- getTag() - Method in class com.digi.android.system.cpu.GovernorPowerSave
-
- getTag() - Method in class com.digi.android.system.cpu.GovernorSchedUtil
-
- getTag() - Method in class com.digi.android.system.cpu.GovernorUnknown
-
- getTag() - Method in class com.digi.android.system.cpu.GovernorUserSpace
-
- getTimeout() - Method in class com.digi.android.watchdog.ApplicationWatchdogManager
-
Returns the configured application watchdog service timeout for the
calling application.
- getTimeout() - Method in class com.digi.android.watchdog.SystemWatchdogManager
-
Returns the configured system watchdog service timeout.
- getTimerRate() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Gets the sample rate in uS (10^-6 seconds) for reevaluating CPU load
when the system is not idle.
- getTimerSlack() - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Gets the maximum additional time in uS (10^-6 seconds) to defer handling
the governor sampling timer beyond 'Timer rate' when running at speeds
above the minimum.
- getTimestamp() - Method in class com.digi.android.adc.ADCSample
-
Gets the time when the ADC sample was taken.
- getTimestamp() - Method in class com.digi.android.cloudconnector.DataPoint
-
Returns the data point time stamp.
- getTimestamp() - Method in class com.digi.android.gpio.GPIOSample
-
Gets the time when this sample was taken.
- getTotalMemory() - Method in class com.digi.android.system.memory.MemoryManager
-
Returns the system total memory in kB.
- getTransitionLatency() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns the transition latency of the CPU in nano seconds (10^⁻9).
- getType() - Method in exception com.digi.android.gpio.GPIOException
-
Retrieves the exception type.
- getType() - Method in exception com.digi.android.pwm.PWMException
-
Retrieves the exception type.
- getType() - Method in exception com.digi.android.system.cpu.exception.CPUException
-
Retrieves the exception type.
- getType() - Method in exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
Retrieves the exception type.
- getUnits() - Method in class com.digi.android.cloudconnector.DataStream
-
Returns the units for this data stream.
- getUpRateLimit() - Method in class com.digi.android.system.cpu.GovernorSchedUtil
-
Gets the amount of microseconds Schedutil must wait before increasing
the frequency.
- getUpThreshold() - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Gets the up threshold percentage.
- getUpThresholdMinValue() - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Returns the minimum limit for the up threshold percentage.
- getUpThresholdMinValue() - Method in class com.digi.android.system.cpu.GovernorConservative
-
- getUpThresholdMinValue() - Method in class com.digi.android.system.cpu.GovernorOnDemand
-
- getURL() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the configured Cloud Connector URL preference.
- getUsage() - Method in class com.digi.android.system.cpu.CPUManager
-
Returns a list with all the CPU usage percentages (from CPU and
cores).
- getUsage(long) - Method in class com.digi.android.system.cpu.CPUManager
-
Returns a list with all the CPU usage percentages (from CPU and
cores).
- getValue() - Method in class com.digi.android.adc.ADC
-
Returns the current ADC channel value.
- getValue() - Method in class com.digi.android.adc.ADCSample
-
Gets the ADC sample value.
- getValue() - Method in class com.digi.android.can.CANId
-
Retrieves the value of this CAN identifier.
- getValue() - Method in class com.digi.android.gpio.GPIO
-
Retrieves the GPIO value.
- getValue() - Method in class com.digi.android.gpio.GPIOSample
-
Gets the GPIO value of this sample.
- getValue() - Method in enum com.digi.android.gpio.GPIOValue
-
Returns the value of the GPIOValue
.
- getValue() - Method in enum com.digi.android.pwm.PWMPolarity
-
Returns the PWM polarity value.
- getValue() - Method in enum com.digi.android.spi.SPIBitOrder
-
Returns the SPI message bit order value.
- getValue() - Method in enum com.digi.android.spi.SPIChipSelect
-
Returns the SPI chip select value.
- getValue() - Method in enum com.digi.android.spi.SPIClockMode
-
Returns the SPI mode value.
- getVendorID() - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Returns the device vendor ID.
- getVendorID() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the device vendor ID.
- getWordLength() - Method in class com.digi.android.spi.SPIConfig
-
Gets the word length.
- Governor - Class in com.digi.android.system.cpu
-
Represents an abstract governor class that other governors classes must
extend from.
- GovernorCommonBase - Class in com.digi.android.system.cpu
-
Represents an abstract governor class with some configuration parameters
already implemented.
- GovernorConservative - Class in com.digi.android.system.cpu
-
Represents a governor of type 'conservative'.
- GovernorInteractive - Class in com.digi.android.system.cpu
-
Represents a governor of type 'interactive'.
- GovernorOnDemand - Class in com.digi.android.system.cpu
-
Represents a governor of type 'ondemand'.
- GovernorPerformance - Class in com.digi.android.system.cpu
-
Represents a governor of type 'performance'.
- GovernorPowerSave - Class in com.digi.android.system.cpu
-
Represents a governor of type 'powersave'.
- GovernorSchedUtil - Class in com.digi.android.system.cpu
-
Represents a governor of type 'schedutil'.
- governorType - Variable in class com.digi.android.system.cpu.Governor
-
- GovernorType - Enum in com.digi.android.system.cpu
-
Enumerates the possible governor types associated to the Governor
classes.
- GovernorUnknown - Class in com.digi.android.system.cpu
-
Represents a governor of type 'unknown'.
- GovernorUserSpace - Class in com.digi.android.system.cpu
-
Represents a governor of type 'userspace'.
- GPIO - Class in com.digi.android.gpio
-
Represents a GPIO (General Purpose Input/Output) module pin.
- GPIO_IN_USE - Static variable in exception com.digi.android.gpio.GPIOException
-
Timeout while waiting for interrupt event on the GPIO.
- GPIOException - Exception in com.digi.android.gpio
-
This exception indicates that an operation related to GPIO access or
configuration has failed.
- GPIOException(int) - Constructor for exception com.digi.android.gpio.GPIOException
-
Constructs a GPIOException for the given GPIO number.
- GPIOException(int, int) - Constructor for exception com.digi.android.gpio.GPIOException
-
Constructs a GPIOException for the given GPIO number and with the given cause.
- GPIOException(int, int, String) - Constructor for exception com.digi.android.gpio.GPIOException
-
Constructs a GPIOException for the given GPIO number, exception cause
and detailed exception message.
- GPIOException(int, int, String, Throwable) - Constructor for exception com.digi.android.gpio.GPIOException
-
Constructs a GPIOException for the given GPIO number, exception cause,
detailed message and darent exception.
- GPIOException(int, int, Throwable) - Constructor for exception com.digi.android.gpio.GPIOException
-
Constructs a GPIOException for the given GPIO number, exception cause
and parent exception.
- GPIOManager - Class in com.digi.android.gpio
-
This class provides access to GPIOs.
- GPIOManager(Context) - Constructor for class com.digi.android.gpio.GPIOManager
-
Class constructor.
- GPIOMode - Enum in com.digi.android.gpio
-
Enumerates the possible modes of a GPIO
.
- GPIOSample - Class in com.digi.android.gpio
-
This class represents a received GPIO sample.
- GPIOSample(GPIO, GPIOValue, long) - Constructor for class com.digi.android.gpio.GPIOSample
-
Creates a GPIO sample with the given GPIO, value and timestamp.
- GPIOValue - Enum in com.digi.android.gpio
-
Enumerates the possible values of a GPIO
.
- GPUManager - Class in com.digi.android.system.gpu
-
This class provides access to the GPU.
- GPUManager(Context) - Constructor for class com.digi.android.system.gpu.GPUManager
-
Class constructor.
- I2C - Class in com.digi.android.i2c
-
Represents an I2C interface from the device.
- I2CManager - Class in com.digi.android.i2c
-
This class provides access to the I2C devices.
- I2CManager(Context) - Constructor for class com.digi.android.i2c.I2CManager
-
- IADCListener - Interface in com.digi.android.adc
-
This interface defines the required methods that should be implemented to
behave as an ADC listener and be notified when a sample is received.
- ICANListener - Interface in com.digi.android.can
-
This interface defines the required methods that should be implemented to
behave as a CAN listener and be notified when a new CAN frame is received.
- ICloudConnectorEventListener - Interface in com.digi.android.cloudconnector
-
This interface defines the required methods that should be implemented to
receive events from the Cloud Connector service.
- ICPUTemperatureListener - Interface in com.digi.android.system.cpu
-
This interface defines the required methods that should be implemented to
receive notifications from the CPU Manager when the temperature is updated.
- ICPUTemperatureListener - Interface in com.digi.android.temperature
-
- ID_EXTENDED_MAX_LENGTH - Static variable in class com.digi.android.can.CANId
-
Maximum length for extended ID: bits.
- ID_MAX_LENGTH - Static variable in class com.digi.android.can.CANId
-
Maximum length for ID: bits.
- IDeviceRequestListener - Interface in com.digi.android.cloudconnector
-
This interface defines the required methods that should be implemented to
receive Device Requests from the Cloud Connector service.
- IFirmwareUpdateListener - Interface in com.digi.android.firmwareupdate
-
This interface defines the required methods that should be implemented to
receive firmware update process progress updates.
- IGPIOListener - Interface in com.digi.android.gpio
-
This interface defines the required methods that should be implemented to
behave as a GPIO listener and be notified when a GPIO changes.
- init(long) - Method in class com.digi.android.watchdog.SystemWatchdogManager
-
Initializes the system watchdog service with the given timeout (in
milliseconds).
- init(long, PendingIntent) - Method in class com.digi.android.watchdog.ApplicationWatchdogManager
-
Initializes the application watchdog service for the calling
application with the given timeout (in milliseconds).
- INPUT - com.digi.android.gpio.GPIOMode
-
Indicates that GPIO will be used as input.
- installApplication(String, boolean) - Method in class com.digi.android.firmwareupdate.FirmwareUpdateManager
-
Installs the given application.
- installUpdatePackage(String, IFirmwareUpdateListener, boolean, String) - Method in class com.digi.android.firmwareupdate.FirmwareUpdateManager
-
Installs the given update package.
- INTERACTIVE - com.digi.android.system.cpu.GovernorType
-
- INTERRUPT_EDGE_BOTH - com.digi.android.gpio.GPIOMode
-
Indicates that GPIO will be used as an interrupt on both rising and
falling edges.
- INTERRUPT_EDGE_FALLING - com.digi.android.gpio.GPIOMode
-
Indicates that GPIO will be used as an interrupt on falling edge.
- INTERRUPT_EDGE_RISING - com.digi.android.gpio.GPIOMode
-
Indicates that GPIO will be used as an interrupt on rising edge.
- INTERRUPT_TIMEOUT - Static variable in exception com.digi.android.gpio.GPIOException
-
Timeout while waiting for interrupt event on the GPIO.
- INVALID_GPIO - Static variable in exception com.digi.android.gpio.GPIOException
-
The provided GPIO number is not valid.
- INVALID_PERIOD - Static variable in exception com.digi.android.pwm.PWMException
-
Period is invalid.
- INVERSED - com.digi.android.pwm.PWMPolarity
-
Indicates that the PWM polarity is inversed.
- isAutoConnectEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns whether auto-connect setting is enabled.
- isCD() - Method in class com.digi.android.serial.SerialPort
-
Returns the state of the CD line.
- isCompressionEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns whether messages compression is enabled.
- isConnected() - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Returns the Cloud Connector connection status.
- isConnected() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns whether the Ethernet interface is connected or not.
- isCoreEnabled(int) - Method in class com.digi.android.system.cpu.CPUManager
-
Returns whether the provided core is enabled or disabled.
- isCTS() - Method in class com.digi.android.serial.SerialPort
-
Returns the state of the CTS line.
- isDSR() - Method in class com.digi.android.serial.SerialPort
-
Returns the state of the DSR line.
- isDTR() - Method in class com.digi.android.serial.SerialPort
-
Returns the state of the DTR line.
- isEnabled() - Method in class com.digi.android.ethernet.EthernetManager
-
Returns whether the interface is enabled or not.
- isEnabled() - Method in class com.digi.android.pwm.PWM
-
Retrieves the enable status of this PWM channel.
- ISerialPortEventListener - Interface in com.digi.android.serial
-
This interface defines the required methods that should be implemented to
behave as a serial port event listener and be notified when a serial port
event occurs.
- isErrorMessage() - Method in class com.digi.android.can.CANFrame
-
Retrieves if this is a error message frame.
- isExtended() - Method in class com.digi.android.can.CANId
-
Returns if this CAN identifier is extended.
- isInterfaceOpen() - Method in class com.digi.android.can.CAN
-
Gets the status of the CAN interface.
- isInterfaceOpen() - Method in class com.digi.android.i2c.I2C
-
Retrieves whether interface is open or not.
- isInterfaceOpen() - Method in class com.digi.android.spi.SPI
-
Gets the status of the SPI interface.
- isReading() - Method in class com.digi.android.can.CAN
-
Gets the status of the read process.
- isReceiveThresholdEnabled() - Method in class com.digi.android.serial.SerialPort
-
Checks if receive threshold is enabled.
- isReceiveTimeoutEnabled() - Method in class com.digi.android.serial.SerialPort
-
Checks if receive timeout is enabled.
- isReconnectEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns whether reconnect setting is enabled.
- isRI() - Method in class com.digi.android.serial.SerialPort
-
Returns the state of the RI line.
- isRTR() - Method in class com.digi.android.can.CANFrame
-
Retrieves if this is a remote transmission request (RTR).
- isRTS() - Method in class com.digi.android.serial.SerialPort
-
Returns the state of the RTS line.
- isRunning() - Method in class com.digi.android.watchdog.ApplicationWatchdogManager
-
Returns whether the application watchdog service has been initialized
for the calling application or not.
- isRunning() - Method in class com.digi.android.watchdog.SystemWatchdogManager
-
Returns whether the system watchdog service has been initialized or not.
- isSecureConnectionEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns whether secure connection is enabled.
- isSystemMonitorCPULoadSamplingEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns whether the system monitor CPU load sampling is enabled.
- isSystemMonitorCPUTemperatureSamplingEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns whether the system monitor CPU temperature sampling is enabled.
- isSystemMonitorEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Returns the current state of the system monitor.
- isSystemMonitorEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns the current state of the system monitor.
- isSystemMonitorMemorySamplingEnabled() - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Returns whether the system monitor memory sampling is enabled.
- sampleReceived(ADCSample) - Method in interface com.digi.android.adc.IADCListener
-
Called when an ADC sample is received.
- SCHEDUTIL - com.digi.android.system.cpu.GovernorType
-
- sendBinaryDataPoint(BinaryDataPoint) - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Sends the given BinaryDataPoint
to Device Cloud.
- sendBreak(int) - Method in class com.digi.android.serial.SerialPort
-
Sends a break signal to the serial port with the given duration
(in milliseconds).
- sendDataPoint(DataPoint) - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Sends the given DataPoint
to Device Cloud.
- sendDataPoints(List<DataPoint>) - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Sends the given list of DataPoint
to Device Cloud.
- sendDataPointsError(String) - Method in interface com.digi.android.cloudconnector.ICloudConnectorEventListener
-
Notifies that there was an error sending the data points.
- sendDataPointsSuccess() - Method in interface com.digi.android.cloudconnector.ICloudConnectorEventListener
-
Notifies that the data points have been sent successfully.
- serialEvent(SerialPortEvent) - Method in interface com.digi.android.serial.ISerialPortEventListener
-
Called when a serial event occurs.
- SerialPort - Class in com.digi.android.serial
-
Represents a serial port to communicate with.
- SerialPortEvent - Class in com.digi.android.serial
-
Represents a serial port event.
- SerialPortManager - Class in com.digi.android.serial
-
This class provides access to the serial ports.
- SerialPortManager(Context) - Constructor for class com.digi.android.serial.SerialPortManager
-
Class constructor.
- SerialPortParameters - Class in com.digi.android.serial
-
Helper class used to store serial connection parameters information.
- SerialPortParameters(int, int, int, int, int, int) - Constructor for class com.digi.android.serial.SerialPortParameters
-
Class constructor.
- serialVersionUID - Static variable in exception com.digi.android.gpio.GPIOException
-
- serialVersionUID - Static variable in exception com.digi.android.pwm.PWMException
-
- serialVersionUID - Static variable in exception com.digi.android.system.cpu.exception.CPUException
-
- serialVersionUID - Static variable in exception com.digi.android.system.cpu.exception.CPUTemperatureException
-
- serialVersionUID - Static variable in exception com.digi.android.system.cpu.exception.NoSuchCoreException
-
- serialVersionUID - Static variable in exception com.digi.android.system.cpu.exception.UnsupportedCommandException
-
- setAboveHiSpeedDelay(long) - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Sets the above high speed delay time in uS (10^-6 seconds).
- setAppUpdateDirectory(String) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the directory used to hold applications and updates.
- setAutoConnectEnabled(boolean) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the new value of the auto-connect setting.
- setBaudBase(int) - Method in class com.digi.android.serial.SerialPort
-
Sets the baud base value.
- setBitrate(int) - Method in class com.digi.android.can.CAN
-
Changes the bitrate of this CAN interface.
- setBoostPulseDuration(long) - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Sets the length of time in uS (10^-6 seconds) to hold CPU speed at high
speed frequency on a write boost pulse (@see #CPUManager.boostPulse()),
before allowing speed to drop according to load as usual.
- setCompressionEnabled(boolean) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the new value of the compress messages setting.
- setConfig(SPIConfig) - Method in class com.digi.android.spi.SPI
-
Changes the configuration of the SPI.
- setConnectionMode(EthernetConnectionMode) - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Sets the Ethernet connection mode.
- setCriticalTemperature(float) - Method in class com.digi.android.system.cpu.CPUManager
-
Sets the critical CPU temperature value.
- setCriticalTemperature(float) - Method in class com.digi.android.temperature.CPUTemperatureManager
-
- setCriticalTemperature(float, boolean) - Method in class com.digi.android.system.cpu.CPUManager
-
Sets the critical CPU temperature value.
- setDescription(String) - Method in class com.digi.android.cloudconnector.DataPoint
-
Sets the data point description.
- setDeviceContactInformation(String) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the device contact information preference.
- setDeviceDescription(String) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the device description preference.
- setDeviceName(String) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the device name preference.
- setDivisor(int) - Method in class com.digi.android.serial.SerialPort
-
Sets the divisor value.
- setDns1Addr(InetAddress) - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Sets the DNS 1 address.
- setDns2Addr(InetAddress) - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Sets the DNS 2 address.
- setDownRateLimit(long) - Method in class com.digi.android.system.cpu.GovernorSchedUtil
-
Sets the amount of microseconds Schedutil must wait before decreasing
the frequency.
- setDownThreshold(int) - Method in class com.digi.android.system.cpu.GovernorConservative
-
Sets the down threshold percentage.
- setDTR(boolean) - Method in class com.digi.android.serial.SerialPort
-
Sets the state of the DTR.
- setDutyCycle(double) - Method in class com.digi.android.pwm.PWM
-
- setDutyCyclePercentage(int) - Method in class com.digi.android.pwm.PWM
-
Sets the duty cycle percentage of the PWM signal.
- setDutyCycleRaw(long) - Method in class com.digi.android.pwm.PWM
-
Sets the duty cycle of the PWM signal in nanoseconds.
- setEnabled(boolean) - Method in class com.digi.android.ethernet.EthernetManager
-
Enables or disables the interface.
- setEnabled(boolean) - Method in class com.digi.android.pwm.PWM
-
Changes the enable status of this PWM channel.
- setEndOfInputChar(byte) - Method in class com.digi.android.serial.SerialPort
-
Sets the end of input character.
- setForwardTo(String[]) - Method in class com.digi.android.cloudconnector.DataStream
-
Sets the list of stream to replicate data points to.
- setFreqStep(int) - Method in class com.digi.android.system.cpu.GovernorConservative
-
Sets the frequency step percentage.
- setFrequency(int) - Method in class com.digi.android.system.cpu.CPUManager
-
Configures the CPU with a custom frequency (in kHz).
- setFrequency(long) - Method in class com.digi.android.pwm.PWM
-
Sets the frequency of the PWM signal in Hz.
- setGateway(InetAddress) - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Sets the gateway address.
- setGoHiSpeedLoad(int) - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Sets the CPU load percentage at which to ramp to the intermediate 'High
speed'.
- setGovernorType(GovernorType) - Method in class com.digi.android.system.cpu.CPUManager
-
Configures the CPU with the provided governor type.
- setHiSpeedFreq(int) - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Sets the high speed frequency value at which to initially ramp when CPU
load hits the high speed load value.
- setHotTemperature(float) - Method in class com.digi.android.system.cpu.CPUManager
-
Sets the hot CPU temperature value.
- setHotTemperature(float) - Method in class com.digi.android.temperature.CPUTemperatureManager
-
- setHotTemperature(float, boolean) - Method in class com.digi.android.system.cpu.CPUManager
-
Sets the hot CPU temperature value.
- setInputBufferSize(int) - Method in class com.digi.android.serial.SerialPort
-
Sets the input buffer size.
- setInterfaceName(String) - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Sets the interface name.
- setIpAddress(InetAddress) - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Sets the IP address.
- setLocation(Location) - Method in class com.digi.android.cloudconnector.DataPoint
-
Sets the data point location.
- setMaxScalingFrequency(int) - Method in class com.digi.android.system.cpu.CPUManager
-
Sets the maximum frequency (in kHz) the device may scale the CPU to.
- setMinMultiplier(int) - Method in class com.digi.android.system.gpu.GPUManager
-
Configures the GPU multiplier that will be set when the module's
temperature reaches the hot trip point.
- setMinSampleTime(long) - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Sets the minimum sample time in uS (10^-6 seconds).
- setMinScalingFrequency(int) - Method in class com.digi.android.system.cpu.CPUManager
-
Sets the minimum frequency (in kHz) the device may scale the CPU to.
- setMode(GPIOMode) - Method in class com.digi.android.gpio.GPIO
-
Sets the GPIO working mode.
- setMultiplier(int) - Method in class com.digi.android.system.gpu.GPUManager
-
Configures the new GPU multiplier.
- setNetMask(InetAddress) - Method in class com.digi.android.ethernet.EthernetConfiguration
-
Sets the net mask address.
- setOutputBufferSize(int) - Method in class com.digi.android.serial.SerialPort
-
Sets the output buffer size.
- setParityErrorChar(byte) - Method in class com.digi.android.serial.SerialPort
-
Sets the parity error character.
- setPeriod(long) - Method in class com.digi.android.pwm.PWM
-
Sets the period of the PWM signal in nanoseconds.
- setPolarity(PWMPolarity) - Method in class com.digi.android.pwm.PWM
-
Sets the polarity of the PWM signal.
- setPollingRate(int) - Method in class com.digi.android.gpio.GPIO
-
Configures the polling rate time for this GPIO.
- setPortParameters(int, int, int, int, int) - Method in class com.digi.android.serial.SerialPort
-
Sets the new parameters of the serial port.
- setQuality(int) - Method in class com.digi.android.cloudconnector.DataPoint
-
Sets the data point quality.
- setReconnectEnabled(boolean) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the new value of the reconnect setting.
- setReconnectTime(int) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the new value for the reconnect time setting in seconds.
- setRTS(boolean) - Method in class com.digi.android.serial.SerialPort
-
Sets the state of the RTS line.
- setSamplingDownFactor(int) - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Sets the sampling down factor.
- setSamplingDownFactor(int) - Method in class com.digi.android.system.cpu.GovernorConservative
-
Sets the sampling down factor.
- setSamplingDownFactor(int) - Method in class com.digi.android.system.cpu.GovernorOnDemand
-
Sets the sampling down factor.
- setSamplingRate(long) - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Sets the sampling rate in uS.
- setSecureConnectionEnabled(boolean) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the new value for the use secure connection setting.
- setSystemMonitorSampleRate(int) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the system monitor sample rate.
- setSystemMonitorSamplesBufferSize(int) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the system monitor samples buffer size.
- setSystemMonitorUploadSamplesSize(int) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the system monitor number of samples to store for each channel
before uploading to Device Cloud.
- setTimerRate(long) - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Sets the sample rate in uS (10^-6 seconds) for reevaluating CPU load
when the system is not idle.
- setTimerSlack(long) - Method in class com.digi.android.system.cpu.GovernorInteractive
-
Sets the maximum additional time in uS (10^-6 seconds) to defer handling
the governor sampling timer beyond 'Timer rate' when running at speeds
above the minimum.
- SETTING_FILE_NOT_FOUND - Static variable in exception com.digi.android.system.cpu.exception.CPUException
-
Setting file could not be found.
- setUnits(String) - Method in class com.digi.android.cloudconnector.DataStream
-
Sets the data stream units.
- setUpRateLimit(long) - Method in class com.digi.android.system.cpu.GovernorSchedUtil
-
Sets the amount of microseconds Schedutil must wait before increasing
the frequency.
- setUpThreshold(int) - Method in class com.digi.android.system.cpu.GovernorCommonBase
-
Sets the up threshold percentage.
- setUpThreshold(int) - Method in class com.digi.android.system.cpu.GovernorConservative
-
Sets the up threshold percentage.
- setUpThreshold(int) - Method in class com.digi.android.system.cpu.GovernorOnDemand
-
Sets the up threshold percentage.
- setURL(String) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the Cloud Connector URL preference.
- setValue(GPIOValue) - Method in class com.digi.android.gpio.GPIO
-
Sets the GPIO value.
- setVendorID(String) - Method in class com.digi.android.cloudconnector.CloudConnectorManager
-
Sets the Cloud Connector Vendor ID setting.
- setVendorID(String) - Method in class com.digi.android.cloudconnector.CloudConnectorPreferencesManager
-
Sets the Cloud Connector Vendor ID setting.
- SPI - Class in com.digi.android.spi
-
This class allows the user to manage SPI devices.
- SPIBitOrder - Enum in com.digi.android.spi
-
Enumerates the possible message bit orders of an SPI
interface.
- SPIChipSelect - Enum in com.digi.android.spi
-
Enumerates the possible chip select configurations of an SPI
interface.
- SPIClockMode - Enum in com.digi.android.spi
-
Enumerates the possible clock modes of an SPI
interface.
- SPIConfig - Class in com.digi.android.spi
-
The SPIConfig
class encapsulates the configuration parameters of an
SPI
device.
- SPIConfig(SPIClockMode, int, int) - Constructor for class com.digi.android.spi.SPIConfig
-
Creates a new SPIConfig
with the specified configuration.
- SPIConfig(SPIClockMode, SPIChipSelect, SPIBitOrder, int, int) - Constructor for class com.digi.android.spi.SPIConfig
-
Creates a new SPIConfig
with the specified configuration.
- SPIManager - Class in com.digi.android.spi
-
This class provides access to the SPI devices.
- SPIManager(Context) - Constructor for class com.digi.android.spi.SPIManager
-
Class constructor.
- startRead(List<CANFilter>) - Method in class com.digi.android.can.CAN
-
Starts the reception procedure of CAN messages according to the specified
IDs and masks.
- startSampling(int) - Method in class com.digi.android.adc.ADC
-
Starts reading samples with the specified sampling rate.
- STATIC - com.digi.android.ethernet.EthernetConnectionMode
-
Indicates that the connection mode is static.
- stop() - Method in class com.digi.android.watchdog.ApplicationWatchdogManager
-
Stops the application watchdog service for the calling application.
- stopBits - Variable in class com.digi.android.serial.SerialPortParameters
-
- STOPBITS_1 - Static variable in class com.digi.android.serial.SerialPort
-
1 stop bit: .
- STOPBITS_1_5 - Static variable in class com.digi.android.serial.SerialPort
-
1.5 stop bits: .
- STOPBITS_2 - Static variable in class com.digi.android.serial.SerialPort
-
2 stop bits: .
- stopRead() - Method in class com.digi.android.can.CAN
-
Stops the reception procedure of CAN messages.
- stopSampling() - Method in class com.digi.android.adc.ADC
-
Stops the sampling process.
- stream - Variable in class com.digi.android.cloudconnector.DataPoint
-
- SystemWatchdogManager - Class in com.digi.android.watchdog
-
This class provides access to the system watchdog service.
- SystemWatchdogManager(Context) - Constructor for class com.digi.android.watchdog.SystemWatchdogManager
-
Class constructor.