BluetoothSerial
BluetoothSerial copied to clipboard
Allows the plugin to connect Android to Android
I made some minor modifications to allow android-to-android connections based on the fork of tomvanenckevort
@luccasr73 thanks for the pull request.
This can't be merged as-is because replacing the UUID breaks the existing RFCOMM SPP functionality. https://github.com/don/BluetoothSerial/pull/360/commits/0210bcb5905d50766441416512512378f2f9df19
Each app should probably have unique UUIDs so these would need to be configured through Cordova plugin parameters.
There should be an explicit API call to start listening for connections with bluetoothSerialService.start() rather than automatically listening for connections.