Microchip® Advanced Software Framework

tstrM2MScan Struct Reference

Wi-Fi Scan Request.

This struct contains the Wi-Fi scan request.

See Also
tenuM2mScanCh
tenuM2mScanCh tstrM2MScanOption

#include <m2m_types.h>

Data Fields

uint8 __PAD24__ [3]
 
uint8 __PAD__ [PAD_SZ(1+M2M_MAX_SSID_LEN)]
 
uint8 __RSVD8__ [1]
 
uint8 au8SSID [M2M_MAX_SSID_LEN]
 
uint16 u16PassiveScanTime
 
uint8 u8ChNum
 

uint8 tstrM2MScan::__PAD24__[3]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MScan::__PAD__[PAD_SZ(1+M2M_MAX_SSID_LEN)]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MScan::__RSVD8__[1]

Reserved for future use.

uint8 tstrM2MScan::au8SSID[M2M_MAX_SSID_LEN]

SSID of the favorite Ap. If this AP is found after scan is completed, WILC will connect to it.

Referenced by m2m_wifi_request_scan_ssid().

uint16 tstrM2MScan::u16PassiveScanTime

The length of each scan slot in milliseconds. Refers to passive scan only. The device listens for beacons during this time. Valid settings are in the range 10<=PassiveScanTime<=1200. Default setting is M2M_SCAN_DEFAULT_PASSIVE_SLOT_TIME.

Referenced by m2m_wifi_request_scan_passive().

uint8 tstrM2MScan::u8ChNum

The Wi-Fi RF Channel number tenuM2mScanCh for possible channel values

The Wi-Fi RF Channel number

The Wi-Fi RF channel number

Referenced by m2m_wifi_request_scan(), m2m_wifi_request_scan_passive(), m2m_wifi_request_scan_ssid(), and m2m_wifi_request_scan_ssid_list().