Fingerprint and demo library for ARM-STM32 made from the Arduino library for R503
Dependents: R503_fingerprint_HelloWorldV4
Fingerprint_Packet Struct Reference
! Helper class to craft UART packets More...
#include <Fingerprint.h>
Public Member Functions | |
Fingerprint_Packet (uint8_t type, uint16_t length, uint8_t *data) | |
Create a new UART-borne packet. | |
Data Fields | |
uint16_t | start_code |
"Wakeup" code for packet detection | |
uint8_t | address [4] |
32-bit Fingerprint sensor address | |
uint8_t | type |
Type of packet. | |
uint16_t | length |
Length of packet. | |
uint8_t | data [64] |
The raw buffer for packet payload. |
Detailed Description
! Helper class to craft UART packets
Definition at line 99 of file Fingerprint.h.
Constructor & Destructor Documentation
Fingerprint_Packet | ( | uint8_t | type, |
uint16_t | length, | ||
uint8_t * | data | ||
) |
Create a new UART-borne packet.
- Parameters:
-
type Command, data, ack type packet length Size of payload data Pointer to bytes of size length we will memcopy into the internal buffer
Definition at line 111 of file Fingerprint.h.
Field Documentation
uint8_t address[4] |
32-bit Fingerprint sensor address
Definition at line 126 of file Fingerprint.h.
uint8_t data[64] |
The raw buffer for packet payload.
Definition at line 129 of file Fingerprint.h.
uint16_t length |
Length of packet.
Definition at line 128 of file Fingerprint.h.
uint16_t start_code |
"Wakeup" code for packet detection
Definition at line 125 of file Fingerprint.h.
uint8_t type |
Type of packet.
Definition at line 127 of file Fingerprint.h.
Generated on Thu Jul 14 2022 22:39:35 by 1.7.2