WiFiAPClass¶
詳細情報¶
メンバー¶
softAP()¶
bool WiFiAPClass::softAP(const char *ssid, const char *passphrase=NULL, int channel=1, int ssid_hidden=0, int max_connection=4)
引数
- constchar *
ssid
Pointer to the SSID (max 63 char). - constchar *
passphrase
(for WPA2 min 8 char, for open use NULL) - int
channel
WiFi channel number, 1 - 13. - int
ssid_hidden
Network cloaking (0 = broadcast SSID, 1 = hide SSID) - int
max_connection
Max simultaneous connected clients, 1 - 4.
戻り値
bool
softAPConfig()¶
bool WiFiAPClass::softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet)
引数
- IPAddress
local_ip
access point IP - IPAddress
gateway
gateway IP - IPAddress
subnet
subnet mask
戻り値
bool
softAPdisconnect()¶
bool WiFiAPClass::softAPdisconnect(bool wifioff=false)
引数
- bool
wifioff
disable mode?
戻り値
bool one value of wl_status_t enum
softAPgetStationNum()¶
Get the count of the Station / client that are connected to the softAP interface
uint8_t WiFiAPClass::softAPgetStationNum()
戻り値
uint8_t Stations count
softAPIP()¶
Get the softAP interface IP address.
IPAddress WiFiAPClass::softAPIP()
戻り値
IPAddress softAP IP
softAPBroadcastIP()¶
Get the softAP broadcast IP address.
IPAddress WiFiAPClass::softAPBroadcastIP()
戻り値
IPAddress softAP broadcastIP
softAPNetworkID()¶
Get the softAP network ID.
IPAddress WiFiAPClass::softAPNetworkID()
戻り値
IPAddress softAP networkID
softAPSubnetCIDR()¶
Get the softAP subnet CIDR.
uint8_t WiFiAPClass::softAPSubnetCIDR()
戻り値
uint8_t uint8_t softAP subnetCIDR
softAPenableIpV6()¶
Enable IPv6 on the softAP interface.
bool WiFiAPClass::softAPenableIpV6()
戻り値
bool true on success
softAPIPv6()¶
Get the softAP interface IPv6 address.
IPv6Address WiFiAPClass::softAPIPv6()
戻り値
IPv6Address softAP IPv6
softAPgetHostname()¶
Get the softAP interface Host name.
const char * WiFiAPClass::softAPgetHostname()
戻り値
constchar * char array hostname
softAPsetHostname()¶
bool WiFiAPClass::softAPsetHostname(const char *hostname)
引数
- constchar *
hostname
pointer to const string
戻り値
bool true on success
softAPmacAddress()¶
uint8_t * WiFiAPClass::softAPmacAddress(uint8_t *mac)
引数
- uint8_t*
mac
pointer to uint8_t array with length WL_MAC_ADDR_LENGTH
戻り値
uint8_t pointer to uint8_t
softAPmacAddress()¶
Get the softAP interface MAC address.
String WiFiAPClass::softAPmacAddress(void)
戻り値
String String mac