Giter Club home page Giter Club logo

Comments (9)

wiedehopf avatar wiedehopf commented on June 2, 2024 1

That would be the thing to do for now at least.
I'll think about making an exception for jaero when i get the chance.

from readsb.

wiedehopf avatar wiedehopf commented on June 2, 2024 1

you can always recompile with local changes

from readsb.

wiedehopf avatar wiedehopf commented on June 2, 2024

From SBS the squawk should be accepted.

Are you sure it's in the data stream?

from readsb.

wiedehopf avatar wiedehopf commented on June 2, 2024

Squawk has some logic to require the squawk to be received twice before the change is accepted.
I'm not sure if that applies to SBS input as well though. ... .don't think it does.

from readsb.

rpatel3001 avatar rpatel3001 commented on June 2, 2024

number of messages might be it... looking at the current tar1090 list I only have squawks for targets with >2 messages. Possibly a separate issue, I've never seen a target listed as only having 1 message.

Squawk is definitely in the input SBS messages, I can actually monitor the SBS output port and see the squawk forwarded on all messages there as well.

from readsb.

rpatel3001 avatar rpatel3001 commented on June 2, 2024

also, I didn't look too hard at the code, what causes blank lines to be output on the SBS output port? Invalid/old messages?

from readsb.

wiedehopf avatar wiedehopf commented on June 2, 2024

https://github.com/wiedehopf/readsb/blob/dev/track.c#L2013

Yeah i believe that's what is happening.
The squawk will only change after receiving the same squawk twice.
For actual ModeS / ADS-B data that's a sane approach.

I don't know if i want to change it even for SBS to be honest it's a good thing most of the time.
An exception for SBS jaero input might be possible as it's an input that only gets messages very rarely.

from readsb.

rpatel3001 avatar rpatel3001 commented on June 2, 2024

thanks. if you don't want to add an exception i can just send messages twice lol

from readsb.

rpatel3001 avatar rpatel3001 commented on June 2, 2024

ah sending twice doesn't work, looks like there's a wait period. Not sure if the 15 second or 750 ms wait period is the relevant one.

from readsb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.