Language

RangingRequest.Builder.AddNon80211mcCapableAccessPoint(ScanResult) Method

Definition

Add the non-802.11mc and non-802.11az capable device specified by the ScanResult to the list of devices with which to measure range.

[Android.Runtime.Register("addNon80211mcCapableAccessPoint", "(Landroid/net/wifi/ScanResult;)Landroid/net/wifi/rtt/RangingRequest$Builder;", "", ApiSince=31)]
public Android.Net.Wifi.Rtt.RangingRequest.Builder AddNon80211mcCapableAccessPoint(Android.Net.Wifi.ScanResult apInfo);
[<Android.Runtime.Register("addNon80211mcCapableAccessPoint", "(Landroid/net/wifi/ScanResult;)Landroid/net/wifi/rtt/RangingRequest$Builder;", "", ApiSince=31)>]
member this.AddNon80211mcCapableAccessPoint : Android.Net.Wifi.ScanResult -> Android.Net.Wifi.Rtt.RangingRequest.Builder

Parameters

apInfo
ScanResult

Information about an Access Point (AP) obtained in a Scan Result. This value cannot be null.

Returns

The builder to facilitate chaining builder.setXXX(..).setXXX(..). This value cannot be null.

Attributes

Remarks

Add the non-802.11mc and non-802.11az capable device specified by the ScanResult to the list of devices with which to measure range. The total number of peers added to a request cannot exceed the limit specified by RangingRequest.getMaxPeers().

One-sided RTT does not subtract the RTT turnaround time at the Access Point, which can add hundreds of meters to the estimate. With experimentation, it is possible to use this information to make a statistical estimate of the range by taking multiple measurements to several Access Points and normalizing the result. For some applications this can be used to improve range estimates based on Receive Signal Strength Indication (RSSI), but will not be as accurate as IEEE 802.11mc (two-sided RTT).

Note: one-sided RTT should only be used if you are very familiar with statistical estimation techniques.

Android reference for android.net.wifi.rtt.RangingRequest.Builder.addNon80211mcCapableAccessPoint.

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