12#ifndef ZEPHYR_INCLUDE_AUTHENTICATION_FIDO2_FIDO2_H_
13#define ZEPHYR_INCLUDE_AUTHENTICATION_FIDO2_FIDO2_H_
FIDO2 shared type definitions.
int fido2_init(void)
Initialize the FIDO2 subsystem.
int fido2_stop(void)
Stop the FIDO2 authenticator.
fido2_runtime_state
Runtime states exposed by the FIDO2 subsystem.
Definition fido2.h:31
int fido2_set_state_callback(fido2_state_callback_t cb, void *user_data)
Set or clear a single FIDO2 runtime state callback.
void(* fido2_state_callback_t)(enum fido2_runtime_state state, void *user_data)
FIDO2 runtime state callback.
Definition fido2.h:54
int fido2_start(void)
Start the FIDO2 authenticator.
enum fido2_runtime_state fido2_get_state(void)
Get the current FIDO2 runtime state.
int fido2_reset(void)
Perform a factory reset.
@ FIDO2_RUNTIME_STATE_PROCESSING
FIDO2 is processing a command after user presence.
Definition fido2.h:39
@ FIDO2_RUNTIME_STATE_IDLE
FIDO2 is running and idle.
Definition fido2.h:35
@ FIDO2_RUNTIME_STATE_WAITING_USER_PRESENCE
FIDO2 is waiting for user presence confirmation.
Definition fido2.h:37
@ FIDO2_RUNTIME_STATE_STOPPED
FIDO2 is stopped and not handling commands.
Definition fido2.h:33
state
Definition parser_state.h:29