MCPcopy Create free account
hub / github.com/BruceDevices/firmware / macToString

Function macToString

src/core/net_utils.cpp:78–84  ·  view source on GitHub ↗

Função para converter MAC para string

Source from the content-addressed store, hash-verified

76
77// Função para converter MAC para string
78String macToString(const uint8_t *mac) {
79 char buf[18];
80 snprintf(
81 buf, sizeof(buf), "%02X:%02X:%02X:%02X:%02X:%02X", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]
82 );
83 return String(buf);
84}

Callers 5

_readArpTableFunction · 0.85
getGatewayMACFunction · 0.85
stationDeauthFunction · 0.85
setupMethod · 0.85
appendPeerToListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected