background image

Smile NT-01

GPS Vehicle Tracker

User Manual

PHP Code (upload.php):

<?php
/*-------------------------------------------------------------------
* Author: Nelso Technology Pvt. Ltd.      Last modified On: 08/03/2018
*--------------------------------------------------------------------*/
$settings='';
$r = file_get_contents('php://input');

//raw data

/* Dummy Position data: (Uncomment to check if data is inserted properly to database.)*/ 
//$r = "$866104025429336,WB24K-7980,2016-08-
11/15:55:00,24.799030,90.377548,0,4,97%,0,0,0,0,0,1,1,184,0.0,11.8,,12,-66.0,,,$";

//Upon first power on device sends model information to the server  
//$r = "#555555555555555~MODEL~DG-Tracker Smile HW Ver-1.0~1.1~2016-01-18~Airtel#";
if(substr_count("$r",'$') == 2){

$str = str_replace('$', '', $r);
$exploded = explode(",",$str);
$IMEI   =    $exploded[0];

//IMEI of device

$vehicle  =    $exploded[1]; //Vehicle Number
$date     =    $exploded[2];

//Date (2016-08-11/15:55:00,24)

$lat      =    $exploded[3];

//Latitude

$lon      =    $exploded[4];

//Longitude

$velocity =    $exploded[5]; //Speed (Km/hr)
$state    =    $exploded[6];

//State (Numeric Value as defined below)

$fuel     =    $exploded[7];

//Fuel in Tank (%)

$analog1   =    $exploded[8]; //Reserved
$analog2   =    $exploded[9]; //Reserved
$digital1   =    $exploded[10];//Reserved
$digital2   =    $exploded[11];//Reserved
$digital3   =    $exploded[12];//Reserved
$digital4   =    $exploded[13];//Reserved
$digital5    =    $exploded[14];

//Reserved

$course    =    $exploded[15]; //Course
$distance    =    $exploded[16];

//Odometer Reading

$battery_voltage    =    $exploded[17];

//Vehicle Battery Voltage

$temperature = $exploded[18];

//Device Temperature

$satellite = $exploded[19];

//No. of satellite in view

$altitude = $exploded[20];

//Altitude

$field1 = $exploded[21];

//Reserved

$field2 = $exploded[22];

//Reserved

$field3 = $exploded[23];

//Reserved

$explodedDate = explode("/",$date);
$datetime =    $explodedDate[0] ." ". $explodedDate[1]; 

//2016-08-11 15:55:00,24

www.nelsotech.com

7

Summary of Contents for Smile NT-01

Page 1: ...www nelsotech com 1 GPS Vehicle Tracker Model Smile NT 01 Pin point location identification Easy to install User friendly application Proof of manufacturer ...

Page 2: ...nnectivity GPS based vehicle tracking system are commonly used by fleet operators for fleet management functions Vehicle tracking system VTS are also popular in consumer vehicles as a theft prevention and retrieval device Police can simply follow the signal emitted by the tracking system and locate the stolen vehicle Logistics Fleet management Commercial Vehicle Monitoring Public Transport Systems...

Page 3: ...r cable is removed Status Request Know status of the vehicle like Speed Latitude Longitude and Network Location etc by sending corresponding SMS to the device Panic Switch SOS Optional This is an emergency switch A SMS will be delivered to owner user mobile number upon pressing it in case of emergency Avoid Vehicle Theft Pin Point your stolen vehicle on map Swift off engine remotely Optional In ca...

Page 4: ...ding it Insert SIM Card into the holder and lock it Blue ACC Black GND Red Battery 12V 24V DC Connect three wire as shown in the figure Mount the device inside dashboard keeping the yellow sticker towards sky www nelsotech com 4 https youtu be nCkvDqHqAik Visit this link and see the video about how to register the device with gps track in software ...

Page 5: ...ed This device is programmed for automatic SIM detection and apply APN settings for all Indian SIM Cards So it is not recommended to set APN manually within India If you are from outside of India or need to change APN then firstly you have to inquire APN of your SIM Card provider by calling customer care Now you have to set it in the device by sending APN apn User ID Password For example the APN o...

Page 6: ...e to user Enable all alert SMS x is 0 Disable 1 Enable Get device info like firmware version etc Ignition Cut Set host address Ignition ON Web page URL where to post data Change User Number Ex UN19874228400 Command Default Description 80 Km hr Auto detect 2 Minute 15 Minute Enable 1 Optional www gps track in Optional post php If you want to configure the device so that it sends data to your own se...

Page 7: ... exploded 2 Date 2016 08 11 15 55 00 24 lat exploded 3 Latitude lon exploded 4 Longitude velocity exploded 5 Speed Km hr state exploded 6 State Numeric Value as defined below fuel exploded 7 Fuel in Tank analog1 exploded 8 Reserved analog2 exploded 9 Reserved digital1 exploded 10 Reserved digital2 exploded 11 Reserved digital3 exploded 12 Reserved digital4 exploded 13 Reserved digital5 exploded 14...

Page 8: ...e 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 stat...

Page 9: ...ww gps track in upload php SIM2 Data Update Interval at Moving condition 2 Minute SIS15 Data Update Interval at Stop condition 15 Minute STA Report STAtus of the vehicle to registered user mobile number STD Request Stored settings EMS0 Enable automatic mobile originated SMS 0 Disable 1 Enable IGS0 Enable Ignition Start Stop Data 0 Disable 1 Enable RST Reset to factory defaults ABT About module ver...

Reviews: