! Helper class to craft UART packets
More...
#include <Adafruit_Fingerprint.h>
|
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.
|
|
! Helper class to craft UART packets
◆ Adafruit_Fingerprint_Packet()
Adafruit_Fingerprint_Packet::Adafruit_Fingerprint_Packet |
( |
uint8_t |
type, |
|
|
uint16_t |
length, |
|
|
uint8_t * |
data |
|
) |
| |
|
inline |
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 |
The documentation for this struct was generated from the following file: