package llc.arma.ble.domain.model

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

@Parcelize
data class BleInfo(
    val name: String,
    val serial: String,
    val batteryLevel: Int,
    val rssi: Int?,
    val type: Type,
    val scanTime: Long,
    val tx: Int,
    val tableStatus: HistoryTableStatus
) : Parcelable {

    enum class HistoryTableStatus {
        DISABLED, EMPTY, NOT_EMPTY
    }

    enum class Type {
        HOST, BEACON, THERMOMETER, ACCELEROMETER
    }

}