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

Basic HORS Satellites Support #722

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Foxiks
Copy link
Contributor

@Foxiks Foxiks commented Feb 25, 2025

This adds a deframer for HORS satellite data packets

Comment on lines +43 to +48
self.slicer = digital.binary_slicer_fb()
self.deframer = sync_to_pdu_packed(
packlen=71, sync=_syncword, threshold=syncword_threshold)

self.connect(self, self.slicer, self.deframer)
self.msg_connect((self.deframer, 'out'), (self, 'out'))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no CRC, no scrambling, no FEC, no nothing? Just a 64-bit syncword and 71 bytes of packet data?

Is there documentation publicly available about the transmission format used by these satellites?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the correlation, it has a 64-bit sync word and 71 bytes of data. There is a PN pattern in the data, but since I have absolutely no documentation on these satellites, I don't know the PN generation polynomials. Otherwise, it doesn't have much else.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this is enough to constitute a deframer, especially because there is no way to check for bad decodes without a CRC.

Let me see if I got this right: through reverse-engineering you managed to identify that all the packets start by the same 64-bit sequence (which you are using here as syncword) and following that they have 71 * 8 bits. Moreover, you say that there is a PN pattern, so there might not be any data in these packets, or the data would need to be despread for further processing.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope will get at least some deeper info about packet structure, but it will be good to have ability to demodulate data from these sats

@cyyyr
Copy link

cyyyr commented Feb 26, 2025

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

Successfully merging this pull request may close these issues.

3 participants