Skip to content
Snippets Groups Projects
Commit c2466320 authored by Stefan Zabka's avatar Stefan Zabka
Browse files

changed write type

parent 56652f40
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,7 @@ enum class PersonalState(val v: Int) { ...@@ -56,6 +56,7 @@ enum class PersonalState(val v: Int) {
CHAOS(0x0200), CHAOS(0x0200),
COMMUNICATION(0x0300), COMMUNICATION(0x0300),
CAMP(0x0400) CAMP(0x0400)
} }
val LEDS_ABOVE_CHARACTERISTIC_UUID = UUID.fromString("42230220-2342-2342-2342-234223422342") val LEDS_ABOVE_CHARACTERISTIC_UUID = UUID.fromString("42230220-2342-2342-2342-234223422342")
......
...@@ -41,8 +41,7 @@ class Card10Service( ...@@ -41,8 +41,7 @@ class Card10Service(
timeCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE timeCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE
rocketsCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE rocketsCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE
ledsAboveCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE ledsAboveCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE
personalStateCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_NO_RESPONSE personalStateCharacteristic.writeType = BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT
} }
fun setTime() { fun setTime() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment