public static class RttManager.RttParams extends Object
Modifier and Type | Field and Description |
---|---|
int |
bandwidth
bandWidth used for RTT measurement.User need verify the highest BW the destination
support (from scan result etc) before set this value.
|
String |
bssid
mac address of the device being ranged
Default value: null
|
int |
burstTimeout
Timeout for each burst, (250 * 2^x) us,
Range 1-11 and 15. 15 means no control Default value: 15
|
int |
centerFreq0
Not used if the AP bandwidth is 20 MHz
If the AP use 40, 80 or 160 MHz, this is the center frequency
if the AP use 80 + 80 MHz, this is the center frequency of the first segment
same as ScanResult.centerFreq0
Default value: 0
|
int |
centerFreq1
Only used if the AP bandwidth is 80 + 80 MHz
if the AP use 80 + 80 MHz, this is the center frequency of the second segment
same as ScanResult.centerFreq1
Default value: 0
|
int |
channelWidth
channel width of the destination AP.
|
int |
deviceType
type of destination device being ranged
currently only support RTT_PEER_TYPE_AP
Range:RTT_PEER_TYPE_xxxx Default value:RTT_PEER_TYPE_AP
|
int |
frequency
The primary control channel over which the client is
communicating with the AP.Same as ScanResult.frequency
Default value: 0
|
int |
interval
valid only if numberBurst > 1, interval between burst(100ms).
|
boolean |
LCIRequest
Request LCI information, only available when choose double side RTT measurement
need check RttCapabilties first.
|
boolean |
LCRRequest
Request LCR information, only available when choose double side RTT measurement
need check RttCapabilties first.
|
int |
num_retries
Deprecated.
Use
numRetriesPerMeasurementFrame API. |
int |
num_samples
Deprecated.
Use the new
numSamplesPerBurst |
int |
numberBurst
Number of burst in exp , 2^x. 0 means single shot measurement, range 0-15
Currently only single shot is supported
Default value: 0
|
int |
numRetriesPerFTMR
number of retries for FTMR frame (control frame) if it fails.
|
int |
numRetriesPerMeasurementFrame
number of retries for each measurement frame if a sample fails
Only used by single side RTT,
Range 0 - 3 Default value: 0
|
int |
numSamplesPerBurst
number of samples to be taken in one burst
Range: 1-31
Default value: 8
|
int |
preamble
preamble used for RTT measurement
Range: PREAMBLE_LEGACY, PREAMBLE_HT, PREAMBLE_VHT
Default value: PREAMBLE_HT
|
int |
requestType
type of RTT measurement method.
|
boolean |
secure
Whether the secure RTT protocol needs to be used for ranging this peer device.
|
Constructor and Description |
---|
RttParams() |
public int deviceType
public int requestType
public boolean secure
public String bssid
public int frequency
public int channelWidth
public int centerFreq0
public int centerFreq1
@Deprecated public int num_samples
numSamplesPerBurst
@Deprecated public int num_retries
numRetriesPerMeasurementFrame
API.public int numberBurst
public int interval
public int numSamplesPerBurst
public int numRetriesPerMeasurementFrame
public int numRetriesPerFTMR
public boolean LCIRequest
public boolean LCRRequest
public int burstTimeout
public int preamble
public int bandwidth