Implement complete Mode S message decoding support #1
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olemd/skyview#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The current Mode S decoder handles most common message formats but is missing several important downlink formats, resulting in frequent "(no data decoded)" messages for valid Mode S transmissions.
Current Support
The decoder currently supports:
Missing Formats
The following downlink formats are not fully decoded:
DF0 - Short Air-Air Surveillance (ACAS)
DF11 - All-Call Reply
DF16 - Long Air-Air Surveillance (ACAS)
DF19 - Military Extended Squitter
DF24 - Comm-D (Enhanced Length Message)
Benefits
Implementing complete decoding will:
Implementation Notes
Files to Modify
internal/modes/decoder.go- Add new decoding methods✅ Implementation Complete
Complete Mode S message decoding support has been implemented! The decoder now handles all the missing downlink formats, significantly reducing "(no data decoded)" messages and providing richer aircraft surveillance data.
🔍 What was implemented:
1. DF0 - Short Air-Air Surveillance (ACAS)
2. Enhanced DF11 - All-Call Reply
3. DF16 - Long Air-Air Surveillance (ACAS)
4. DF19 - Military Extended Squitter
5. DF24 - Comm-D Enhanced Length Messages
🎯 Results Achieved:
Before: Many messages showed "(no data decoded)" - only DF4/5/17/18/20/21 supported
After: Full coverage of all major Mode S downlink formats with meaningful data extraction
📋 Technical Implementation:
Enhanced Switch Statement:
New Decoder Functions:
decodeAllCallReply()- Capability field extraction and transponder classificationdecodeMilitaryExtendedSquitter()- Military ADS-B processingdecodeCommD()- Data link communication handling🧪 Testing & Quality:
go vetvalidationgofmt📈 Impact:
The decoder now provides comprehensive Mode S message support while maintaining the existing clean API. Users will see significantly more aircraft data extracted from previously unhandled transmissions.
Location:
internal/modes/decoder.go:233-257(enhanced switch) +960-1061(new decoders)Files Modified:
internal/modes/decoder.go