11
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ESP32でiOSにも繋がるBLE Mouse

Last updated at Posted at 2020-06-10

現象

下記ライブラリを使おうとすると、なぜかiPadにつながらない。
T-vK/ESP32-BLE-Mouse: Bluetooth LE Mouse library for the ESP32 (Arduino IDE compatible)

参考:
ESP32をBluetoothキーボードやマウスにする - Okiraku Programming

対策

Issues見てたら、解決方法載ってた。
~/Arduino/librariers/ESP32-BLE-Mouseにあるファイルを修正して、exampleをコンパイルして書き込んだら動いた。

そのうち、修正されるかも。

delete line 28 in BleMouse.cpp.
// REPORT_ID(1), 0x01, // REPORT_ID (1)

IoS 13 compatibility? · Issue #3 · T-vK/ESP32-BLE-Mouse

レポートID

HIDのなんか。深入りしちゃいけない気がしてきた。よくわからん。

HID/レポートID - おなかすいたWiki!
bluetooth lowenergy - iOS ignores input report of Consumer Page of HID over Gatt - Stack Overflow

11
5
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?