![]() ![]() ![]() ![]() mac: MAC address of the interface, length: 6 bytes.Then set the MAC address of the interface including wifi station and wifi softap. This function first get base MAC address using esp_base_mac_addr_get or reads base MAC address from EFUSE. Read base MAC address and set MAC address of the interface. Return base MAC address which is factory-programmed by Espressif in EFUSE.Įsp_err_t esp_read_mac (uint8_t * mac, esp_mac_type_t type ) ¶ Return ESP_OK on success ESP_ERR_INVALID_MAC base MAC address has not been set ParametersĮsp_err_t esp_efuse_mac_get_default (uint8_t * mac ) ¶ Return base MAC address which is set using esp_base_mac_addr_set. mac: base MAC address, length: 6 bytes.Įsp_err_t esp_base_mac_addr_get (uint8_t * mac ) ¶.If using base MAC address stored in EFUSE or external storage, call this API to set base MAC address with the MAC address which is stored in EFUSE or external storage before initializing WiFi. flash and EEPROM.īase MAC address is used to generate the MAC addresses used by the networking interfaces. Set base MAC address with the MAC address which is stored in EFUSE or external storage e.g. Functions ¶ esp_err_t esp_base_mac_addr_set (uint8_t * mac ) ¶
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |