Arduino Function: WiFi.BSSID

Description

This function gets the MAC address of the router you are connected to.

Syntax

WiFi.BSSID(bssid);

Parameters

  • bssid : 6 byte array

Returns

 A byte array containing the MAC address of the router the WiFi shield is currently connected to.


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc