Skip to content

WiFiScanClass

詳細情報

メンバー

scanNetworks()

int16_t WiFiScanClass::scanNetworks(bool async=false, bool show_hidden=false, bool passive=false, uint32_t max_ms_per_chan=300)

引数

  • bool async run in async mode
  • bool show_hidden show hidden networks
  • bool passive
  • uint32_t max_ms_per_chan

戻り値

int16_t Number of discovered networks

scanComplete()

called to get the scan state in Async mode

int16_t WiFiScanClass::scanComplete()

戻り値

int16_t scan result or status -1 if scan not fin -2 if scan not triggered

scanDelete()

delete last scan result from RAM

void WiFiScanClass::scanDelete()

getNetworkInfo()

bool WiFiScanClass::getNetworkInfo(uint8_t networkItem, String &ssid, uint8_t &encryptionType, int32_t &RSSI, uint8_t *&BSSID, int32_t &channel)

引数

  • uint8_t networkItem uint8_t
  • String & ssid const char**
  • uint8_t& encryptionType uint8_t *
  • int32_t& RSSI int32_t *
  • uint8_t& BSSID uint8_t *
  • int32_t& channel int32_t *

戻り値

bool (true if ok)

SSID()

String WiFiScanClass::SSID(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

String ssid string of the specified item on the networks scanned list

encryptionType()

wifi_auth_mode_t WiFiScanClass::encryptionType(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

wifi_auth_mode_t encryption type (enum wl_enc_type) of the specified item on the networks scanned list

RSSI()

int32_t WiFiScanClass::RSSI(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

int32_t signed value of RSSI of the specified item on the networks scanned list

BSSID()

uint8_t * WiFiScanClass::BSSID(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

uint8_t* uint8_t * MAC / BSSID of scanned wifi

BSSIDstr()

String WiFiScanClass::BSSIDstr(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

String String MAC / BSSID of scanned wifi

channel()

int32_t WiFiScanClass::channel(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

int32_t

_scanDone()

void WiFiScanClass::_scanDone()