@@ -18,7 +18,7 @@ struct RSID_API DeviceConfig
1818 Rotation_0_Deg = 0 , // default
1919 Rotation_180_Deg = 1 ,
2020 Rotation_90_Deg = 2 ,
21- Rotation_270_Deg =3
21+ Rotation_270_Deg = 3
2222 };
2323
2424 /* *
@@ -31,7 +31,7 @@ struct RSID_API DeviceConfig
3131 Medium = 1 , // medium security level
3232 Low = 2 , // low security level
3333 };
34-
34+
3535 /* *
3636 * @enum AlgoFlow
3737 * @brief Algorithms which will be used during authentication
@@ -44,15 +44,15 @@ struct RSID_API DeviceConfig
4444 RecognitionOnly = 3 // recognition only
4545 };
4646
47-
47+
4848 enum class DumpMode
4949 {
5050 None = 0 , // default
5151 CroppedFace = 1 , // sends snapshot of the detected face (as jpg)
5252 FullFrame = 2 , // sends left+right raw frames with metadata
5353 };
5454
55-
55+
5656 /* *
5757 * @brief Defines three confidence levels used by the Matcher during authentication.
5858 *
@@ -62,8 +62,8 @@ struct RSID_API DeviceConfig
6262 */
6363 enum class MatcherConfidenceLevel
6464 {
65- High = 0 ,
66- Medium = 1 ,
65+ High = 0 ,
66+ Medium = 1 ,
6767 Low = 2 // default
6868 };
6969
@@ -73,16 +73,27 @@ struct RSID_API DeviceConfig
7373 DumpMode dump_mode = DumpMode::None;
7474 MatcherConfidenceLevel matcher_confidence_level = MatcherConfidenceLevel::Low;
7575
76-
77- /* *
76+
77+ /* *
7878 * @brief Specifies the maximum number of consecutive spoofing attempts allowed before the device rejects further
7979 * authentication requests.
8080 *
8181 * Setting this value to 0 disables the check, which is the default behavior. If the number of consecutive spoofing
8282 * attempts reaches max_spoofs, the device will reject any subsequent authentication requests. To reset this
8383 * behavior and allow further authentication attempts, the device must be unlocked using the Unlock() API call.
8484 */
85- unsigned char max_spoofs = 0 ;
85+ unsigned char max_spoofs = 0 ;
86+
87+
88+ /* *
89+ * @brief Controls whether GPIO toggling is enabled(1) or disabled(0, default) after successful authentication.
90+ *
91+ * Set this value to 1 to enable toggling of GPIO pin #1 after each successful authentication.
92+ * Set this value to 0 to disable GPIO toggling (default).
93+ *
94+ * @note Only GPIO pin #1 can be toggled. Other values are not supported.
95+ */
96+ int gpio_auth_toggling = 0 ;
8697};
8798
8899RSID_API const char * Description (DeviceConfig::CameraRotation rotation);
0 commit comments