Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New sources of data and new devices types #36

Open
acasadoalonso opened this issue Sep 19, 2017 · 3 comments
Open

New sources of data and new devices types #36

acasadoalonso opened this issue Sep 19, 2017 · 3 comments

Comments

@acasadoalonso
Copy link
Contributor

Folks,

With the advent of new devices pushing data to the OGN APRS like: SPOT, SPIDER, Capturs, LT24, Naviter/LX, Skylines (XCsoar), etc, ... it is needed to define the source of the data, so the different app parser can parser the new messages.
We started a new repo:

https://github.com/glidernet/ogn-aprs-protocol

with all the data and as forum to discuss the different issues that we can find in the way

However one area that we need to deal at registration time, it is how we are going to register all of those new devices and how we are going to be dealing with the fact that a glider, can have at the same time different devices, for example a Flarm, an OGN tracker, an SPOT and a LX9000 or Oudie all of them transmitting the position to the OGN APRS servers, we do not want to display in our web apps like http://live.glidernet.org 4 gliders on the same position with the same registration, etc, ...
We need to find a way to relate all of those devices to a single glider (when I say glider, may be a tow plane, a chopper, a paraglider, etc, ...) ...
Here some ideas of a new schema for the DDB, essentially consist to add a new table, lets call it PLANES table for the time being, that contains all the data about the plane like: registration, competition id, aircraft type, etc, and the DEVICE table contains only the ID, device type, link to PLANE table and device password as some device requires that.
The other tables AIRCRAFT type and USER will remain the same.
On the PLANES table will have a link to the primary device ID, that way we can maintain the compatibility with the previous design and the download format will be the same.
Of course, we need to develop a new download process.
Please find attached the initial design docs,
Your comments or suggestion will be deeply appreciated.

AC/.

ogn ddb schema
ddb schema.pdf

OGNNEWDDB.TXT

@kerel-fs
Copy link
Contributor

We shouldn't store the association of different devices belonging to the same plane in a central database, since it is rather not needed:
Instead the state should be stored inside the devices themself and send alongside the stream of fixes, rendering a central database unneeded.

@acasadoalonso
Copy link
Contributor Author

acasadoalonso commented Oct 16, 2017 via email

@kerel-fs
Copy link
Contributor

kerel-fs commented Oct 17, 2017

Afaik there are already multiple device_id's in each packet (e.g. aprs-address & real_address of the FLARM)? Maybe the protocols can be updated to define an unique identifier? Tbh this is just some random idea.

Edit: Here I'm only speaking about the packet format in the APRS-network itself (the OGN-"core").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants