Embedded SDK
Embedded SDK
Functions
u2f_processing.h File Reference
#include "u2f_service.h"
Include dependency graph for u2f_processing.h:

Go to the source code of this file.

Functions

void u2f_message_complete (u2f_service_t *service)
 
void u2f_timeout (u2f_service_t *service)
 
void u2f_message_set_autoreply_wait_user_presence (u2f_service_t *service, bool enabled)
 
bool u2f_message_repliable (u2f_service_t *service)
 
void u2f_message_reply (u2f_service_t *service, uint8_t cmd, uint8_t *buffer, uint16_t length)
 

Function Documentation

◆ u2f_message_complete()

void u2f_message_complete ( u2f_service_t service)

Function called when a complete message is received

◆ u2f_message_repliable()

bool u2f_message_repliable ( u2f_service_t service)

Return true when a message can be replied using u2f_message_reply

◆ u2f_message_reply()

void u2f_message_reply ( u2f_service_t service,
uint8_t  cmd,
uint8_t buffer,
uint16_t  length 
)

Function to be called by the user when the reply to a previously completed message is ready to be sent

◆ u2f_message_set_autoreply_wait_user_presence()

void u2f_message_set_autoreply_wait_user_presence ( u2f_service_t service,
bool  enabled 
)

Auto reply user presence required until the real reply is ready to be replied

◆ u2f_timeout()

void u2f_timeout ( u2f_service_t service)

Function to be called upon timer event to notify the U2F library of potential