ImperialSpaceSociety / picotracker-Lora

This is the code base and hardware design files for the Lora pico tracker to be flown around the world
12 stars 3 forks source link

If first fix not successful, tracker wastes time sleeping before getting new fix #85

Closed MedadRufus closed 2 years ago

MedadRufus commented 3 years ago

In current code, whether it has a fix or not at the first fix, it will tx and and go to sleep for value defined by APP_DUTYCYCLE. Its 40 seconds. The problem arises when it has no fix, that it wastes valuable time on a rotation of the tracker sleeping. It must exploit the sun as much as possible, thus continueously searching for fix, especially when it does not have a fix after boot.

MedadRufus commented 3 years ago

In stead, just increase the first fix timeout ot 2 x 180 seconds. Down side is, it will transmit as regularly as before

MedadRufus commented 2 years ago

fixed in https://github.com/ImperialSpaceSociety/LoRaMac-node/pull/195