Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
49
Usage # ./onebox_util <base_interface> set_bgscan_params
<bgscan_threshold> <rssi_tolerance_threshold> <periodicity>
<active_scan_duration> <passive_scan_duration>
<two_probe_enable> <num_of_bgscan_channels>
<channels_to_scan>
Example The command given below enables Background Scan with a
scan threshold of 10, RSSI tolerance threshold of 10, periodicity
of 3 seconds, active scan duration of 20 milliseconds, passive
scan duration of 100 milliseconds, two-probe enabled and the
channels 36, 40 and 44.
# ./onebox_util rpine0 set_bgscan_params 10 10 3 20 100 1 3 36
40 44
Note In order to select 11J channels 8, 12, 16, enter the channel
number as 8J, 12J, 16J respectively.
Remaining 11J channels can be selected with their channel
numbers.
Example:
# ./onebox_util rpine0 set_bgscan_params 10 10 3 20 100 1 4 36
40 44 8J
Host-Triggered Background
Scan (only in Client mode)
Description This command is used to trigger background scan without
waiting for the periodicity mentioned in bgscan_parameters.
Default Value -
Input Parameters -
Output Parameter None
Reset Required No.
Usage # ./onebox_util <base_interface> do_bgscan
Example The command given below triggers background scan without
waiting for periodicity timeout.
# ./onebox_util rpine0 do_bgscan
Note:The do_bgscan command has to be followed by
set_bgscan_params command.