Skip to content

MacAddressSource

Namespace: CtrlDS4

enum MacAddressSource : uint8_t

Where the MAC address of a controller comes from.

Values

MacFromUniqueId

MacFromUniqueId = 0

Derived from the factory unique ID of the board.

MacFromSketch

MacFromSketch = 1

Set by the sketch with Controller::setMacAddress().

MacFallback

MacFallback = 2

Fixed address, used when the board has no usable unique ID.