Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Macros | Functions
u2f_transport.c File Reference
#include <string.h>
#include "os.h"
#include "os_math.h"
#include "os_utils.h"
#include "os_io.h"
#include "u2f_types.h"
#include "u2f_transport.h"
Include dependency graph for u2f_transport.c:

Go to the source code of this file.

Macros

#define LOG_IO(...)
 

Functions

void U2F_TRANSPORT_init (u2f_transport_t *handle, uint8_t type)
 
void U2F_TRANSPORT_rx (u2f_transport_t *handle, uint8_t *buffer, uint16_t length)
 
void U2F_TRANSPORT_tx (u2f_transport_t *handle, uint8_t cmd, const uint8_t *buffer, uint16_t length, uint8_t *tx_packet_buffer, uint16_t tx_packet_buffer_size)
 

Macro Definition Documentation

◆ LOG_IO

#define LOG_IO (   ...)

Definition at line 37 of file u2f_transport.c.

Function Documentation

◆ U2F_TRANSPORT_init()

void U2F_TRANSPORT_init ( u2f_transport_t handle,
uint8_t  type 
)

Definition at line 165 of file u2f_transport.c.

◆ U2F_TRANSPORT_rx()

void U2F_TRANSPORT_rx ( u2f_transport_t handle,
uint8_t *  buffer,
uint16_t  length 
)

Definition at line 176 of file u2f_transport.c.

◆ U2F_TRANSPORT_tx()

void U2F_TRANSPORT_tx ( u2f_transport_t handle,
uint8_t  cmd,
const uint8_t *  buffer,
uint16_t  length,
uint8_t *  tx_packet_buffer,
uint16_t  tx_packet_buffer_size 
)

Definition at line 185 of file u2f_transport.c.