Skip to content

Commit

Permalink
Update BaseBluetoothChatService.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Feb 9, 2024
1 parent f5efd56 commit 959499c
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ open class BaseBluetoothChatService @JvmOverloads constructor(handler: Handler?
var mNewState: Int
var bNoReconnect = false
var state: Int
// private AcceptThread mSecureAcceptThread;
//private AcceptThread mInsecureAcceptThread;

val mAdapter: BluetoothAdapter? by lazy {
(applicationContext?.getSystemService(Context.BLUETOOTH_SERVICE) as? BluetoothManager)?.adapter
Expand Down Expand Up @@ -109,15 +107,9 @@ open class BaseBluetoothChatService @JvmOverloads constructor(handler: Handler?
}

companion object {
// Debugging
const val TAG = "BluetoothChatService"
const val DISCONNECT_ACTION = "disconnect"
//private static final String NAME_INSECURE = "BluetoothChatInsecure";
// well-known SPP UUID 00001101-0000-1000-8000-00805F9B34FB
val MY_UUID_SECURE = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB")
var mHandler: Handler? = null

}
// private BluetoothSocket socket = null;

}

0 comments on commit 959499c

Please sign in to comment.