LibDriver AS608
Loading...
Searching...
No Matches
driver_as608_basic.h File Reference

driver as608 basic header file More...

Include dependency graph for driver_as608_basic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AS608_BASIC_SEND_CONFIG   0
 as608 basic send command configure
#define AS608_BASIC_DEFAULT_PORT   AS608_BOOL_TRUE
 as608 basic example default definition
#define AS608_BASIC_DEFAULT_BAUD_RATE   6
#define AS608_BASIC_DEFAULT_LEVEL   AS608_LEVEL_3
#define AS608_BASIC_DEFAULT_PACKET_SIZE   AS608_PACKET_SIZE_128_BYTES
#define AS608_BASIC_DEFAULT_PASSWORD   0x00000000
#define AS608_BASIC_DEFAULT_ADDRESS   0xFFFFFFFF
#define AS608_BASIC_DEFAULT_FEATURE   AS608_BUFFER_NUMBER_1
#define AS608_BASIC_DEFAULT_TIMEOUT   10

Functions

uint8_t as608_basic_init (uint32_t addr)
 basic example init
uint8_t as608_basic_deinit (void)
 basic example deinit
uint8_t as608_basic_print_status (as608_status_t status)
 basic example print status
uint8_t as608_basic_input_fingerprint (void(*callback)(int8_t status, const char *const fmt,...), uint16_t *score, uint16_t *page_number, as608_status_t *status)
 basic example input fingerprint
uint8_t as608_basic_verify (uint16_t *found_page, uint16_t *score, as608_status_t *status)
 basic example verify
uint8_t as608_basic_high_speed_verify (uint16_t *found_page, uint16_t *score, as608_status_t *status)
 basic example high speed verify
uint8_t as608_basic_delete_fingerprint (uint16_t page_number, as608_status_t *status)
 basic example delete fingerprint
uint8_t as608_basic_empty_fingerprint (as608_status_t *status)
 basic example empty fingerprint

Detailed Description

driver as608 basic header file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
1.0.0
Author
Shifeng Li
Date
2023-09-30

history

Date Version Author Description
2023/09/30 1.0 Shifeng Li first upload

Definition in file driver_as608_basic.h.