Class CellRssData

java.lang.Object
se.hendeby.sensordata.SensorData
se.hendeby.sensordata.CellRssData

public class CellRssData extends SensorData
Radio data class.
  • Constructor Details

    • CellRssData

      public CellRssData(long time, int networkType, String networkFamily, String operator, int ci, int pci, int rss)
      Constructor.
      Parameters:
      time - Timestamp [ms].
      networkType - Type of the network
      networkFamily - Family of the network
      operator - Operator string
      ci - CI value
      pci - PCI value
      rss - Received signal strength (RSS)
  • Method Details

    • getNetworkType

      public int getNetworkType()
    • getNetworkFamily

      public String getNetworkFamily()
    • getOperator

      public String getOperator()
    • getCI

      public int getCI()
    • getPCI

      public int getPCI()
    • getRSS

      public int getRSS()
    • serialize

      public byte[] serialize()
      Description copied from class: SensorData
      Serialize the measurement for streaming or saving to file.
      Overrides:
      serialize in class SensorData
      Returns:
      The serialized measurement in a byte array.
    • deserialize

      public static CellRssData deserialize(String[] strs)