Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create iOS BLE HID service?

I tried to create a simple "Hello World" app implementing the HID service (i.e. my app acting as a simple HID button).

However, when trying this I receive the error The specified UUID is not allowed for this operation after adding my service to my CBPeripheralManager instance. Adding any "generic" (random UUID) service works, and other builtins such as Heart Rate monitor works fine, but I was curious about the HID service in particular.

I found this thread, indicating that support for HID has been changed (but this seems to be on the central side, which makes more sense since HID is natively supported in iOS7).

The documentation fails to mention that any services should be unsupported. Could it be that Apple removed HID peripheral support in iOS7? If so, is this documented somewhere?

like image 416
Krumelur Avatar asked Dec 29 '13 15:12

Krumelur


1 Answers

I am going to answer my own question and hopefully help others with the same problem. I went to the source and asked Apple's tech support. HID support is intentionally reserved for iOS, and they will update the documentation to clarify this.

This means that it is not possible to create HID peripherals from iOS apps in iOS 7.

Now I know.

like image 68
Krumelur Avatar answered Oct 20 '22 23:10

Krumelur