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

Use int flags instead of Bundle extras in IUBus API #7

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

mishap4
Copy link
Contributor

@mishap4 mishap4 commented Feb 14, 2024

Replace Bundle extras with int flags for the following API (IUBus.aidl):
@nullable ParcelableUMessage[] pull(in ParcelableUUri uri, int count, in @nullable Bundle extras, IBinder clientToken);
ParcelableUStatus enableDispatching(in ParcelableUUri uri, in @nullable Bundle extras, IBinder clientToken);
ParcelableUStatus disableDispatching(in ParcelableUUri uri, in @nullable Bundle extras, IBinder clientToken);

It is required to support same interface for Rust implementation where Bundle is not available.

@stevenhartley stevenhartley merged commit c45f630 into eclipse-uprotocol:main Feb 14, 2024
2 checks passed
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