Ticket #129 (closed defect: fixed)
ogpsd attempts to send GPS aiding data even when it is not present
|Reported by:||fso@…||Owned by:||daniel|
On a cold boot (no aiding.dat file available) the dictionaries that would have been unpickled from it are set to empty dictionaries instead. The code then attempts to lookup entries within these dictionaries to feed aiding data to the chip, but the dictionaries are empty resulting in a key error.
I have attached a patch which fixes this by only attempting to send each component of the aiding data is a non-empty dictionary is present.