|
Embedded SDK
Embedded SDK
|


Go to the source code of this file.
Classes | |
| struct | u2f_transport_t |
Macros | |
| #define | U2F_FORBIDDEN_CID (0x00000000) |
| #define | U2F_BROADCAST_CID (0xFFFFFFFF) |
Enumerations | |
| enum | u2f_transport_type_t { U2F_TRANSPORT_TYPE_USB_HID = 0x00 , U2F_TRANSPORT_TYPE_BLE = 0x01 } |
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_packer_buffer, uint16_t tx_packet_buffer_size) |
| #define U2F_BROADCAST_CID (0xFFFFFFFF) |
Definition at line 56 of file u2f_transport.h.
| #define U2F_FORBIDDEN_CID (0x00000000) |
Definition at line 55 of file u2f_transport.h.
| enum u2f_transport_type_t |
| Enumerator | |
|---|---|
| U2F_TRANSPORT_TYPE_USB_HID | |
| U2F_TRANSPORT_TYPE_BLE | |
Definition at line 24 of file u2f_transport.h.
| void U2F_TRANSPORT_init | ( | u2f_transport_t * | handle, |
| uint8_t | type | ||
| ) |
Definition at line 170 of file u2f_transport.c.
| void U2F_TRANSPORT_rx | ( | u2f_transport_t * | handle, |
| uint8_t * | buffer, | ||
| uint16_t | length | ||
| ) |
Definition at line 181 of file u2f_transport.c.
| void U2F_TRANSPORT_tx | ( | u2f_transport_t * | handle, |
| uint8_t | cmd, | ||
| const uint8_t * | buffer, | ||
| uint16_t | length, | ||
| uint8_t * | tx_packer_buffer, | ||
| uint16_t | tx_packet_buffer_size | ||
| ) |
Definition at line 190 of file u2f_transport.c.