BluetoothSerial icon indicating copy to clipboard operation
BluetoothSerial copied to clipboard

Allows the plugin to connect Android to Android

Open luccasr73 opened this issue 7 years ago • 1 comments

I made some minor modifications to allow android-to-android connections based on the fork of tomvanenckevort

luccasr73 avatar Apr 20 '18 19:04 luccasr73

@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.

don avatar May 03 '18 15:05 don