3

Is it possible to make a loopback Bluetooth connection in an Android phone so that one service can connect to another within the same phone (or even to itself)?

The idea is to use it so I can test a multi-player game that uses Bluetooth to communicate between players.

theblitz
  • 6,683
  • 16
  • 60
  • 114
  • Get yourself an Android-X86 distro and usb bluetooth dongle that will be supported by it. One can use VirtualBOX for painless installation (with usb access being enabled) – kagali-san Jun 27 '11 at 19:18

2 Answers2

2

No it is not possible for bluetooth services to connect to itself or other services on the same phone.

Dennis Mathews
  • 6,897
  • 2
  • 26
  • 39
  • Bluetooth spec clearly describes "loopback mode " ability - same as ANY other I/O device. –  Dec 28 '19 at 14:40
0

You can for testing purposes according to the Bluetooth Spec.

Bluetooth5.3 Specs

Link to spec pdf as of posting date:

https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=521059

Page 798

Amartel
  • 101