Adafruit Fingerprint Arduino Library
Public Member Functions | Public Attributes | List of all members
Adafruit_Fingerprint_Packet Struct Reference

! Helper class to craft UART packets More...

#include <Adafruit_Fingerprint.h>

Public Member Functions

 Adafruit_Fingerprint_Packet (uint8_t type, uint16_t length, uint8_t *data)
 Create a new UART-borne packet. More...
 

Public Attributes

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

Constructor & Destructor Documentation

◆ 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
typeCommand, data, ack type packet
lengthSize of payload
dataPointer to bytes of size length we will memcopy into the internal buffer

The documentation for this struct was generated from the following file: