15 BusyTimerSnapshotTypeNotStarted,
16 BusyTimerSnapshotTypeInfinite,
17 BusyTimerSnapshotTypeSimple,
18 BusyTimerSnapshotTypeInterval,
19 BusyTimerSnapshotTypeMax,
20} BusyTimerSnapshotType;
23 char card_id[BUSY_TIMER_CARD_ID_LEN + 1];
33 uint32_t time_left_ms;
43 BusyTimerSnapshotType type;
75 const char* json_text,
76 size_t json_text_len);
Common BUSY application defines and variables.
Common BusyTimer types & macros.
char * busy_timer_snapshot_serialize(const BusyTimerSnapshot *snapshot)
Convert a BusyTimerSnapshot object to its JSON representation.
Definition busy_timer_snapshot.c:351
bool busy_timer_snapshot_is_valid(const BusyTimerSnapshot *snapshot)
Check whether a BusyTimerSnapshot object represents a valid state.
Definition busy_timer_snapshot.c:375
bool busy_timer_snapshot_deserialize(BusyTimerSnapshot *snapshot, const char *json_text, size_t json_text_len)
Load a BusyTimerSnapshot object from its JSON representation.
Definition busy_timer_snapshot.c:363
BusyApp configuration structure.
Definition busy_common.h:22
Definition busy_timer_common.h:59
Definition busy_timer_common.h:66
Definition busy_timer_snapshot.h:22
Definition busy_timer_snapshot.h:42
Definition busy_timer_snapshot.h:27
Definition busy_timer_snapshot.h:36
Definition busy_timer_snapshot.h:31