ESP-IDF
s_mac_table
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
s_mac_table
s_mac_table variable
Syntax
Show:
Summary
Declaration
from
mac_addr.c:42
static
mac_t
s_mac_table
[
]
=
{
#if
SOC_WIFI_SUPPORTED
{
ESP_MAC_WIFI_STA
,
STATE_INIT
,
6
,
{
0
}
}
,
{
ESP_MAC_WIFI_SOFTAP
,
STATE_INIT
,
6
,
{
0
}
}
,
#endif
#ifdef
CONFIG_ESP_MAC_ADDR_UNIVERSE_BT
{
ESP_MAC_BT
,
STATE_INIT
,
6
,
{
0
}
}
,
#endif
{
ESP_MAC_ETH
,
STATE_INIT
,
6
,
{
0
}
}
,
#ifdef
SOC_IEEE802154_SUPPORTED
{
ESP_MAC_IEEE802154
,
STATE_INIT
,
ESP_MAC_ADDRESS_LEN
,
{
0
}
}
,
{
ESP_MAC_EFUSE_EXT
,
STATE_INIT
,
2
,
{
0
}
}
,
#endif
{
ESP_MAC_BASE
,
STATE_INIT
,
6
,
{
0
}
}
,
{
ESP_MAC_EFUSE_FACTORY
,
STATE_INIT
,
6
,
{
0
}
}
,
{
ESP_MAC_EFUSE_CUSTOM
,
STATE_INIT
,
6
,
{
0
}
}
,
}
;
Examples
References
from
examples
Code
Location
Referrer
static
mac_t
s_mac_table
[
]
=
{
mac_addr.c:42
for
(
int
idx
=
0
;
idx
<
ITEMS_IN_MAC_TABLE
;
idx
++
)
{
mac_addr.c:75
get_idx()
if
(
s_mac_table
[
idx
]
.
type
==
type
)
{
mac_addr.c:76
get_idx()
if
(
!
(
s_mac_table
[
idx
]
.
state
&
STATE_SET
)
)
{
mac_addr.c:89
get_mac_addr_from_mac_table()
esp_mac_type_t
type
=
s_mac_table
[
idx
]
.
type
;
mac_addr.c:90
get_mac_addr_from_mac_table()
err
=
get_efuse_factory_mac
(
s_mac_table
[
idx
]
.
mac
)
;
mac_addr.c:98
get_mac_addr_from_mac_table()
err
=
get_efuse_mac_custom
(
s_mac_table
[
idx
]
.
mac
)
;
mac_addr.c:104
get_mac_addr_from_mac_table()
s_mac_table
[
idx
]
.
state
=
STATE_SET
;
mac_addr.c:114
get_mac_addr_from_mac_table()
memcpy
(
mac
,
s_mac_table
[
idx
]
.
mac
,
s_mac_table
[
idx
]
.
len
)
;
mac_addr.c:122
get_mac_addr_from_mac_table()
for
(
int
idx
=
0
;
idx
<
ITEMS_IN_MAC_TABLE
;
idx
++
)
{
mac_addr.c:128
esp_mac_addr_len_get()
if
(
s_mac_table
[
idx
]
.
type
==
type
)
{
mac_addr.c:129
esp_mac_addr_len_get()
return
s_mac_table
[
idx
]
.
len
;
mac_addr.c:130
esp_mac_addr_len_get()
memcpy
(
s_mac_table
[
idx
]
.
mac
,
mac
,
s_mac_table
[
idx
]
.
len
)
;
mac_addr.c:159
esp_iface_mac_addr_set()
s_mac_table
[
idx
]
.
state
=
STATE_SET
;
mac_addr.c:160
esp_iface_mac_addr_set()
s_mac_table
[
idx
]
.
state
=
STATE_SET
;
mac_addr.c:354
esp_read_mac()
memcpy
(
s_mac_table
[
idx
]
.
mac
,
mac
,
s_mac_table
[
idx
]
.
len
)
;
mac_addr.c:355
esp_read_mac()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
s_mac_table
is read by 5 functions:
All items filtered out
s_mac_table
get_idx()
get_mac_addr_from_mac_table()
esp_mac_addr_len_get()
esp_iface_mac_addr_set()
esp_read_mac()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out