Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulate a Bluetooth Device from PC

I wonder whether it is possible to emulate a specific bluetooth device like a Remote Controller for a TV or another device with my PC. I'd be okay with installing an additional hardware device for my computer (e. g. a BlueTooth PCIe card).

I imagined something like "recording" all single commands of my original remote controller using my Bluetooth card and afterwards use these recorded commands to turn on my TV for example.

Is something like this possible (with additional hardware maybe)?

like image 563
kentor Avatar asked Jan 21 '15 21:01

kentor


Video Answer


2 Answers

Of course this is possible. Bluetooth is just a protocol and you can impliment it in your custom software to emulate all kinds of devices. If you need to emulate simple devices like keyboard or mouse, there are many ready solutions like this.

But if you have non standard device, there won't be any ready solutions and you will have to implement it yourself. What can help you:

  1. If you have some kind of controller for PC and you want to emulate device with unknown protocol, you can use WireShark or other sniffer to understand what's going on.

  2. There is an emulator called BT-Sim, but it is so poorly documented that I can't even guess what it does.

  3. You can can take as example different android software like described in answers to this question.

  4. You can check different program samples for PC like this.

For hardware you need only simple Bluetooth dongle. However, if you want to spy on some BLE (Bluetooth Low Energy) devices, you can buy hardware sniffer like this.

like image 179
Jehy Avatar answered Sep 19 '22 09:09

Jehy


(At least in Windows 10) Microsoft Store has an application called "Bluetooth LE Explorer" which is able to simulate different kind of Bluetooth GATT profiles as a peripheral.

like image 40
sam_v Avatar answered Sep 20 '22 09:09

sam_v