Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mock a bluetooth device

I have to mock a bluetooth device that would first pair with an Android device and then send predefined data to an Android app. I have no access to source code of the app, but I managed to get bluetooth communication packets sent between devices (using wireshark and btsnoop_hci.log). After pairing is done, data could be sent in an infinite loop.

Having this limited info, is there a way to mock such a bluetooh device? Can it be done on a PC or additional hardware is needed?

I'm not a developer, but I have some minor programming experience, mostly in JAVA. Any hint on the subject would be beneficial.

like image 372
lengo Avatar asked Dec 18 '25 06:12

lengo


1 Answers

You could turn your Smartphone in peripheral mode

Here are some infos on how to do this: https://www.quora.com/What-all-Android-phones-support-BLE-peripheral-mode

like image 155
matdev Avatar answered Dec 19 '25 19:12

matdev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!