Package com.blukii.sdk.config
Class BlukiiData
java.lang.Object
com.blukii.sdk.config.BlukiiData
This class represents the data sets of a blukii.
You can get an object of BlukiiData
from a Blukii
object via
Blukii.getBlukiiData()
.
Via a BlukiiData
object you have access to all configuration values from your device
and from blukii cloud. Please mind, that these objects are only filled with data, when you read
it from device or fetched it from cloud.
-
Method Summary
Modifier and TypeMethodDescriptionGets available firmware version for firmware updateGets SmartBeacon Data Item for Device Tracing Rssi ThresholdGets SmartBeacon Data Item for Device Tracing Scan DurationGets SmartBeacon Data Item for Device Tracing Scan IntervalGets SmartBeacon Data Item for Device Tracing Scan PeriodGets SmartBeacon Data Item for Device Tracing Scan WindowGets Blukii Data Item for EddystoneLockState.Gets Blukii Data Item for EddystoneTxPowerLevels.Gets Blukii Data Item for EddystoneTxPowerMode.Gets Blukii Data Item for EddystoneUID.Gets Blukii Data Item for EddystoneUrl.Gets Blukii Data Item for EventBeacon.Gets Blukii Data Item for IBeacon.Gets Blukii Data Item for SmartBeaconSecureMode.Gets SmartBeacon Data Item for Accelerometer Range.Gets SmartBeacon Data Item for Sensor Interrupt SettingsGets SmartBeacon Data Item for Sensor Intervals.Gets SmartBeacon Data Item for Sensor Limited Recording SettingsGets SmartBeacon Data Item for Sensor Measure State.Gets SmartBeacon Data Item for Sensor Value Notifications.Gets SmartBeacon Data Item for Sensor Mode.Gets SmartBeacon Data Item for Sensor Transfer Command.Gets SmartBeacon Data Item for Sensor Transfer Packet Notifications.Gets Blukii Data Item for SmartBeaconFrames.Gets Blukii Data Item for SmartBeaconSettings.Gets BlukiiDataItem for AdvertisingChannels.Gets BlukiiDataItem for AdvertisingUpdateDelay.Gets BlukiiDataItem for Battery Type.Gets BlukiiDataItem for ConnectionParameterDelay.Gets BlukiiDataItem for CurrentConnectionParameter.Gets BlukiiDataItem for DelayedAdvertisingInterval.Gets BlukiiDataItem for DelayedConnectionParameter.Gets BlukiiDataItem for Delayed Disconnect.Gets Blukii Data Item for Energy Save.Gets Blukii Data Item for FirmwareGets BlukiiDataItem for InitialAdvertisingInterval.Gets BlukiiDataItem for LimitedAdvertising.Gets BlukiiDataItem for the connection rssi value.Gets BlukiiDataItem for RTC.Gets BlukiiDataItem for Secure Connect.Gets BlukiiDataItem for StateCounter.Gets Blukii Data Item for Temperature.Gets BlukiiDataItem for TxPower.Gets blukii description.Checks the current firmware version statusgetId()
Gets blukii id.Gets Blukii Data Item for KeyButton.Gets Blukii Data Item for KeyMode.long
Gets timestamp of last modification.Gets blukii order code.Gets Blukii Data Item for Repeater Settings.Checks if cloud item is available.boolean
Checks if blukii exists in cloud but misses blukii config data.boolean
Checks if device is up to date.boolean
Checks if data is modified.void
Resets modified flag.
-
Method Details
-
isDeviceUpToDate
public boolean isDeviceUpToDate()Checks if device is up to date.- Returns:
true
if device is up to date, otherwisefalse
-
getAvailableFirmware
Gets available firmware version for firmware update- Returns:
- available firmware version or null if it can not be determined if there is an available firmware version
- See Also:
-
getFirmwareVersionStatus
Checks the current firmware version status- Returns:
FirmwareVersionStatus
- See Also:
-
getSyncState
Checks if cloud item is available.- Returns:
true
if cloud item is avaliable, otherwisefalse
-
isCloudDataMissing
public boolean isCloudDataMissing()Checks if blukii exists in cloud but misses blukii config data.- Returns:
true
if cloud item exists but data is missing, otherwisefalse
-
isModified
public boolean isModified()Checks if data is modified.- Returns:
true
if data is modified, otherwisefalse
-
resetModified
public void resetModified()Resets modified flag. -
getLastModified
public long getLastModified()Gets timestamp of last modification.- Returns:
- timestamp of last modification
-
getId
Gets blukii id.- Returns:
- id
-
getDescription
Gets blukii description.- Returns:
- description
-
getOrderCode
Gets blukii order code.- Returns:
- description
-
getBlukiiRssi
Gets BlukiiDataItem for the connection rssi value.- Returns:
- BlukiiDataItem for rssi.
- See Also:
-
getBlukiiSecureConnect
Gets BlukiiDataItem for Secure Connect.- Returns:
- BlukiiDataItem for Secure Connect.
- See Also:
-
getBlukiiDelayedDisconnect
Gets BlukiiDataItem for Delayed Disconnect.- Returns:
- BlukiiDataItem for Delayed Disconnect
- See Also:
-
getBlukiiCurrentConnectionParameter
Gets BlukiiDataItem for CurrentConnectionParameter.Note: This item is only filled by read request! Write request has another value type.
- Returns:
- BlukiiDataItem for CurrentConnectionParameter
- See Also:
-
getBlukiiConnectionParameterDelay
Gets BlukiiDataItem for ConnectionParameterDelay.- Returns:
- BlukiiDataItem for ConnectionParameterDelay
- See Also:
-
getBlukiiDelayedConnectionParameter
Gets BlukiiDataItem for DelayedConnectionParameter.- Returns:
- BlukiiDataItem for DelayedConnectionParameter
- See Also:
-
getBlukiiAdvertisingChannels
Gets BlukiiDataItem for AdvertisingChannels.- Returns:
- BlukiiDataItem for AdvertisingChannels
- See Also:
-
getBlukiiInitialAdvertisingInterval
Gets BlukiiDataItem for InitialAdvertisingInterval.- Returns:
- BlukiiDataItem for InitialAdvertisingInterval
- See Also:
-
getBlukiiDelayedAdvertisingInterval
Gets BlukiiDataItem for DelayedAdvertisingInterval.- Returns:
- BlukiiDataItem for DelayedAdvertisingInterval
- See Also:
-
getBlukiiAdvertisingUpdateDelay
Gets BlukiiDataItem for AdvertisingUpdateDelay.- Returns:
- BlukiiDataItem for AdvertisingUpdateDelay
- See Also:
-
getBlukiiLimitedAdvertising
Gets BlukiiDataItem for LimitedAdvertising.- Returns:
- BlukiiDataItem for LimitedAdvertising
- See Also:
-
getBlukiiTxPower
Gets BlukiiDataItem for TxPower.- Returns:
- BlukiiDataItem for TxPower
- See Also:
-
getBlukiiRTC
Gets BlukiiDataItem for RTC.- Returns:
- BlukiiDataItem for RTC
- See Also:
-
getBlukiiStateCounter
Gets BlukiiDataItem for StateCounter.- Returns:
- Blukii DataItem for StateCounter
- See Also:
-
getBlukiiBatteryType
Gets BlukiiDataItem for Battery Type.- Returns:
- BlukiiDataItem for Battery Type
- See Also:
-
getBlukiiEnergySave
Gets Blukii Data Item for Energy Save.- Returns:
- Blukii Data Item for Energy Save
- See Also:
-
getBlukiiTemperature
Gets Blukii Data Item for Temperature.- Returns:
- Blukii Data Item for Temperature
- See Also:
-
getBeaconSmartBeaconFrames
Gets Blukii Data Item for SmartBeaconFrames.Note: valid for Firmware versions: 006.xxx
- Returns:
- Blukii Data Item for SmartBeaconFrames
- See Also:
-
getBeaconSmartBeaconSettings
Gets Blukii Data Item for SmartBeaconSettings.Note: valid for Firmware versions: 002.xxx and 003.xxx
- Returns:
- Blukii Data Item for SmartBeaconSettings
- See Also:
-
getBeaconSecureMode
Gets Blukii Data Item for SmartBeaconSecureMode.- Returns:
- Blukii Data Item for SmartBeaconSecureMode
- See Also:
-
getBeaconEddystoneTxPowerLevels
Gets Blukii Data Item for EddystoneTxPowerLevels.- Returns:
- Blukii Data Item for EddystoneTxPowerLevels
- See Also:
-
getBeaconEddystoneTxPowerMode
Gets Blukii Data Item for EddystoneTxPowerMode.- Returns:
- Blukii Data Item for EddystoneTxPowerMode
- See Also:
-
getBeaconEddystoneUID
Gets Blukii Data Item for EddystoneUID.- Returns:
- Blukii Data Item for EddystoneUID
- See Also:
-
getBeaconEddystoneUrl
Gets Blukii Data Item for EddystoneUrl.- Returns:
- Blukii Data Item for EddystoneUrl
- See Also:
-
getBeaconEddystoneLockState
Gets Blukii Data Item for EddystoneLockState.- Returns:
- Blukii Data Item for EddystoneLockState
- See Also:
-
getBeaconIBeacon
Gets Blukii Data Item for IBeacon.- Returns:
- Blukii Data Item for IBeacon
- See Also:
-
getRepeaterSettings
Gets Blukii Data Item for Repeater Settings.- Returns:
- Blukii Data Item for Repeater Settings
- See Also:
-
getBeaconEventBeacon
Gets Blukii Data Item for EventBeacon.- Returns:
- Blukii Data Item for EventBeacon
- See Also:
-
getBeaconSensorMeasureState
Gets SmartBeacon Data Item for Sensor Measure State.- Returns:
- SmartBeacon Data Item for Sensor Measure State
- See Also:
-
getBeaconSensorMeasureValue
Gets SmartBeacon Data Item for Sensor Value Notifications.- Returns:
- SmartBeacon Data Item for Sensor Value
- See Also:
-
getBeaconSensorMode
Gets SmartBeacon Data Item for Sensor Mode.- Returns:
- SmartBeacon Data Item for Sensor Mode
- See Also:
-
getBeaconSensorIntervals
Gets SmartBeacon Data Item for Sensor Intervals.- Returns:
- SmartBeacon Data Item for Sensor Intervals
- See Also:
-
getBeaconSensorTransferCommand
Gets SmartBeacon Data Item for Sensor Transfer Command.- Returns:
- SmartBeacon Data Item for Sensor Transfer Command
- See Also:
-
getBeaconSensorTransferValue
Gets SmartBeacon Data Item for Sensor Transfer Packet Notifications.- Returns:
- SmartBeacon Data Item for Sensor Transfer Packet
- See Also:
-
getBeaconSensorAcceleratorRange
Gets SmartBeacon Data Item for Accelerometer Range.- Returns:
- SmartBeacon Data Item for Accelerometer Range
- See Also:
-
getBeaconSensorInterrupt
Gets SmartBeacon Data Item for Sensor Interrupt Settings- Returns:
- SmartBeacon Data Item for Sensor Interrupt Settings
- See Also:
-
getBeaconSensorLimitedRecording
Gets SmartBeacon Data Item for Sensor Limited Recording Settings- Returns:
- SmartBeacon Data Item for Sensor Limited Recording Settings
- See Also:
-
getBeaconDeviceTracingScanPeriod
Gets SmartBeacon Data Item for Device Tracing Scan Period- Returns:
- SmartBeacon Data Item for Device Tracing Scan Period
- See Also:
-
getBeaconDeviceTracingScanDuration
Gets SmartBeacon Data Item for Device Tracing Scan Duration- Returns:
- SmartBeacon Data Item for Device Tracing Scan Duration
- See Also:
-
getBeaconDeviceTracingScanInterval
Gets SmartBeacon Data Item for Device Tracing Scan Interval- Returns:
- SmartBeacon Data Item for Device Tracing Scan Interval
- See Also:
-
getBeaconDeviceTracingScanWindow
Gets SmartBeacon Data Item for Device Tracing Scan Window- Returns:
- SmartBeacon Data Item for Device Tracing Scan Window
- See Also:
-
getBeaconDeviceTracingRssiThreshold
Gets SmartBeacon Data Item for Device Tracing Rssi Threshold- Returns:
- SmartBeacon Data Item for Device Tracing Rssi Threshold
- See Also:
-
getKeyMode
Gets Blukii Data Item for KeyMode. -
getKeyButton
Gets Blukii Data Item for KeyButton.- Returns:
- Blukii Data Item for KeyButton
- See Also:
-
getBlukiiFirmware
Gets Blukii Data Item for Firmware- Returns:
- Blukii Data Item for Firmware
-