Where can I get info a bout the firm 12A03S (LC76G)

I can’t get geofence running , seems that the device is acepting commands like $PAIR890 ,but I’m not getting response , my firm is the 12A03S.($PQTMVERNO,LC76GABNR12A03S,2024/04/14,18:43:52*3C)

Need a firm update ?

Thanks

Hi @Josep_Maria_Vernet

can you try to get the status for GEOFENCE? Run below command:

Get Command//

$PQTMCFGGEOFENCE,R,<Index>*<Checksum><CR><LF>

Example Get Command:

$PQTMCFGGEOFENCE,R,0*3E

ResponsetoGet command:

$PQTMCFGGEOFENCE,OK,<Index>,<Status>[,<Res>,<Shape>,<Lat0>,<Lon0>,<Lat1/Radius>,<Lon1>,<Lat2>,<Lon2>,<Lat3>,<Lon3>]*<Checksum><CR><LF>

If GEOFENCE return error, the output as below:

$PQTMCFGGEOFENCE,ERROR,<ErrCode>*<Checksum><CR><LF>

Best Regards.

Hi mohamad , thanks for the reply

I’m starting using Quectel devices…

initially I doubt about the firm release 12A03S, seems that there are two commands available the $PAR and the $PQTM , but not sure about wich is the right.

I’m sending: $PQTMCFGGEOFENCE,W,0,1,0,0,41.575809,2.006232,4.014 , and the device reply is : $PQTMCFGGEOFENCE,OK74.

When sending the command : $PQTMCFGGEOFENCE,R,03E , the device reply is :$PQTMCFGGEOFENCE,OK,0,1,0,0,41.575863,2.006298,4.0000007B

But I don’t get any PQTMGEOFENCESTATUS messages , I’m sending $PQTMGEOFENCESTATUS,R,068 and $PQTMGEOFENCESTATUS0A , the device never anwers the command.

I’m checking the LC76G&LC86G Series GNSS Protocol Specification V1.4 , but not sure about if my PQTMGEOFENCESTATUS is well assembled.

Thanks

Hi @Josep_Maria_Vernet,

The reason you are not receiving any $PQTMGEOFENCESTATUS messages is because, in the PQTM protocol, this is an autonomous output message rather than a command that can be queried using the “,R” parameter.

1. Why the current commands do not work

  • $PQTMGEOFENCESTATUS,R,0*68
    → This is not a valid command. $PQTMGEOFENCESTATUS is defined strictly as an output message and does not support “Read (R)” or “Write (W)” operations.
  • $PQTMGEOFENCESTATUS*0A
    → Sending only the message header will not trigger any response, as the module outputs this message only after it has been enabled for periodic reporting.

2. How to enable geofence status output

To receive the status messages, you need to configure the message output rate using the appropriate command:

  • Enable periodic output

$PQTMCFGMSGRATE,W,PQTMGEOFENCESTATUS,1,1*5C

This sets the output rate to once per position fix.
(The final “1” indicates the message version, which is required for PQTM messages.)

  • Verify the configuration

$PQTMCFGMSGRATE,R,PQTMGEOFENCESTATUS,1*44

3. Important prerequisites

Even after enabling the message, the module will only output $PQTMGEOFENCESTATUS when the following conditions are met:

  • Valid position fix
    The module must have a valid 2D or 3D fix. Without a fix, the status field may remain “Unknown (0)” or the message may not be output depending on the firmware.
  • Save configuration
    To retain the settings after restart, please save them to non-volatile memory:

$PQTMSAVEPAR*5A

4. Expected output format

Once enabled and with a valid fix, the message will appear as follows:

$PQTMGEOFENCESTATUS,1,093444.000,2,0,0,0*29

Where:

  • 1 → Message version
  • 093444.000 → UTC time
  • 2,0,0,0 → Status of Geofences 0–3
    • 2 = Outside
    • 0 = Unknown (e.g., disabled or no evaluation)

For the GNSS Protocol Specification, you may download it from here: Quectel_LC26G&LC26G-T&LC76G&LC86G_Series_GNSS_Protocol_Specification_V1.5 | Quectel

Mohamad , thanks for your excellent reply.

Yes ,with your advice it is now working , I’m, receiving the geofence status messages.

Thank you very much , I was stucked some days with this…

1 Like