hammerspoon2-docs
    Preparing search index...

    Function interfaceDetails

    • Returns detailed information about a Wi-Fi interface.

      Parameters

      • Optionalinterface: string | null

        the interface name as returned by interfaces(); omit for the system's default Wi-Fi interface

      Returns Record<string, any> | null

      a table with keys interface, active, power, ssid, bssid, security, interfaceMode, activePHYMode, rssi, noise, transmitRate, transmitPower, countryCode, hardwareAddress, wlanChannel, supportedChannels, cachedScanResults, configuration; or null if the interface doesn't exist. ssid/bssid/countryCode/wlanChannel may be absent without Location Services authorization.