I want to use a esp32 with a static private address in softAP mode, but only have two stations connect to it. Is there a way to do disable dhcp server? I still need the AP functionality but want a very small network. I could use a restrictive subnet, but want to shut down dhcp instead. Using Adafruit Huzzah and arduino IDE.
As far as I know you don't start it, it's started automatically as a convenient service. The softAP mode is commonly used for the first time configuration to integrate into an existing WiFi network. For such a purpose a DHCP server is more than convenient. Believe me, it won't need much resources. You cannot disable it using the official API AFAIK.