DeviceCommandType Class

Represents a command the Device Receiver can send to a DeviceDto.

Definition

Namespace: MobileTrack.Common.Enums
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class DeviceCommandType : AbstractValueMap<DeviceCommandType>
Inheritance
Object    AbstractValueMapDeviceCommandType    DeviceCommandType

Remarks

The parameters to be added to the command are based on the protocol the device in question uses;
This means we won't include them here; DeviceCommandType is only a "command type" enum.

It also has to be taken into consideration that not all devices will support all of these features;
This goes beyond simply "not just GPS functions". Before a command is called we need to be sure the device supports it.
Therefore, each value has a listing which protocols support it.

Fields

DeleteAuthorizedNumber Removes a phone number that the device is allowed to receive commands from.
DeleteGprsEndpoint Removes a GPRS endpoint the device should send its data to. (Domain, name, port)
DeleteReceiver Removes an endpoint it needs to call to. (Can include ANP, IP, Port, etc.)
GetDeviceSettings Retrieve the settings of the device.
GetDeviceVersion Retrieve the IMEI and/or Hardware and software version of the device.
GetGeoLocation Get the current GeoLocation of the device.
RebootDevice Reboots the device (restart while retaining the current configuration of the device).
ResetDevice Reset the device to its factory settings.
SetAllowTurnOnGps Set whether the device is allowed to turn on GPS
SetAuthorizedNumber Sets a phone number that the device is allowed to receive commands from.
SetAuthorizedOnly Set whether only authorized numbers are allowed to send commands to the device.
SetBatteryAlarm Set the threshold for the Battery alarm if the parameters are met.
SetBatteryFullChargeAlarm Set the threshold for the Battery Full Charge alarm if the parameters are met.
SetCallAutomaticAnswer Set whether if an (authorized) incoming call to the device should be automatically answered, which may be critical if it is believed the person may not be able to respond.
SetCallMode Set the call mode of the device (two-way, listen-in mode, etc.)
SetCallVolume Set the volume of the call the device should make.
SetCollisionAlarm Set the threshold for the Collision alarm if the parameters are met.
SetContinuousTracking Set the interval in which the device should send its GeoLocation
SetDeviceName Set the name of the device.
SetDevicePassword Change the password one must use to send commands to the device.
SetDisplayOrientation Set the orientation (horizontal, vertical, automatic rotation) of the display.
SetFallDownAlarm Set the threshold for the Fall-Down Alarm.
SetGeofenceAlarm Set the device to activate a Geofence alarm if the parameters are met.
SetGprsEndPoint Set the GPRS endpoint the device should send its data to. (Domain, name, port)
SetGprsUpdateSettings Sets the GPRS update settings of the device, e.g. whether to update if no movement is detected, of the interval in which the device should send its data.
SetGpsUpdateSettings Sets the GPS update settings (when to update its GeoLocation), depending on the options the device type offers; this can be based on time, distance, or continuous tracking.
SetHeartbeatInterval Set the interval in which the device should send a status update to the receiver.
SetLocalTimeZone Set the local time zone of the device.
SetLogging Set how the device should handle logging.
SetOverSpeedAlarm Set the threshold for the over-speed alarm (if Speed exceeds a certain value).
SetReceiver Set the receiver (ANP, Address, Port, etc.) the device should call to.
SetScreenAutomaticTurnOff Set the time to turn off the OLED screen.
SetUsePhoneOnCriticalAlarm Set if the device should call the authorized phone number on a critical alarm. (e.g. Fall-Down, Collision, etc.)
SetUserNamePassword Set the username and password of the device.
SetVoiceMailRecognition Turn on or off the voice mail recognition features of the device.
StartListenInCall Start listening in on a call the device is currently in.
StartSilentCall Starts a silent listen-in call with the device, without the device notifying its surroundings the call has been initiated. This is likely only to be used for personal protection services.
StartTwoWayCall Starts a two-way call with the device. This method also allows the caller to force the device to respond to the call if need be.
ToggleGprs Turn on/off GPRS functions of the device.
ToggleGps Turn on/off the GPS functions of the device.
TurnOffDevice Turn off the device.
UpdateDeviceSoftware Starts a command that the device should update its software.

See Also