BluetoothSerial
BluetoothSerial copied to clipboard
How to get connected Device Id or Name?
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.
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.