WiFi101 - WiFi.APClientMacAddress()

Description

Gets the MAC Address of the client connected in AP (access point) mode.

Syntax

WiFi.APClientMacAddress(mac);

Parameters

mac: a 6 byte array to hold the MAC address

Returns

byte array : 6 bytes representing the MAC address of the client connected to the AP. Will be 00:00:00:00:00:00 if there is no client connected.