hammerspoon2-docs
    Preparing search index...

    Function device

    • Looks up a device macOS knows by its Bluetooth address.

      Parameters

      • address: string

        The device's address, as "a4-83-e7-12-34-56" or "A4:83:E7:12:34:56"

      Returns HSBluetoothDevice | null

      The HSBluetoothDevice, or null if macOS doesn't know a device with that address