Bluetooth Battery Status

Topics: Bluetooth - Other
Sep 13, 2012 at 9:48 PM

Hello there,

 

I`m using InTheHand library for bluetooth communication.

About that, i was wondering how am i supposed to get the battery level information of some Bluetooth device such as "Apple Keyboard" ?

OS X does inform us about the battery level of it, but i wasn`t cappable of doing that using the InTheHand library: Perhaps it`s something into keyboard hardware driver information?

 

Holding for more informations...

Developer
Sep 14, 2012 at 12:20 PM

The HID protocol is quite flexible and can transfer various types of information. Presumably the keyboard reports battery life over the HID connection. So use the Window HID APIs to get the battery level reports. Don't worry that its a Bluetooth HID device Windows sees it just as a HID device.

Sep 14, 2012 at 3:33 PM

Humm! Okay! So, i'll try to look for something like that.

Thanks!