fix characteristic uuid change

This commit is contained in:
Jay 2017-08-23 22:32:15 +08:00
parent fff5b4a29c
commit aac20b696d
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class MainActivity : Activity() {
connectBtn.isEnabled = true
disconnectBtn.isEnabled = false
ble = PrinterBle(this@MainActivity, "43:43:A1:12:1F:AC", "dd535b71-8f05-4e30-beb0-6fa7ea3dfc3e", "00000002-8f05-4e30-beb0-6fa7ea3dfc3e")
ble = PrinterBle(this@MainActivity, "43:43:A1:12:1F:AC", "dd535b71-8f05-4e30-beb0-6fa7ea3dfc3e", "00000001-8f05-4e30-beb0-6fa7ea3dfc3e")
ble?.setOnStateChangeListener {
System.out.println("Now State is >>>> " + it)