This struct contains the configuration options for Wi-Fi scan.
#include <m2m_types.h>
Data Fields | |
sint8 | s8RssiThresh |
uint8 | u8NumOfSlot |
uint8 | u8ProbesPerSlot |
uint8 | u8SlotTime |
sint8 tstrM2MScanOption::s8RssiThresh |
The Received Signal Strength Indicator threshold required for (fast) reconnection to an AP without scanning all channels first. Refers to active scan as part of reconnection to a previously connected AP. The device connects to the target AP immediately if it receives a sufficiently strong probe response on the expected channel. Low thresholds facilitate fast reconnection. High thresholds facilitate connection to the strongest signal. Valid settings are in the range -128<=Thresh<0. Default setting is M2M_FASTCONNECT_DEFAULT_RSSI_THRESH.
Referenced by m2m_validate_scan_options().
uint8 tstrM2MScanOption::u8NumOfSlot |
The number of scan slots per channel. Refers to both active and passive scan. Valid settings are in the range 0<Slots<=255. Default setting is M2M_SCAN_DEFAULT_NUM_SLOTS.
Referenced by m2m_validate_scan_options().
uint8 tstrM2MScanOption::u8ProbesPerSlot |
Number of probe requests to be sent for each scan slot (when not specifying network to scan). Number of probe requests to be sent for each ssid to scan in each scan slot (when specifying network to scan). Refers to active scan only. Valid settings are in the range 0<Probes<=2. Default setting is M2M_SCAN_DEFAULT_NUM_PROBE.
Referenced by m2m_validate_scan_options().
uint8 tstrM2MScanOption::u8SlotTime |
The length of each scan slot in milliseconds. Refers to active scan only. The device listens for probe responses and beacons during this time. Valid settings are in the range 10<=SlotTime<=250. Default setting is M2M_SCAN_DEFAULT_SLOT_TIME.
Referenced by m2m_validate_scan_options().