DeviceMessageFrame Class

After a message is parsed, the contents are stored in this class.

Definition

Namespace: MobileTrack.Receiver.Models
Assembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.8+f6fd7a919db8417bc1e7bfd9b2ff9ab9586e296a
internal sealed class DeviceMessageFrame
Inheritance
Object    DeviceMessageFrame

Remarks

All properties are nullable since this frame only captures what the device is explicitly reporting; the blanks will be filled in when we convert the information to a DeviceMessageDto. Only EventCode is mandatory.

Constructors

DeviceMessageFrameInitializes a new instance of the DeviceMessageFrame class

Properties

AlternativeConnectionString Alternative connection string to use for the device, if MacAddress or Imei are not used by the device.
BatteryLevel The battery level of the device.
DeviceTemperature The temperature of the device (in celcius).
EventCode Event code sent by the device.
GpsDataValid If the device believes the transmitted GPS coordinates are likely valid.
GpsFixWithHeading GPS Fix with heading (if any)
GpsTurnedOn Whether GPS is turned on, as reported by the device.
GsmSignalStrength GSM signal strength (0-31)
Hdop The Horizontal Dilution of Precision (HDOP) value.
Imei Found IMEI number derived from the message (if any was found)
InstructionParameter Parameter of the instruction send by the device.
IsCharging if the device is charging its battery.
IsConnectedToPowerOutlet If the device is connected to a power outlet.
MacAddress Found MAC address derived from the message (if any was found)
PedometerStepCount Amount of steps registered by the pedometer.
SatelliteCount The number of satellites the device believes it can see.
SessionString The session string of the device. Use Azure Redis Cache as a lookup for which Id it is.
SubFrames Included if the message contains sub-commands.
WifiData Information about the Wi-Fi networks the device can see.

See Also