Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
emul.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Siratul Islam <email@sirat.me>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_BIOMETRICS_EMUL_H_
14#define ZEPHYR_INCLUDE_DRIVERS_BIOMETRICS_EMUL_H_
15
16#include <stdbool.h>
18#include <zephyr/device.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
31
41void biometrics_emul_set_match_score(const struct device *dev, int score);
42
52void biometrics_emul_set_match_id(const struct device *dev, int id);
53
63void biometrics_emul_set_match_fail(const struct device *dev, bool fail);
64
74void biometrics_emul_set_capture_timeout(const struct device *dev, bool timeout);
75
85void biometrics_emul_set_image_quality(const struct device *dev, int quality);
86
97
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif /* ZEPHYR_INCLUDE_DRIVERS_BIOMETRICS_EMUL_H_ */
Main header file for biometrics driver API.
void biometrics_emul_set_match_fail(const struct device *dev, bool fail)
Set whether match operations should fail.
void biometrics_emul_set_capture_timeout(const struct device *dev, bool timeout)
Set whether capture operations should timeout.
enum biometric_led_state biometrics_emul_get_led_state(const struct device *dev)
Get the current LED state.
void biometrics_emul_set_match_score(const struct device *dev, int score)
Set the match score for the biometrics emulator.
void biometrics_emul_set_image_quality(const struct device *dev, int quality)
Set the image quality score.
void biometrics_emul_set_match_id(const struct device *dev, int id)
Set the template ID for identification matches.
biometric_led_state
Biometric LED states.
Definition biometrics.h:62
Runtime device structure (in ROM) per driver instance.
Definition device.h:513