Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used:core.uwb(Kotlin)
Version used:1.0.0-alpha05
Devices/Android versions reproduced on: Galaxy S series. android 14.
Testing
I am testing UWB with two devices.
The device models are S23Ultra (Android14) and S22Plus (Android14).
CONFIG_MULTICAST_DS_TWR was used as the RangingParameters.uwbConfigType value. documentation
, the ranging interval value of this uwbConfigType type is 200ms.
According to Android
I thought this meant that during normal ranging, each device receives a ranging result every 200ms.
And I set updateRateType to RANGING_UPDATE_RATE_AUTOMATIC (hereinafter "AUTOMATIC") and started Ranging,
As expected, I receive a RangingResult every 200ms.
In case of RANGING_UPDATE_RATE_FREQUENT(hereinafter "FREQUENT"),
the RangingResult value is received every 100ms, which is faster.
In the case of RANGING_UPDATE_RATE_INFREQUENT(hereinafter "INFREQUENT"),
the RangingResult value is received every 600ms.
The updateRateType setting is set the same on both devices.
Questions
1.Ranging Interval VS Reporting Interval
Until now,
I thought that the UWB Ranging interval at the hardware level was determined by the uwbConfigType value,
and that only the Reporting interval was controlled by the updateRateType value.
However, I became confused when I confirmed in the FREQUENT test that
the reporting interval was faster than the 200ms ranging interval of CONFIG_MULTICAST_DS_TWR.
Do these three updateRateType values control the Ranging Interval at the UWB hardware level?
2.AUTOMATIC mode when Screen ON/OFF
The INFREQUENT and FREQUENT values have the following text in the document.
However, in a test with the screen on, FREQUENT and AUTOMATIC
Reporting interval of RangingResult did not match.
Although the test was conducted with the screen turned off,
the RangingResult value in AUTOMATIC mode is still received every 200ms.
It also does not match the INFREQUENT mode.
Why does the AUTOMATIC reporting interval not change even when the screen is turned on/off?
And why doesn't it match the reporting interval of (IN)FREQUENT????
3.AUTOMATICs Dynamic interval.
If the interval changes due to screen ON/OFF,
Will it affect ranging with the other device?
When both devices are in AUTOMATIC mode and only one device's screen is turned off
How does the other device work?