BSB Developer Docs
Loading...
Searching...
No Matches
busy_timer_profile.h
Go to the documentation of this file.
1
4#pragma once
5
6#include <busy/busy_common.h>
7
8#include "busy_timer_common.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef enum {
15 BusyTimerProfileIdBusy,
16 BusyTimerProfileIdCustom,
17 BusyTimerProfileIdMax,
18} BusyTimerProfileId;
19
20typedef struct {
21 BusyAppConfig app_config;
22 BusyTimerConfig timer_config;
23 BusyTimerMetadata metadata;
24 time_t timestamp_ms;
26
27char* busy_timer_profile_serialize(const BusyTimerProfile* profile);
28
29bool busy_timer_profile_deserialize(
30 BusyTimerProfile* profile,
31 const char* json_text,
32 size_t json_text_len);
33
34bool busy_timer_profile_is_valid(const BusyTimerProfile* profile);
35
36#ifdef __cplusplus
37}
38#endif
Common BUSY application defines and variables.
Common BusyTimer types & macros.
BusyApp configuration structure.
Definition busy_common.h:22
Definition busy_timer_common.h:72
Definition busy_timer_common.h:49
Definition busy_timer_profile.h:20