Package-level declarations

Types

Link copied to clipboard

Represents action that can be instructed to peripheral

Link copied to clipboard

Represents BLE Connection State

Link copied to clipboard
sealed class BleError

Error Handler related to BLE Connection

Link copied to clipboard

Represents signal strength based on The Received Signal Strength Indicator (RSSI)

Link copied to clipboard
sealed class CtgError

Error Handler related to CTG Terminal

Link copied to clipboard
sealed class GattError

Gatt Error. Called when BluetoothGatt onConnectionStateChange return other than GATT_SUCCESS.

Link copied to clipboard
data class GetVehicleStats(val odometer: Int?, val engineHours: Int?, val engineRPM: Int?, val fuelLevel: Int?, val hazardsIsOn: Boolean?, val indicators: String?, val brakesIsActive: Boolean?, val handBrakeIsActive: Boolean?, val lightsIsOn: Boolean?, val reverseGearIsActive: Boolean?, val driverDoorIsOpen: Boolean?, val passengerDoorIsOpen: Boolean?, val driverSeatbeltIsEngage: Boolean?, val passengerSeatbeltIsEngage: Boolean?, val hornIsActive: Boolean?)

Model for vehicle stats

Link copied to clipboard
data class GetVehicleStatus(val ignitionState: Boolean?)

Model for vehicle stats

Link copied to clipboard

Represents vehicle door LOCK/UNLOCK current state