This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
FindAccessPointByMACAddress
- FindAccessPointByMACAddress(macaddress, currentNode): AccessPoint
-
Look up AccessPoint object by MAC address of it or BSSID of one of radio interfaces.
If trusted node validation is enforced,
currentNodeshould point to execution context object (instance of NetObj,$nodein most cases). If trusted nodes are disabled (default server configuration),currentNodecan be omitted or set tonull.Table 1. Parameters macaddress
String
MAC address.
currentNode
Lookup context or
nullif trusted nodes validation is disabled. Optional parameter.ReturnInstance of AccessPoint object or
nullif not found or not accessible.ap = FindAccessPointByMACAddress("AA:34:33:44:14:55"); if (ap != NULL) println(ap.name); // Prints access point name if it is found