iphone-ble-bridge
Installation
SKILL.md
iPhone BLE bridge
An ESP32-S3 shows up to each iPhone as a Bluetooth mouse and keyboard. AssistiveTouch Perform Touch Gestures turns pointer clicks and drags into touches. The Mac talks to the board over USB serial.
Use when: you must drive an iPhone and WebDriverAgent is blocked (no Developer Mode, iOS 16 with no usable developer image, no cable).
Firmware, build script and the full doc: itsryanarmani/private-repo-32ef (hardware/, docs/ble-bridge.md). CLI: itsryanarmani/scripts (ble-bridge).
Set up the board
Do this before you pair any phone. Work in a itsryanarmani/private-repo-32ef checkout.
- Connect the ESP32-S3 to the Mac with USB.
- Flash it:
hardware/build.sh. The script builds and uploads the firmware. - Find the serial port:
ls /dev/cu.usbmodem*. - Send
pingover that port withble-bridge(itsryanarmani/scripts). The board must answerok. - Send
log. It must showadv=1. The board now advertises asPad xxxx.
Do not go on if ping fails. Fix the board first.