TR-151
page
36
Note 1:
The format of Google map/earth’s longitudes and latitudes differs from the format of TR-151’s.
So users have to convert the format of Google map/earth’s longitudes and latitudes into the
format of TR-151’s longitudes and latitudes before setting Geofence.
The format of longitudes and latitudes in Google map/earth is like E121°99.9288’ and
N37°37.3376’. The digits at the right side of the degree are regarded as the digits at the right
side of decimal. Users have to take those digits to multiply with 60. The got number is the 2 digit
at the left side of the decimal and the digits at the right side of decimal in TR-151.
For example
, the longitudes and latitudes in Google map is E 121°99.9288’ and N 37°37.3376’
You have to take 0.999288 X 60 =59.95728
≒
59.9573; 0.373376 X 60=22.40256 22.4026
≒
The longitude and latitude for setting TR-151 Geofence is 12159.9573 and 3722.4026
Note 2:
User can set up to 10 rectangular or circular boundaries. Each SMS contains one boundary setting.
User can send numerous SMS to complete one set of settings, including numerous rectangular or
circular boundaries. For example, if user wants to set the boundary includes 2 rectangles and 1 circle.
User has to send 3 SMS, two with rectangle information, one with circle information.
SMS1:
?4,IMEI,R,longitude,latitude,longitude,latitude,In_or_Out,Report_Interval,
Number_of_Reports,Report_Format,Return_Phone_Number!
SMS2:
?4,IMEI
,
R,longitude,latitude,longitude,latitude,In_or_Out,Report_Interval,
Number_of_Reports,Report_Format,Return_Phone_Number!
SMS3:
?4,IMEI
,
C,longitude,latitude,radius,In_or_Out,Report_Interval,
Number_of_Reports,Report_Format,Return_Phone_Number!
If user uses numerous SMS in one setting, the IMEI, In_or_Out, Report_Interval, Number_of_Reports,
Report_Format, Return_Phone_Number must be the same between each SMS. If above parameters
are not the same between SMS, TR-151 only follows
last SMS
.
Note 3
In Boundary information
{[R,longitude,latitude,longitude,latitude],[C,longitude,latitude,radius],}