ESP32 WiFi Library – AP Class

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
    The softAP 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
    The softAPConfig method is used to configure the softAP network settings for an ESP32 when it is functioning as a Wi-Fi access point.
  • softAPdisconnect
    The softAPdisconnect method is used to disconnect clients or stop the Soft Access Point (AP) functionality.
  • softAPsetHostname
    The softAPsetHostname method is used to set the hostname for the ESP32 when it is operating in Soft Access Point (Soft-AP) mode. 
  • softAPenableIPv6
    The softAPenableIPv6 method is used to enable IPv6 support for the ESP32’s Soft Access Point (Soft-AP) mode.

WiFi AP Information Category

  • softAPIP
    The softAPIP() method is used to retrieve the IP address of the ESP32’s soft Access Point (AP).
  • softAPmacAddress
    The softAPmacAddress() 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
    The softAPSSID method is used to get the SSID (network name) of the Wi-Fi Access Point (AP) created by the ESP32. 
  • softAPgetStationNum
    The softAPgetStationNum method is used to retrieve the number of client devices currently connected to the ESP32’s Soft Access Point (SoftAP). 
  • softAPBroadcastIP
    The softAPBroadcastIP() 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
    The softAPSubnetMask method is used to retrieve the subnet mask of the ESP32’s soft Access Point (AP).
  • softAPgetHostname
    The softAPgetHostname 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 Arduino Core Library


FAQ

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!

error: Content is protected !!