Pygate and Fake GPS



  • Hi,

    I'm currently using PYGATE witch Chirpstack and I'm trying to add the fake GPS configuration to the CONFIG.JSON file without success with:

    /* GPS configuration */
    "fake_gps": true,
    "ref_latitude": xx.xx,
    "ref_longitude": yy.yy,
    "ref_altitude": z

    Can one of you tell me if it is supported by PYGATE ?

    Regards.



  • @ric2498 said in Pygate and Fake GPS:

    "fake_gps": true,
    "ref_latitude": xx.xx,
    "ref_longitude": yy.yy,
    "ref_altitude": z

    This works! You have to add it inside the "gateway_conf" object. The gateway will print the following:

    [535347552] lorapf: INFO_ [main] Reference latitude is configured to 5.000000 deg
    [535347560] lorapf: INFO_ [main] Reference longitude is configured to 4.000000 deg
    [535347567] lorapf: INFO_ [main] Reference altitude is configured to 2 meters
    [535347574] lorapf: INFO_ [main] fake GPS is enabled
    

Log in to reply
 

Pycom on Twitter