diff options
author | uvok | 2025-08-02 18:56:34 +0200 |
---|---|---|
committer | uvok | 2025-08-02 19:00:02 +0200 |
commit | 98baf20860831957285a6d2acca1680bae15124f (patch) | |
tree | afe4265bd66cb0f7edb5d2137b528ce6a473f1fa /include/badge/ble.h | |
parent | b3027f3fd49e64d19a5054831117e4598f491ab9 (diff) |
Prepare having a display indicator
Diffstat (limited to 'include/badge/ble.h')
-rw-r--r-- | include/badge/ble.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/badge/ble.h b/include/badge/ble.h index 231b103..27b4749 100644 --- a/include/badge/ble.h +++ b/include/badge/ble.h @@ -1,13 +1,24 @@ #pragma once +#include "indicator.h" #include <stdint.h> namespace de::uvok::badge { + enum class BleActionType + { + None, + Template, + Indicator + }; + typedef struct { - bool has_data; - uint8_t new_template; + BleActionType action_type; + union { + uint8_t new_template; + DisplayIndicator new_indicator; + }; } ble_poll_result_t; void ble_init(void); |