This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to modify GPS TRIGGER TIMER?

Hi guys,

I tried to modify "configs.c" or ".config", modified CONFIG_GPS_SIM_TRIGGER_TIMER_MSEC =  from 2000 to 10000.

But the device still sends GPS data every 2 seconds instead of 10 seconds, please guide me how to change trigger timer.

Thanks,

SC

Parents
  • Hi,

    Generally, all configurations that are intended to override the default values should go into your prj.conf file for the project your working on.
    So setting CONFIG_GPS_SIM_TRIGGER_TIMER_MSEC=10000 in prj.conf should help. Files such as configs.c and .config are generated by the build system based on the contents of all the configuration files in your project. Re-running the build system will overwrite any changes done manually there.

    Best regards,

    Jan Tore

Reply
  • Hi,

    Generally, all configurations that are intended to override the default values should go into your prj.conf file for the project your working on.
    So setting CONFIG_GPS_SIM_TRIGGER_TIMER_MSEC=10000 in prj.conf should help. Files such as configs.c and .config are generated by the build system based on the contents of all the configuration files in your project. Re-running the build system will overwrite any changes done manually there.

    Best regards,

    Jan Tore

Children
No Data
Related