public class DeviceProperties
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceProperties.BTProtocol
Enum to provide the type of last connected BT device.
|
class |
DeviceProperties.FrequentBTList_Item |
static class |
DeviceProperties.SMUFS_BATERRYSTATES
Enum to provide the battery status values.
|
static class |
DeviceProperties.SMUFS_PWRSOURCES
Enum to provide the device power sources.
|
| Modifier and Type | Field and Description |
|---|---|
int |
AbsoluteRemainingChargeValue
This integer property returns the absolute charge value remaining in battery.
|
int |
AutoConnectBackAttemptCount
This integer property holds the number of connection attempts that Smuf’s device will try to connect back before switching to discoverable mode.
|
boolean |
AutoConnectBackFeature
This Boolean property returns whether Auto connect back feature is switched on or not.
|
int |
AutoConnectBackFrequency
This integer property has the time duration device waits while in auto connect mode before attempting the next auto connect.
|
int |
BatteryCutOff_Percentage
This integer property is battery threshold in percentage at which device should auto shutdown to protect the battery reaching drained state.
|
DeviceProperties.SMUFS_BATERRYSTATES |
batteryState
This property returns the current state of the battery.
|
byte |
BootloaderVersion0
This byte property returns the Device Boot loader major firmware version.
|
byte |
BootloaderVersion1
This byte property returns the Device Boot loader minor firmware version.
|
int |
CompletedChargeCycles |
DeviceProperties.BTProtocol |
connectbackDeviceType
This property returns the type of the last successfully connected Bluetooth device.
|
boolean |
ConnectionPasswordEnabled
This Boolean property returns the current state of Device access password.
|
int |
Current
This integer property returns the battery current.
|
java.lang.String |
Current_ConnectBack_MAC_Address
This string property returns the mac address of the last successfully connected Bluetooth device.
|
int |
DeviceConnectedTimeout
This integer property is auto shutdown connected timeout in seconds for the device, when the device is in Bluetooth connected mode and there is no communication on the connected channel for this given timeout period it will auto shutdown itself only if running on battery.
|
int |
DeviceIdleTimeOutSec
This integer property is auto shutdown idle timeout in seconds for the device, when the device is in Bluetooth discoverable mode and it’s idle for this given timeout period then it will auto shutdown itself only if running on battery.
|
int |
devicePID
This integer property returns USB device Product ID.
|
int |
deviceReleaseNumber
This integer property returns the device Release Number.
|
byte |
DeviceVersion0
This byte property returns the Device major firmware version.
|
byte |
DeviceVersion1
This byte property returns the Device minor firmware version.
|
int |
deviceVID
This integer property returns USB device Vendor ID.
|
int |
IncompleteChargeCycles |
boolean |
IsCharging
This Boolean property returns true if battery is charging otherwise false.
|
boolean |
isSensorPowered
This property returns the current status of the finger print sensor.
|
boolean |
MAC_AccessControlEnabled |
java.lang.String |
MAC_Address
This string property returns the device Bluetooth MAC address.
|
java.lang.String |
manufacturerString
This string property returns the Manufacturer String.
|
DeviceProperties.SMUFS_PWRSOURCES |
powerSource
This property returns the current power source of the device.
|
byte |
ProductID
This byte property returns the Product Id of the device.
|
java.lang.String |
ProductSerialNumber
This string property returns the unique serial number of the device.
|
int |
RemTime |
float |
stateOfCharge
This float property returns the current battery level percentage.
|
float |
Temperature
This float property returns the temperature on the battery terminals in Celsius.
|
java.lang.String |
usbSerialNumber
This string property returns the USB serial number.
|
int |
Voltage
This integer property returns the current battery voltage level in millivolts.
|
public int AbsoluteRemainingChargeValue
public int AutoConnectBackAttemptCount
public boolean AutoConnectBackFeature
public int AutoConnectBackFrequency
public int BatteryCutOff_Percentage
public DeviceProperties.SMUFS_BATERRYSTATES batteryState
public byte BootloaderVersion0
public byte BootloaderVersion1
public int CompletedChargeCycles
public DeviceProperties.BTProtocol connectbackDeviceType
public boolean ConnectionPasswordEnabled
public int Current
public java.lang.String Current_ConnectBack_MAC_Address
public int DeviceConnectedTimeout
public int DeviceIdleTimeOutSec
public int devicePID
public int deviceReleaseNumber
public byte DeviceVersion0
public byte DeviceVersion1
public int deviceVID
public int IncompleteChargeCycles
public boolean IsCharging
public boolean isSensorPowered
public boolean MAC_AccessControlEnabled
public java.lang.String MAC_Address
public java.lang.String manufacturerString
public DeviceProperties.SMUFS_PWRSOURCES powerSource
public byte ProductID
public java.lang.String ProductSerialNumber
public int RemTime
public float stateOfCharge
public float Temperature
public java.lang.String usbSerialNumber
public int Voltage