- Show paired devices
- Show nearby bluetooth connections
- Show pairing alert to any new BLE enabled device
- Toggle bluetooth connection with any BLE enabled device
To run this script, you will require XCode command line tools. You can download command line tools from this link
After downloading the scripts, go to terminal.
To run any script run run showPairing.swift
or show toggleBluetooth.swift
following device name with percentage encoding.
run showPairing.swift "Sumit's%20iPhone"
This will show pairing alert for Sumit's iPhone.