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

update generated proto bindings. #1

Closed
wants to merge 1 commit into from

Conversation

cpu
Copy link

@cpu cpu commented Jan 18, 2022

Running build/get-protoc.sh gave me an updated proto/dish.protoset. My router is running 2022.01.0.mr8624-prod and my dish is running 992cafb5-61c7-46a3-9ef7-5907c8cf90fd.uterm.release.

Afterwards running build/regen.sh fails when compiling spacex/api/device/dish.proto due to a missing reference to
a DishConfig message type. The solution is simple: add another protoc line to pull spacex/api/device/dish_config.proto out of the descriptor set as well. Now everything builds nicely :-)

Before updating these protos running the companion starlink-cli (after fixing starlink-community/starlink-cli#1) would result in output that had a number of "/* 2 unknown bytes */" type comments.

After updating these protos and fixing starlink-cli's go.mod to point to this branch I was able to get complete data dumps from my router and dish without any unknown bytes being reported.

Running `build/get-protoc.sh` gave me an updated `proto/dish.protoset`.
My router is running `2022.01.0.mr8624-prod` and my dish is running
`992cafb5-61c7-46a3-9ef7-5907c8cf90fd.uterm.release`.

Afterwards running `build/regen.sh` fails when compiling
`spacex/api/device/dish.proto` due to a missing reference to
a `DishConfig` message type. The solution is simple: add another
`protoc` line to pull `spacex/api/device/dish_config.proto` out of the
descriptor set as well. Now everything builds nicely :-)
@cpu
Copy link
Author

cpu commented Jan 18, 2022

I opened a draft PR on the starlink-cli repo to demonstrate this update in practice: starlink-community/starlink-cli#3

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.

1 participant