Skip to content

WiFiDrv

詳細情報

メンバー

wifiDriverInit()

void WiFiDrv::wifiDriverInit()

wifiSetNetwork()

int8_t WiFiDrv::wifiSetNetwork(char *ssid, uint8_t ssid_len)

引数

  • char * ssid
  • uint8_t ssid_len

戻り値

int8_t

wifiSetPassphrase()

int8_t WiFiDrv::wifiSetPassphrase(char *ssid, uint8_t ssid_len, const char *passphrase, const uint8_t len)

引数

  • char * ssid
  • uint8_t ssid_len
  • constchar * passphrase
  • constuint8_t len

戻り値

int8_t

wifiSetKey()

int8_t WiFiDrv::wifiSetKey(char *ssid, uint8_t ssid_len, uint8_t key_idx, const void *key, const uint8_t len)

引数

  • char * ssid
  • uint8_t ssid_len
  • uint8_t key_idx
  • constvoid * key
  • constuint8_t len

戻り値

int8_t

config()

void WiFiDrv::config(uint8_t validParams, uint32_t local_ip, uint32_t gateway, uint32_t subnet)

引数

  • uint8_t validParams
  • uint32_t local_ip
  • uint32_t gateway
  • uint32_t subnet

setDNS()

void WiFiDrv::setDNS(uint8_t validParams, uint32_t dns_server1, uint32_t dns_server2)

引数

  • uint8_t validParams
  • uint32_t dns_server1
  • uint32_t dns_server2

disconnect()

int8_t WiFiDrv::disconnect()

戻り値

int8_t

getConnectionStatus()

uint8_t WiFiDrv::getConnectionStatus()

戻り値

uint8_t

getMacAddress()

uint8_t * WiFiDrv::getMacAddress()

戻り値

uint8_t *

getIpAddress()

void WiFiDrv::getIpAddress(IPAddress &ip)

引数

  • IPAddress& ip

getSubnetMask()

void WiFiDrv::getSubnetMask(IPAddress &mask)

引数

  • IPAddress& mask

getGatewayIP()

void WiFiDrv::getGatewayIP(IPAddress &ip)

引数

  • IPAddress& ip

getCurrentSSID()

char * WiFiDrv::getCurrentSSID()

戻り値

char *

getCurrentBSSID()

uint8_t * WiFiDrv::getCurrentBSSID()

戻り値

uint8_t *

getCurrentRSSI()

int32_t WiFiDrv::getCurrentRSSI()

戻り値

int32_t

getCurrentEncryptionType()

uint8_t WiFiDrv::getCurrentEncryptionType()

戻り値

uint8_t

startScanNetworks()

int8_t WiFiDrv::startScanNetworks()

戻り値

int8_t

getScanNetworks()

uint8_t WiFiDrv::getScanNetworks()

戻り値

uint8_t

getSSIDNetoworks()

char * WiFiDrv::getSSIDNetoworks(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

char *

getRSSINetoworks()

int32_t WiFiDrv::getRSSINetoworks(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

int32_t

getEncTypeNetowrks()

uint8_t WiFiDrv::getEncTypeNetowrks(uint8_t networkItem)

引数

  • uint8_t networkItem

戻り値

uint8_t

getHostByName()

int WiFiDrv::getHostByName(const char *aHostname, IPAddress &aResult)

引数

  • constchar * aHostname
  • IPAddress& aResult

戻り値

int

getFwVersion()

char * WiFiDrv::getFwVersion()

戻り値

char *