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

Support mixed-mode rx #18

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Conversation

sei-jmattson
Copy link

If RX worker is set to use_protobuf and receives an xml cot event, parse the xml.

Currently xml2proto returns the protocol bytes, i.e. meant for transmitting. This PR refactors a xml2message function that both sending (xml2proto) and receiving (parse_proto) can use to convert xml to TakMessage.

Granted, a client could use xml2message directly, but it is pretty smooth with pytak's current RXWorker to just send any received bytes to parse_proto().

@ampledata ampledata merged commit 5d8b25f into snstac:main Jun 22, 2024
7 checks passed
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.

2 participants