Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andy B-S
Companion App Android
Commits
c2466320
Commit
c2466320
authored
Aug 23, 2019
by
Stefan Zabka
Browse files
changed write type
parent
56652f40
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/de/ccc/events/badge/card10/Constants.kt
View file @
c2466320
...
...
@@ -56,6 +56,7 @@ enum class PersonalState(val v: Int) {
CHAOS
(
0x0200
),
COMMUNICATION
(
0x0300
),
CAMP
(
0x0400
)
}
val
LEDS_ABOVE_CHARACTERISTIC_UUID
=
UUID
.
fromString
(
"42230220-2342-2342-2342-234223422342"
)
...
...
app/src/main/java/de/ccc/events/badge/card10/time/Card10Service.kt
View file @
c2466320
...
...
@@ -41,8 +41,7 @@ class Card10Service(
timeCharacteristic
.
writeType
=
BluetoothGattCharacteristic
.
WRITE_TYPE_NO_RESPONSE
rocketsCharacteristic
.
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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment