Looks up a BLE peripheral by its identifier. Hammerspoon must have seen the peripheral in a scan, or Bluetooth must already be in use, for it to be found. This lookup doesn't start Bluetooth itself, so it never shows the permission prompt.
The peripheral's identifier, a UUID
identifier
The HSBluetoothPeripheral, or null if it isn't known
HSBluetoothPeripheral
null
Looks up a BLE peripheral by its identifier. Hammerspoon must have seen the peripheral in a scan, or Bluetooth must already be in use, for it to be found. This lookup doesn't start Bluetooth itself, so it never shows the permission prompt.