Language

DlTdoaRangingParams.CreateFromFiraConfigPacket(Byte[], Byte[]) Method

Definition

Creates a DlTdoaRangingParams from a FiRa compliant configuration packet.

[Android.Runtime.Register("createFromFiraConfigPacket", "([B[B)Landroid/ranging/uwb/DlTdoaRangingParams;", "", ApiSince=37)]
public static Android.Ranging.Uwb.DlTdoaRangingParams CreateFromFiraConfigPacket(byte[] config, byte[]? rangingRoundIndexes);
[<Android.Runtime.Register("createFromFiraConfigPacket", "([B[B)Landroid/ranging/uwb/DlTdoaRangingParams;", "", ApiSince=37)>]
static member CreateFromFiraConfigPacket : byte[] * byte[] -> Android.Ranging.Uwb.DlTdoaRangingParams

Parameters

config
Byte[]

The byte array containing the FiRa Specific OOB Vendor Specific Element (VSE) for BLE or WiFi.

rangingRoundIndexes
Byte[]

The active ranging round indexes. If null, the indexes may be extracted from the WiFi Time Sync sub-element in config if present; otherwise, the default value from DlTdoaRangingParams.Builder is used.

Returns

A DlTdoaRangingParams instance.

Attributes

Remarks

Creates a DlTdoaRangingParams from a FiRa compliant configuration packet.

Android reference for android.ranging.uwb.DlTdoaRangingParams.createFromFiraConfigPacket.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to