Język

RangingRequestSecurityMode Enum

Definition

public enum RangingRequestSecurityMode
type RangingRequestSecurityMode = 
Inheritance
RangingRequestSecurityMode

Fields

Name Value Description
Open 0

In this mode, the ranging is performed with all available responders in open mode. If a responder does not allow open mode ranging, the responder will be skipped from the ranging request.

Note: If ScanResult.isRangingFrameProtectionRequired() is true, then open mode ranging is not supported by the AP.

Android reference for android.net.wifi.rtt.RangingRequest.SECURITY_MODE_OPEN.

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.

Opportunistic 1

In this mode, secure ranging is enabled automatically for compatible responders, simplifying the user experience and requiring no configuration. If the secure ranging is not possible for any of the responders, open mode ranging is used instead as in SECURITY_MODE_OPEN. This mode is backward compatible with existing applications. Note: This is the default mode

Android reference for android.net.wifi.rtt.RangingRequest.SECURITY_MODE_OPPORTUNISTIC.

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.

SecureAuth 2

To ensure maximum security, this mode only ranges with responders using PASN with base AKM (Authenticated). This necessitates an authenticated PASN handshake with a shared key between the initiator and responder. Consequently, all responders in the ranging request must support secure authentication. If not supported, the responder will be skipped from the ranging request.

Android reference for android.net.wifi.rtt.RangingRequest.SECURITY_MODE_SECURE_AUTH.

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