Connect to, or as an HID device using CoreBluetooth

Using the CoreBluetooth libs, is it possible to scan and connect to HID devices like mice and keyboards?

Also, is it possible to act as a HID device?

I've tried to scan all available bluetooth devices using:

[self.centralManager scanForPeripheralsWithServices:nil options:nil];

But it didn't list any HID devices.

I tried to act as a HID device using the UUID of a HID device, but when I ran a scan with my computer it didn't find it.

[[CBMutableService alloc] initWithType:[CBUUID UUIDWithString:HID_UDID] primary:YES];

Is this possible?

Answers


Need Your Help

ASIHTTPRequest, EXC_BAD_ACCESS when request did finished

iphone objective-c delegates selector asihttprequest

I'm trying to do an asynchronous request with ASIHTTPRequest, but have some problem getting notified when the request is done.

Why do some languages index from 0 and not 1? Efficiency?

language-agnostic indexing history

So in my lift in my flat the buttons aren't (being in the UK) labelled: G, 1, 2, 3 etc. Nor in the American fashion of: 1,2,3,4 etc.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.