Format MAC address in Wifi report
timotoots opened this issue · comments
Timo Toots commented
We need to use the mac address, but the format is not great. Change formatting like this:
el.BSSID.split(':').map((hex) => zpad(hex)).join(':') + '',
We have a feature here, but it changed places a few times. Maybe it's better to add straight to your code.
Rich Infante commented
That's a good idea, It may make sense to place this as a in a separate module in he util
directory, and require()
it as needed to avoid duplicating functionality as it may be needed elsewhere in the future.
Timo Toots commented
Ok, will do.
Rich Infante commented
Implemented in #17