start Socket
START bluetooth socket
do not open bluetooth socket since already connected to a BLE device avoid receiving multiple events from both classic bluetooth and BLE
See also
Parameters
context
Context the application context
open fun startSocket(@NonNull context: Context, startSocketIfCustomAccessoryOnly: Boolean)
Content copied to clipboard
open fun startSocket( @NonNull context: Context, @Nullable bluetoothDeviceAddress: String, startSocketIfCustomAccessoryOnly: Boolean)
Content copied to clipboard
START bluetooth socket
do not open bluetooth socket since already connected to a BLE device avoid receiving multiple events from both classic bluetooth and BLE
Parameters
context
Context the application context