MemoryStatistics

data class MemoryStatistics(val nvStorageStatus: MemoryStatistics.NvStorageStatus, val collectingTimestamp: Long?, val capacityInBytes: Int, val usedSpaceInBytes: Int, val invalidPacketsSizeInBytes: Int, val corruptedPacketsSizeInBytes: Int, val validPacketsNumber: Int, val invalidPacketsNumber: Int, val corruptedPacketsNumber: Int, val samplesNumber: Map<Channel, Int>, val firstBinaryMeasurementTimestamp: Long?, val lastBinaryMeasurementTimestamp: Long?, val lastSentBinaryMeasurementTimestamp: Long?, val firstContinuousMeasurementTimestamp: Long?, val lastContinuousMeasurementTimestamp: Long?, val lastSentContinuousMeasurementTimestamp: Long?, val nvmWriteCounter: Int?)

This data class holds information about the sensor device's memory statistics.

Constructors

Link copied to clipboard
constructor(nvStorageStatus: MemoryStatistics.NvStorageStatus, collectingTimestamp: Long?, capacityInBytes: Int, usedSpaceInBytes: Int, invalidPacketsSizeInBytes: Int, corruptedPacketsSizeInBytes: Int, validPacketsNumber: Int, invalidPacketsNumber: Int, corruptedPacketsNumber: Int, samplesNumber: Map<Channel, Int>, firstBinaryMeasurementTimestamp: Long?, lastBinaryMeasurementTimestamp: Long?, lastSentBinaryMeasurementTimestamp: Long?, firstContinuousMeasurementTimestamp: Long?, lastContinuousMeasurementTimestamp: Long?, lastSentContinuousMeasurementTimestamp: Long?, nvmWriteCounter: Int?)

Types

Link copied to clipboard

Represents non-violate memory storage status

Properties

Link copied to clipboard

The capacity of the memory in bytes.

Link copied to clipboard

The timestamp of the end of collecting statistics (epoch) or null if not available.

Link copied to clipboard

The number of corrupt packets.

Link copied to clipboard

The size of corrupt packets in bytes.

Link copied to clipboard

The timestamp of the first binary measurement (epoch) or null if not available.

Link copied to clipboard

The timestamp of the first continuous measurement (epoch) or null if not available.

Link copied to clipboard

The number of invalid (outdated) packets.

Link copied to clipboard

The size of invalid packets in bytes.

Link copied to clipboard

The timestamp of the last binary measurement (epoch) or null if not available.

Link copied to clipboard

The timestamp of the last continuous measurement (epoch) or null if not available.

Link copied to clipboard

The timestamp of the last sent binary measurement (epoch) or null if not available.

Link copied to clipboard

The timestamp of the last sent continuous measurement (epoch) or null if not available.

Link copied to clipboard

Get percentage of sensor memory used

Link copied to clipboard

The NVM write counter or null if not available.

Link copied to clipboard

The status of the non-volatile storage.

Link copied to clipboard

A map of sample number for each Channel (valid packets).

Link copied to clipboard

The used space in bytes.

Link copied to clipboard

The number of valid packets.