I am working on an Arduino application which is dependant on a certain library. This library uses the Ethernet
class for network communications, but ideally, I would like it to be wireless (I have both an Ethernet and WiFi shield available for testing).
When working on replacing the Ethernet
functionality of the library with the corresponding WiFi
functionality, I noticed that the Ethernet.begin()
function requires a MAC address while the WiFi.begin()
doesn't (it instead accepts SSID and password, among a couple of other things).
As both come shipped with a MAC address sticker on them, I couldn't really figure out why this is the case (and if I need to supply the MAC address found on the WiFi shield in some other fashion).
Why is this the case?