lora-aprs / LoRa_APRS_iGate

This is a LoRa APRS iGate/Digi based on an ESP32
https://www.lora-aprs.info
MIT License
355 stars 113 forks source link

Mobile digi? #54

Closed drtechga closed 3 years ago

drtechga commented 3 years ago

Could a mobile digi option be added to pull the gps from the module to use as the digi's location. For instance a digi/tracker located in car.

peterus commented 3 years ago

sorry i am not understanding your question, can you please describe your idea a little bit better? thanks!

drtechga commented 3 years ago

car digi I attached a diagram to help describe the option requested.

quarksteilchen commented 3 years ago

I think what @drtechga meant was this:

Add an option to fetch the iGates' location not only from the Config, but also doing a live-update and fetch the location from the built in GPS-module. (If there is one... i have to say: my board doesn't have one)

String lat = create_lat_aprs(Config.beacon.positionLatitude);
String lng = create_long_aprs(Config.beacon.positionLongitude);

would then be something like: (shown only for Lat, for Lon it's the same)

double lat = Config.beacon.positionLatitude;
if(Config.beacon.doLivePositionUpdate)
    lat = fetchPosFromGPSModule_lat();
String lat = create_lat_aprs(lat);
jgarruba commented 3 years ago

Quark While i have been wanting to do what you just showed in code i don't think that is what drtech means.

I think he is asking for something the system already does as part of digipeater. He means can the tracker in the car relay data to the igate for the dog and the person.

As far as I know this already happens is digipete is set to true

peterus commented 3 years ago

now i am understanding what you mean! the iGate should have a static location and no gps tracking etc. should happen. This ticket is better in the Tracker repository.