Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 415 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 415 Bytes

AirPods CLI

Connect/disconnect AirPods from the Command Line

build

swiftc AirPods.swift

run

With argument

Pass AirPods MAC address as an argument:

./AirPods 00-00-00-00-00-00

Without config

  1. Create .airpods file in your home directory containing your AirPods MAC address.
  2. Run:
./AirPods

To find out your AirPods MAC address try:

swift ListDevices.swift