Unable to read GPS/GNSS location data

I have connected antenna to my device and running the location_client_api_testapp and then pressing “g”
But i am getting error as

<<< onResponseCb err=1

hello, could you please tell the current firmware version and module type?

Module is AG550,
Firmware is a custom firmware from my team

could see secboot_state as : “auth_disable”

Hi,

AG550 requires secboot enabled to have GNSS function.
Please consult your team for the sec.dat file and flash it to the board, and then you shall have the GNSS function.

BR,
Louis

I have the file as part of the firmware still the secboot_state is disable

Hi,

That sec.dat file needs to be flashed to the board after entering fastboot mode, steps as follow:

  1. connect USB to PC, and USB ports are shown normally on PC.
  2. execute “adb reboot bootloader” in command line. → fastboot driver should be installed on PC
  3. after enter fastboot mode, execute “fastboot flash sec …/…/sec.dat
  4. once the flashing is completed, execute “fastboot reboot” to exit fastboot mode, reset will be triggered.
  5. done.

BR,
Louis