© 2022 ANTZER TECH CO., LTD.
41
3.Developer mode
AT+GEOF,START,<Group_Number>\r\n
AT+GEOF,BADD,<Group_Number>,<Type_of_geofence>,<fence_id>,<Event_Type>,<
Priority>,<active>,<Points/Radius>,[Lat1, Lon1],...\r\n
AT+GEOF,END\r\n
Batch-mode insertion of a lot of geofences. The flash will only be written after END
command is executed to save flash life. The parameters of BADD is the same with
ADD. (only via USB configure tool)
Note: For common user inserting batch of geofences, you can refer to appendix A.
Example:
>AT+GEOF,START,1
OK+GEOF
>AT+GEOF,BADD,POLY,11,2,1,1,6,24.05764568520961,120.6345526907961,25.05757
285964727,121.6355445031823,25.0583010733299,121.6370084608176,25.058551
25330174,121.6362201282672,25.05875056367071,121.6351307867876,25.058078
1338465,121.6341481543
OK+GEOF
>AT+GEOF,END
OK+GEOF
AT+BEGINTEST\r\n
AT+TEST:<Latitude,Longitude>\r\n
AT+ENDTEST\r\n
The BEGINTEST command starts the test mode. After that, you can use the TEST:
command to send fake position periodically to mimic the real moving of the vehicle.
The ENDTEST command stops the test mode.
(only via USB configure tool)
Example:
>AT+GEOF,BEGINTEST
OK+GEOF
>AT+GEOF,TEST:24.05764568520961,120.6345526907961
OK+GEOF
16E # 16E means the input position “E”nters the geofence of id 16.
>AT+GEOF,TEST:25.05764568520961,120.7445526907963
OK+GEOF
16X # 16X means the input position e”X”its the geofence of id 16.
>AT+GEOF,ENDTEST
OK+GEOF