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

2.2.X Proposed Protobuf changes #368

Merged
merged 10 commits into from
Aug 7, 2023
Merged

2.2.X Proposed Protobuf changes #368

merged 10 commits into from
Aug 7, 2023

Conversation

thebentern
Copy link
Contributor

@thebentern thebentern commented Jul 25, 2023

On the device, we will incremement the DEVICESTATE_VERSION, so folks will need to re-provision their devices. This also gives you all on the app / client front a clean slate. Most of this is removing, not re-indexing deprecated protobufs. We'll save re-indexing for 3.0, since that will be a breaking change for the protocol. Clients need to source some of the removed fields from MyNodeInfo on DeviceMetadata now

This shouldn't be a breaking change, per-se except for the device which as I mentioned will incremement the DEVICESTATE_VERSION and reprovision. Some clients may respond differently to the removal of protobuf fields, so I'm not entirely sure how that looks in each one. In any account, apps / clients will need to do the minimum version prompt when attempting to pair 2.0/2.1x devices to ensure that things move forward. I think it should be a pretty smooth transition.

If it doesn't work out on the field removal front in MyNodeInfo, we can go back on that. My preference was to remove those before 3.0, to slowly transition to phasing those fields out rather than completely gutting like we did from 1.2 to 2.0, which placed a large burden on all of the clients.

@thebentern
Copy link
Contributor Author

2.2.X Firmware working changes: meshtastic/firmware#2647

andrekir added a commit to meshtastic/Meshtastic-Android that referenced this pull request Aug 5, 2023
@thebentern thebentern marked this pull request as ready for review August 6, 2023 13:30
@thebentern thebentern merged commit 0ea704b into master Aug 7, 2023
1 check passed
@caveman99 caveman99 deleted the 2.2-proposed-changes branch August 7, 2023 17:05
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.

4 participants