Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpacehuhnTech/espwebtool
/ formatMacAddr
Function
formatMacAddr
src/lib/esp.js:11–13 ·
view source on GitHub ↗
(macAddr)
Source
from the content-addressed store, hash-verified
9
};
10
11
const
formatMacAddr = (macAddr) => {
12
return
macAddr.map((value) => value.toString(16).toUpperCase().padStart(2,
'0'
)).join(
':'
)
13
}
14
15
const
sleep = (ms) => {
16
return
new
Promise((resolve) => setTimeout(resolve, ms));
Callers
1
clickConnect
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected