Skip to content

Transmitting blocks from csv file#142

Open
bskdany wants to merge 4 commits intomainfrom
feat/radio-mission-replay
Open

Transmitting blocks from csv file#142
bskdany wants to merge 4 commits intomainfrom
feat/radio-mission-replay

Conversation

@bskdany
Copy link
Copy Markdown
Contributor

@bskdany bskdany commented Apr 6, 2026

As title

The transmission script can now encode a csv file into blocks and transmit it

justapotato213
justapotato213 previously approved these changes Apr 6, 2026
Copy link
Copy Markdown

@justapotato213 justapotato213 left a comment

Choose a reason for hiding this comment

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

LGTM

@bskdany bskdany requested a review from justapotato213 April 6, 2026 22:53
def transmit_hex(conn: Serial, hex_payload: str) -> bool:
radio_write(conn, "mac pause")
line = str(conn.readline())
if "4294967245" not in line:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a question - what does this number mean and why do we fail the transmission if its not in the serial?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

To be completely honest I just copied the function that transmits non-hex data. That number is probably the response you expect after sending mac pause.

what do you mean by "fail transmission if its not in the serial"?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thats valid haha
In that if statement your returning false if that number isnt in the line

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