lyusupov / SoftRF

:airplane: Multi-functional, compatible DIY general aviation proximity awareness system
GNU General Public License v3.0
792 stars 215 forks source link

No aircraft data on Badge (workaround known) #175

Closed jorisrobijn closed 1 month ago

jorisrobijn commented 1 month ago

Hardware

2024-10-26 10 33 27

Firmware version

2024-10-26 10 35 25

Firmware settings

2024-10-26 10 38 41 2024-10-26 10 38 47

Describe the bug

The aircraft database from OGN is not loaded while it is present.

To Reproduce

Use 1.5.1 firmware and start the device. Install the OGN aircraft database as indicated on page https://github.com/lyusupov/SoftRF/wiki/Badge-Edition.-Aircrafts-database

Expected behavior

Aircraft database is loaded.

Workaround and probable solution

As documented in issue #156 , the problem appears to be with the type of file. It is not set to be an OGN type of file, it appears.

To fix, connect over USB to the device via virtual serial port and send the string $PSKVC,1,0,0,0,2,1,0,,,0,0,3,3,0,0,0,0,0,000000*73 immediately followed by an Enter. Or as done in #156, use the bluetooth terminal to sent the same. This sets the file type to OGN (together with other minor settings which cannot be prevented this way) .

After doing this, without re-putting the OGN database on the device again, the database was loaded.

I think it's best to implemented the solution mentioned in #156 .

lyusupov commented 1 month ago

The feature works fine to me.

This is a photo taken with up to date aircrafts database (Oct 26 of 2024) loaded into the SoftRF Badge with firmware Release 1.5.1:

image



Resolution: unable to reproduce

jorisrobijn commented 1 month ago

That is how I have it now as well. However, it did not work without setting the setting in the very difficult way. The setting is not available in the Android app. I guess you have set the setting (maybe long ago) in some other way. Is it maybe possible to just try to load both database types? Then you don't need the setting anymore.

lyusupov commented 2 weeks ago

Wrong value of aircraft database selector is supplied by SoftRF Tool:

image image



The SoftRF Tool is a third-party app which has nothing to do with this SoftRF GitHub repo. Ask for support (if any) on the app's home page in Google Play.

Read the Disclaimer image



Resolution: invalid