Home / References / ESP32 Library / WiFi API
The Access Point (AP) class of the ESP32 Arduino WiFi Library enables the ESP32 to function as a standalone Wi-Fi access point, allowing other devices to connect directly without requiring an external router.
This class provides methods for configuring the network name (SSID), security settings, IP addressing, and client management. It is essential for applications requiring local network communication, such as IoT device control and data exchange.
WiFi AP Configuration Category
- softAP
ThesoftAP
method in the ESP32 WiFi library is used to set up the device as an Access Point (AP), allowing it to broadcast its own WiFi network. - softAPConfig
ThesoftAPConfig
method is used to configure the softAP network settings for an ESP32 when it is functioning as a Wi-Fi access point. - softAPdisconnect
ThesoftAPdisconnect
method is used to disconnect clients or stop the Soft Access Point (AP) functionality. - softAPsetHostname
ThesoftAPsetHostname
method is used to set the hostname for the ESP32 when it is operating in Soft Access Point (Soft-AP) mode. - softAPenableIPv6
ThesoftAPenableIPv6
method is used to enable IPv6 support for the ESP32’s Soft Access Point (Soft-AP) mode.
WiFi AP Information Category
- softAPIP
ThesoftAPIP()
method is used to retrieve the IP address of the ESP32’s soft Access Point (AP). - softAPmacAddress
ThesoftAPmacAddress()
method in the ESP32 WiFi library retrieves the MAC (Media Access Control) address of the ESP32 device when it is in Soft Access Point (SoftAP) mode. - softAPSSID
ThesoftAPSSID
method is used to get the SSID (network name) of the Wi-Fi Access Point (AP) created by the ESP32. - softAPgetStationNum
ThesoftAPgetStationNum
method is used to retrieve the number of client devices currently connected to the ESP32’s Soft Access Point (SoftAP). - softAPBroadcastIP
ThesoftAPBroadcastIP()
method is part of the ESP32 WiFi library. It retrieves the broadcast IP address of the ESP32 when it is operating in Access Point (AP) mode. - softAPSubnetMask
ThesoftAPSubnetMask
method is used to retrieve the subnet mask of the ESP32’s soft Access Point (AP). - softAPgetHostname
ThesoftAPgetHostname
method is used to retrieve the hostname of the ESP32 when it is configured as a Soft Access Point (Soft-AP).
ESP32 Library Index
- ESP32 WiFi Library
- ESP32 WiFiClient Library
- ESP32 HTTPClient Library
- ESP32 WiFiClientSecure Library
- ESP32 WebServer Library
- Which ESP32 Boards are Recommended for Learners
- How to Copy Codes from AvantMaker.com
- What is SPIFFS and how to upload files to it?
- What is LIttleFS and how to upload files to it?
Ready to experiment and explore more about ESP32? Visit our website’s All About ESP32 Resources Hub, packed with tutorials, guides, and tools to inspire your maker journey. Experiment, explore, and elevate your skills with everything you need to master this powerful microcontroller platform!