I am making an application on INTEL XDK for smartphone and would like to capture the MAC Adrees value of the currently active Wifi Router, as well as the network name (SSID) and password, to make comparisons. Example: I have 3 routers with the same name and password, but with the values of MACs 'A', 'B' and 'C' respectively in my work and I want it when I connect to the Router with MAC Adrees = 'B' application enable some functions and inform me that I am connected on Router with SSID = 'work', Password = 'password' and MAC = 'B'.
How to manipulate the MAC Adrees (physical address) of the router?