RangingParameters.RangingUpdateRate

public static abstract @interface RangingParameters.RangingUpdateRate implements Annotation

Update rate settings. The corresponding ranging interval (in milliseconds) for each combination of update rate and UwbConfigId is shown in the table below.

   ___________________________________________________________
  |   CONFIG_ID     | AUTOMATIC  |   FREQUENT   |  INFREQUENT |
  |-----------------|------------|--------------|-------------|
  |  CONFIG_ID_1    |    240     |     120      |     600     |
  |  CONFIG_ID_2    |    200     |     120      |     600     |
  |  CONFIG_ID_3    |    200     |     120      |     600     |
  |  CONFIG_ID_4    |    240     |     120      |     600     |
  |  CONFIG_ID_5    |    200     |     120      |     600     |
  |  CONFIG_ID_6    |    200     |     120      |     600     |
  |  CONFIG_ID_7    |    200     |     120      |     600     |
  |___________________________________________________________|
 
It is recommended to query ranging capabilities to check supported ranging update rate for each new session. If multiple sessions are opened with Frequent, it will no longer be available and the app may have to use Automatic or Infrequent.

Constant Summary

int AUTOMATIC Automatically changing the reporting rate when screen is on or off.
int FREQUENT Reports ranging data frequently.
int INFREQUENT Reports ranging data infrequently.
int UNKNOWN Invalid Update Rate Setting

Inherited Method Summary

Constants

public static final int AUTOMATIC

Automatically changing the reporting rate when screen is on or off. The ranging interval is set to 240 milliseconds when using CONFIG_ID_1 and CONFIG_ID_4. In other cases, the ranging interval is set to 200 milliseconds.

Constant Value: 1

public static final int FREQUENT

Reports ranging data frequently. The ranging interval is set to 120 milliseconds for this update rate.

Constant Value: 3

public static final int INFREQUENT

Reports ranging data infrequently. The ranging interval is set to 600 milliseconds for this update rate.

Constant Value: 2

public static final int UNKNOWN

Invalid Update Rate Setting

Constant Value: 0