LPWA Module Series
BG96 GNSS Application Note
BG96_GNSS_Application_Note 32 / 42
2.2.10.1.
AT+QCFGEXT="addgeo" Add a Geo-fence
The Write Command adds a geo-fence.
AT+QCFGEXT Extended Configuration Settings
Test Command
AT+QCFGEXT=?
Response
+QCFGEXT: "addgeo",<geoID>,<mode>,<shape>,<lat1>,
<lon1>,<lat2>[,<lon2>[,<lat3>,<lon3>[,<lat4>,<lon4>]]]
+QCFGEXT: "deletegeo",<geoID>
+QCFGEXT: "querygeo",<geoID>
OK
Maximum Response Time
300 ms
Characteristics
/
Reference
/
AT+QCFGEXT="addgeo" Add a Geo-fence
Write Command
AT+QCFGEXT="addgeo",[<geoID>,[<
mode>,<shape>,<lat1>,<lon1>,<lat2>,
[<lon2>,[<lat3>,<lon3>[,<lat4>,<lon4>
]]]]]
Response
If all parameters after
"addgeo"
are
omitted, query the current
setting of all geo-fences that have been added:
+QCFGEXT: "addgeo",<geoID>,<mode>,<shape>,<lat1>,<
lon1>,<lat2>,[<lon2>,[<lat3>,<lon3>[,<lat4>,<lon4>]]]
…
+QCFGEXT: "addgeo",<geoID>,<mode>,<shape>,<lat1>,<
lon1>,<lat2>,[<lon2>,[<lat3>,<lon3>[,<lat4>,<lon4>]]]
OK
If the optional parameters after
<geoID>
are omitted, query the
current setting of the specified geo-fence:
+QCFGEXT: "addgeo",<geoID>,<mode>,<shape>,<lat1>,<
lon1>,<lat2>,[<lon2>,[<lat3>,<lon3>[,<lat4>,<lon4>]]]
OK
If
<shape>
=0, add a circular geo-fence and the parameters
after
<lat2>
must be omitted:
OK
If
<shape>
=1, add a circular geo-fence and the parameters