开发者

Detecting bluetooth headset button press

I'd like to build a system whereby I keep a netbook in my backpack, a bluetooth headset in my ear, and any time I hit the "talk button" on the headset, it records a voice memo to the netbook.

This is a question for any platform...

How ca开发者_JAVA技巧n I make an executable run whenever the TALK button on the BT headset is pressed?


You would be looking at Bluetooth SMART, or BLE.

A few points to note:

  • No pairing is required. The headset broadcast and your netbook listens.
  • Your headset has to support Bluetooth 4.0
  • Mac OSX and iOS supports BLE under the Core Bluetooth Framework. For other platforms you would have to do some searching.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜