Add Diagnostics Oid in HAL.

Test: compile
Bug: 236969605
Change-Id: Idc44d73f31dc23d4dfaf4f461d8c312338421234
This commit is contained in:
ziyiw
2022-07-27 18:58:30 +00:00
parent c25a48c10f
commit d5796d6576
2 changed files with 5 additions and 0 deletions

View File

@@ -36,4 +36,5 @@ package android.hardware.uwb.fira_android;
enum UwbVendorGidAndroidOids {
ANDROID_GET_POWER_STATS = 0,
ANDROID_SET_COUNTRY_CODE = 1,
ANDROID_RANGE_DIAGNOSTICS = 2,
}

View File

@@ -31,4 +31,8 @@ enum UwbVendorGidAndroidOids {
// Used to set the current regulatory country code (determined usinag
// SIM or hardcoded by OEM).
ANDROID_SET_COUNTRY_CODE = 0x1,
// Used by the notification to get UWB ranging diagnostics stats.
// Supported only if the UwbVendorCapabilityTlvTypes.SUPPORTED_DIAGNOSTICS set
// to 1.
ANDROID_RANGE_DIAGNOSTICS = 0x2,
}