BluetoothSerial icon indicating copy to clipboard operation
BluetoothSerial copied to clipboard

How to get connected Device Id or Name?

Open aleemkhan opened this issue 8 years ago • 1 comments

Say I am already connected to the bluetooth using default interface of android. Now my cordova app is for a specific device. The default connection can be with same bluetooth device or any other bluetooth device. But how do I get inside my app if I am already connected to the same bluetooth device or not? Can this plugin achieve this or there is some way around to achieve this functionality.

aleemkhan avatar Jun 03 '18 16:06 aleemkhan

You app needs to manage which device it's connected to. I don't think there is currently a way to tell from the plugin. When you connect, save this to a variable in your app.

don avatar Jun 29 '18 17:06 don