Rename the devel=sbs_rssi to devel=sbs_extra_fields and add aircraft category#139
Merged
Merged
Conversation
Owner
|
ok, can you rebase that into a single commit? |
…S output
Adds a new devel flag, sbs_extra_fields, which appends two optional fields
to the SBS output:
- Field 23: RSSI in dBFS (e.g. -27.3), empty if signal level unavailable
- Field 24: aircraft category from ADS-B identification frames (metype 1-4),
encoded as two hex chars (e.g. A3 = large fixed-wing, A7 = rotorcraft),
empty if not yet received
The category is derived directly from the received ADS-B DF17 message
(((0x0E - metype) << 4) | mesub) — no external database lookup required.
Both fields are controlled by a single flag to keep the extension self-
contained. Field 23 is always emitted when the flag is active so that
field 24 remains at a fixed position, regardless of whether RSSI data is
available for a given message.
Buffer size is increased from 200 to 260 bytes when the flag is active.
1bdd18f to
c2c239d
Compare
wiedehopf
approved these changes
Jun 8, 2026
Contributor
Author
|
Thanks! |
Owner
|
with the rebasing it is just nicer. (would have been too for the previous PR but it's not that important) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rename the existing
--devel=sbs_rssiruntime flag to be--devel=sbs_extra_fieldsand append the aircraftcategory as field 24 of the SBS output, in addition to the existing RSSI information in field 23.
identification messages (metype 1–4) — no external database or lookup
A3) onidentification messages; empty on all other message types
Usage
Example output (MSG,1 identification frames only)
Field 24 is empty on MSG types 3–8.