google / mobly-bundled-snippets

Snippets to allow Mobly tests to control Android devices by exposing a simplified Android API.
Apache License 2.0
42 stars 50 forks source link

Snippet for UWB #170

Open SimarRajput opened 1 year ago

SimarRajput commented 1 year ago

New Feature Request

Can we please add UWB Ranging Snipped into Mobly Bundled Snippets? I would be happy to contribute here.

Reference - https://developer.android.com/reference/kotlin/androidx/core/uwb/package-summary

Thanks, Simar

xpconanfan commented 1 year ago

Mbs is a collection of example implementations of test API.

Whether an rpc impl is in mbs or not should have no impact on your tests.

So can you elaborate on why you would want to add uwb apis here and the urgency?

On Wed, Jun 14, 2023, 12:09 Simarjit Singh @.***> wrote:

New Feature Request

Can we please add UWB Ranging Snipped into Mobly Bundled Snippets? I would be happy to contribute here.

Reference - https://developer.android.com/reference/kotlin/androidx/core/uwb/package-summary

Thanks, Simar

— Reply to this email directly, view it on GitHub https://github.com/google/mobly-bundled-snippets/issues/170, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARDNZJUVGKOZR7ZQ7FLSXDXLID6XANCNFSM6AAAAAAZGZV4KU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SimarRajput commented 1 year ago

So I want to run some UWB tests using the Python library Mobly. As per my understanding, MBS acts as an interface APK between a PC and an Android Phone, that is taking commands from Mobly, and accordingly calls underlying Android Framework APIs. Is it correct?

xpconanfan commented 1 year ago

You can create your own snippet apk using snippet library. MBS is just an example of how to do it.

SimarRajput commented 1 year ago

Ok Great. I will create a UWB Snippet and compile the APK.