1choice ESP32S2_UNIVERSAL_MAC_ADDRESSES 2 bool "Number of universally administered (by IEEE) MAC address" 3 default ESP32S2_UNIVERSAL_MAC_ADDRESSES_TWO 4 help 5 Configure the number of universally administered (by IEEE) MAC addresses. 6 During initialization, MAC addresses for each network interface are generated or derived from a 7 single base MAC address. 8 If the number of universal MAC addresses is Two, all interfaces (WiFi station, WiFi softap) receive a 9 universally administered MAC address. They are generated sequentially by adding 0, and 1 (respectively) 10 to the final octet of the base MAC address. If the number of universal MAC addresses is one, 11 only WiFi station receives a universally administered MAC address. 12 It's generated by adding 0 to the base MAC address. 13 The WiFi softap receives local MAC addresses. It's derived from the universal WiFi station MAC addresses. 14 When using the default (Espressif-assigned) base MAC address, either setting can be used. When using 15 a custom universal MAC address range, the correct setting will depend on the allocation of MAC 16 addresses in this range (either 1 or 2 per device.) 17 18 config ESP32S2_UNIVERSAL_MAC_ADDRESSES_ONE 19 bool "One" 20 select ESP_MAC_UNIVERSAL_MAC_ADDRESSES_ONE 21 select ESP_MAC_ADDR_UNIVERSE_WIFI_STA 22 23 config ESP32S2_UNIVERSAL_MAC_ADDRESSES_TWO 24 bool "Two" 25 select ESP_MAC_UNIVERSAL_MAC_ADDRESSES_TWO 26 select ESP_MAC_ADDR_UNIVERSE_WIFI_STA 27 select ESP_MAC_ADDR_UNIVERSE_WIFI_AP 28endchoice 29 30config ESP32S2_UNIVERSAL_MAC_ADDRESSES 31 int 32 default 1 if ESP32S2_UNIVERSAL_MAC_ADDRESSES_ONE 33 default 2 if ESP32S2_UNIVERSAL_MAC_ADDRESSES_TWO 34