-
Couldn't load subscription status.
- Fork 7.7k
Is there a difference between WiFi.softAP() and WiFi.AP.begin()? #11893
-
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.
All reactions
WiFi.AP and WiFi.STA are the new interfaces and are cleaner and more understandable. WiFi.softAP and WiFi.begin call WiFi.AP.create and WiFi.STA.connect respectfully and are kept for backward compatibility
Replies: 1 comment
-
WiFi.AP and WiFi.STA are the new interfaces and are cleaner and more understandable. WiFi.softAP and WiFi.begin call WiFi.AP.create and WiFi.STA.connect respectfully and are kept for backward compatibility
Beta Was this translation helpful? Give feedback.