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
6e3515cb
Commit
6e3515cb
authored
Aug 22, 2019
by
genofire
Browse files
ble: card10 svc - add enum for personal state
parent
1f2eca7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/de/ccc/events/badge/card10/Constants.kt
View file @
6e3515cb
...
...
@@ -49,6 +49,15 @@ val DIM_TOP_CHARACTERISTIC_UUID = UUID.fromString("42230216-2342-2342-2342-23422
val
LEDS_POWERSAFE_CHARACTERISTIC_UUID
=
UUID
.
fromString
(
"42230217-2342-2342-2342-234223422342"
)
val
FLASHLIGHT_CHARACTERISTIC_UUID
=
UUID
.
fromString
(
"42230218-2342-2342-2342-234223422342"
)
val
PERSONAL_STATE_CHARACTERISTIC_UUID
=
UUID
.
fromString
(
"42230219-2342-2342-2342-234223422342"
)
enum
class
PersonalState
(
val
v
:
Int
)
{
NONE
(
0x0000
),
NO_CONTACT
(
0x0100
),
CHAOS
(
0x0200
)
COMMUNICATION
(
0x0300
)
CAMP
(
0x0400
).
}
val
LEDS_ABOVE_CHARACTERISTIC_UUID
=
UUID
.
fromString
(
"42230220-2342-2342-2342-234223422342"
)
val
LIGHT_SENSOR_CHARACTERISTIC_UUID
=
UUID
.
fromString
(
"422302f0-2342-2342-2342-234223422342"
)
...
...
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