Unjailbroken iPhone Control: AirPlay, Mac Bluetooth & ESP32-C3 HID
Unlike Android, iOS does not expose ADB touch injection. AgenMobi bridges real unjailbroken iPhones into the exact same Device Wall and AI chat flow through three supported channels.
Path 1: AirPlay (UxPlay) + Mac Built-in Bluetooth
Install UxPlay (with -vrtp support) and GStreamer on your Mac. Each iPhone card launches an isolated AirPlay receiver—connect from iOS Control Center -> Screen Mirroring using the card PIN, and AgenMobi records the iPhone identity after the first frame.
Enable AssistiveTouch on iPhone (Settings -> Accessibility -> Touch -> AssistiveTouch -> Devices -> Bluetooth Devices) and pair your Mac once. Select the Mac Bluetooth endpoint on the card, click "Test Pointer" to confirm cursor feedback, and start clicking or running AI chat directly on screen.
Path 2: Open-Source ESP32-C3 Multi-Peer Mouse Firmware
Need dedicated USB-to-BLE HID hardware for multi-phone stability? Flash firmware/AgenMobiC3Mouse/AgenMobiC3Mouse.ino onto any standard ESP32-C3 board over USB-C and pair "AgenMobi C3" in iPhone AssistiveTouch.
- Multi-Peer Endpoints: Modern firmware exposes one distinct endpoint per connected iPhone right inside the device card selector.
- Pointer 2 / 3 / 4 Protocols: Pointer 2 & 4 map visual screen feedback directly for tap and drag; Pointer 4 adds Home and App Switcher button mapping inside AssistiveTouch custom buttons.
- Transparent DIY Policy: AgenMobi does NOT sell physical ESP32-C3 boards or hardware kits—only the open-source firmware (MIT Non-Commercial License) is distributed here.
Path 3: iOS 27+ Wired USB CoreDevice
Devices running iOS 27 or newer join the Device Wall automatically over USB via Apple CoreDevice (the same channel used by Xcode 27 Device Hub) backed by pymobiledevice3.
AgenMobi detects pymobiledevice3 automatically in PATH, ~/.local/bin, /opt/homebrew/bin, or pipx virtualenvs—or specify a custom interpreter with AGENMOBI_PYTHON.
ESP32-C3 Firmware Protocol Generations & Calibration
Because iOS AssistiveTouch treats external Bluetooth pointers differently depending on firmware HID descriptor modes, AgenMobi supports Pointer 2, Pointer 3, and Pointer 4 multi-peer protocols in firmware/AgenMobiC3Mouse/AgenMobiC3Mouse.ino. Each iPhone card tracks pointer calibration independently and exposes a "Mouse Debug" panel with directional keys and standard click fallbacks whenever needed.
| Firmware Protocol | Pointer & Multi-Device Behavior | Home / App Switcher Keys |
|---|---|---|
| Pointer 4 (Recommended) | Multi-peer BLE HID: one endpoint per paired iPhone; visual screen feedback supports direct tap & drag. | Yes — assign "Home" and "App Switcher" buttons under iOS AssistiveTouch Custom Actions. |
| Pointer 3 | Attempts absolute pointer mapping first and falls back to relative movement if screen confirmation is unavailable. | Standard pointer + Mouse Debug directional keys. |
| Pointer 2 / Legacy | Pointer 2 supports direct tap/drag via screen feedback; earlier single-board firmware binds one board per card. | Re-pair in iOS Bluetooth settings if flashing changes the HID report descriptor. |
Note on AI Chat with iPhone AirPlay: Single-device AI conversations work on AirPlay iPhone cards once mirroring is live and a Bluetooth endpoint (Mac Bluetooth or ESP32-C3) has passed "Test Pointer" calibration.