Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
emul.h File Reference

Test helper APIs for the biometrics emulator. More...

#include <stdbool.h>
#include <zephyr/drivers/biometrics.h>
#include <zephyr/device.h>

Go to the source code of this file.

Functions

void biometrics_emul_set_match_score (const struct device *dev, int score)
 Set the match score for the biometrics emulator.
void biometrics_emul_set_match_id (const struct device *dev, int id)
 Set the template ID for identification matches.
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.
void biometrics_emul_set_image_quality (const struct device *dev, int quality)
 Set the image quality score.
enum biometric_led_state biometrics_emul_get_led_state (const struct device *dev)
 Get the current LED state.

Detailed Description

Test helper APIs for the biometrics emulator.