Skip to content

Conversation

@tsuckow
Copy link

@tsuckow tsuckow commented Nov 8, 2025

Adds a mode for the serial protocol to get packets unaltered (encrypted) FromRadio and allow arbitrary packets to be sent ToRadio.

This is useful for creating virtual nodes or bridging traffic between frequencies.

Protobuf PR meshtastic/protobufs#804

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Heltec T114

@tsuckow
Copy link
Author

tsuckow commented Nov 10, 2025

May cause problems with next hop routing since ToRadio will have the relay_node overwritten and FromRadio is before routing is handled. Not a huge issue, but need to think if this is something better solved in firmware or should be responsibility of software interfacing with it

@thebentern
Copy link
Contributor

So this setting would not be a persisted config? It seems like an admin message rather than a ToRadio flag would be a more consistent approach for turning this on

@tsuckow
Copy link
Author

tsuckow commented Nov 19, 2025

But wouldn't an admin message allow it to be sent over Lora? I don't believe we should be able to send over Lora because this is changing the behavior of the serial connection for the duration of the connection. If something else connects over serial the state resets.

@tsuckow
Copy link
Author

tsuckow commented Nov 19, 2025

May cause problems with next hop routing since ToRadio will have the relay_node overwritten and FromRadio is before routing is handled. Not a huge issue, but need to think if this is something better solved in firmware or should be responsibility of software interfacing with it

I'm still investigating some strange behavior with pki encrypted messages. I can't tell if the packet is being altered in some problematic way or if I've actually found a bug in the firmware that's unrelated to this change.

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