14#define ACCOUNT_MODEL_LINK_PIN_LEN 4
19 AccountModelStateNotConnected,
20 AccountModelStateConnectedNotLinked,
21 AccountModelStateConnectedLinked,
25 AccountModelEventStateChange,
26 AccountModelEventPinGot,
27 AccountModelEventPinTimeout,
28 AccountModelEventLinkDone,
29 AccountModelEventUnlinked,
32typedef void (*AccountModelEventCallback)(
33 AccountModelEvent event,
35 time_t pin_valid_untill,
42AccountModelState account_model_get_state(
AccountModel* model);
46void account_model_get_email(
AccountModel* model, FuriString* email);
48void account_model_set_event_callback(
50 AccountModelEventCallback callback,
Definition account_model.c:6
TIME (Simple Network Time Protocol) service API.