Smile NT-01
GPS Vehicle Tracker
User Manual
//STATE INDICATION ($state):
//START-------------1
//MOVE -------------2
//STOP--------------3
//OVER SPEED--------4
//ENGINE ON & VEHICLE STOP ----5
//MAIN POWER CUT----6
//MAIN POWER ON----7
//DEVICE RESTART----8
//PANIC-------------9
//Low Batt---------10
//GPS not Found --------- 11
if("1"==$state){
$state = "Start";
}else if("2"==$state){
$state = "Move";
}else if("3"==$state){
$state = "Stop";
}else if("4"==$state){
$state = "Over Speed";
$notification = $vehicle. ' - Over speed. Running at '.$velocity.' Km/hr';
}else if("5"==$state){
$state = "ACC On"; //Engine on vehicle stop
}else if("6"==$state){
$state = "Main Power Cut";
$notification = $vehicle. ' - Main power removed.';
}else if("7"==$state){
$state = "Main Power On";
$notification = $vehicle. ' - Main power connected.';
}else if("8"==$state){
$state = "Device Restart";
}else if("9"==$state){
$state = "PANIC";
$notification = $vehicle. ' - Panic switch pressed.';
}else if("10"==$state){
$state = "Low Battery";
$notification = $vehicle. ' - Low battery.';
}else if("11"==$state){
$state = "GPS not available";
}
www.nelsotech.com
8