-
Notifications
You must be signed in to change notification settings - Fork 9
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
How to get data from kuksa-databroker using dart gRpc #23
Comments
Hi, While it should be "technically possible", currently, as far as I know, in KUKSA core team we have nobody working on dart and/or flutter. I know that Automotive Grade Linux guys are into flutter a bit, AND they use some Kuksa, but I am not sure they have some GRPC example in Dart lying around, maybe @g-scott-murray knows and has some pointers to code |
We have a some examples of using dart-grpc in AGL, the primary ones are: https://git.automotivelinux.org/apps/flutter-instrument-cluster/tree/lib/vehicle-signals and: https://git.automotivelinux.org/apps/flutter-ics-homescreen/tree/lib/data/data_providers I can't say I would consider any of that code particularly great, and we do have some known issues, e.g. we see an issue in the homescreen with subscription failing after running for a while, and I've so far not had a lot of success handling it and getting back into a working state. That's on my TODO list to look into further in the next couple of months. I may also start looking at using non-Dart code (e.g. tonic in Rust) via FFI, as Toyota tells us that they're doing similar for quite a few things in their homescreen implementation. |
Thanks for the reply and reference @g-scott-murray, |
"sdv/databrokerl/v1" is an older API. In current main builds it needs to be explicitely enabled with If API changes again, usually the strategy is to have a suitably long grace period where the old API is still available. Currently the recommendation is to use only the kuksa/val/v1 , unless you have an urgent need for very high performance/high frequency setting of values. That is being worked on in a newer API (version) or - unfortunately limited to current values only - in the sdv1 API. |
I can able to publish and subscribe to kuksa VSS ( example, Vehicle.speed), using python sdk (kuksa-client), I needs to do the same using gRpc in flutter-dart, I am looking for any basic example for the same . but wouldn't able to find and also would like to know, is it under development as i saw the similar open ticket: Databroker Api: Use cases + Errors #17
The text was updated successfully, but these errors were encountered: