Is there a difference between WiFi.softAP() and WiFi.AP.begin()? #11893
              
                
                  
                  
                    Answered
                  
                  by
                    me-no-dev
                  
              
          
                  
                    
                      callsignhermit
                    
                  
                
                  asked this question in
                Q&A
              
            -
| Hi there ^^ While examining examples from the WiFi API, I noticed two different functions called to initiate the access point mode. This example uses WiFi.softAP, while here invokes WiFi.AP.begin and some other functions. Are there separate APIs available for running WiFi in access point mode? Which one is recommended? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            me-no-dev
          
      
      
        Oct 3, 2025 
      
    
    Replies: 1 comment
-
| 
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        callsignhermit
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
WiFi.APandWiFi.STAare the new interfaces and are cleaner and more understandable.WiFi.softAPandWiFi.begincallWiFi.AP.createandWiFi.STA.connectrespectfully and are kept for backward compatibility