Skip to content
Snippets Groups Projects
Commit beb5b224 authored by Anon's avatar Anon
Browse files

Merge branch 'genofire/ble-personal-state' into 'master'

ble: card10 svc - add enum for personal state

See merge request card10/companion-app-android!22
parents f1c913ff cc9015f6
No related branches found
No related tags found
No related merge requests found
......@@ -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: Byte) {
NONE(0x0000),
NO_CONTACT(0x0100.toByte()),
CHAOS(0x0200.toByte()),
COMMUNICATION(0x0300.toByte()),
CAMP(0x0400.toByte())
}
val LEDS_ABOVE_CHARACTERISTIC_UUID = UUID.fromString("42230220-2342-2342-2342-234223422342")
val LIGHT_SENSOR_CHARACTERISTIC_UUID = UUID.fromString("422302f0-2342-2342-2342-234223422342")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment