theblitz
theblitz

Reputation: 6881

Loopback in Android Bluetooth

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.

Upvotes: 4

Views: 2466

Answers (2)

Amartel
Amartel

Reputation: 101

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

Upvotes: 0

Dennis Mathews
Dennis Mathews

Reputation: 6975

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

Upvotes: 3

Related Questions