Home
last modified time | relevance | path

Searched refs:ESP_MAC_ADDRESS_LEN (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.5.0/components/esp_hw_support/
Dmac_addr.c24 #define ESP_MAC_ADDRESS_LEN 8 macro
26 #define ESP_MAC_ADDRESS_LEN 6 macro
30 static uint8_t base_mac_addr[ESP_MAC_ADDRESS_LEN] = { 0 };
43 memcpy(base_mac_addr, mac, ESP_MAC_ADDRESS_LEN); in esp_base_mac_addr_set()
53 …if (base_mac_addr[0] == 0 && memcmp(base_mac_addr, &base_mac_addr[1], ESP_MAC_ADDRESS_LEN - 1) == … in esp_base_mac_addr_get()
58 memcpy(mac, base_mac_addr, ESP_MAC_ADDRESS_LEN); in esp_base_mac_addr_get()
77 #if (ESP_MAC_ADDRESS_LEN == 8) in esp_efuse_mac_get_custom()
78 … err = esp_efuse_read_field_blob(ESP_EFUSE_MAC_EXT, &mac[6], ESP_MAC_ADDRESS_LEN * 8 - size_bits); in esp_efuse_mac_get_custom()
114 #if (ESP_MAC_ADDRESS_LEN == 8) in esp_efuse_mac_get_default()
115 … err = esp_efuse_read_field_blob(ESP_EFUSE_MAC_EXT, &mac[6], ESP_MAC_ADDRESS_LEN * 8 - size_bits); in esp_efuse_mac_get_default()
[all …]