Server API
API that can enable server matching or controls the device from the BioStar application.
Due to the issues with the management of UFMatcher.dll which was provided by a separate independent Corporation, Runnable examples will not be available anymore.
Please reference the prior examples at the code level only.
Other technical supports including fingerprint libraries for server matching can be provided by Xperix.
Xperix : https://www.xperix.com/
BS2_SetServerMatchingHandler
Registers callback functions that can distinguish whether the card, fingerprint, user ID corresponds.
BS2_VerifyUser
Transfers user information mapped to the card or user ID authentication results to the device.
BS2_IdentifyUser
Transfers user information mapped to the fingerprint authentication results to the device.
BS2_VerifyUserEx
+ 2.4.0 Transfers user information mapped to the card or user ID authentication results to the device.
BS2_IdentifyUserEx
+ 2.4.0 Transfers user information mapped to the fingerprint authentication results to the device.
BS2_VerifyUserSmall
+ v2.6.3 Transfers user information mapped to the card or user ID authentication results to the device.
BS2_IdentifyUserSmall
+ v2.6.3 Transfers user information mapped to the fingerprint authentication results to the device.
BS2_VerifyUserSmallEx
+ v2.6.3 Transfers user information mapped to the card or user ID authentication results to the device.
BS2_IdentifyUserSmallEx
+ v2.6.3 Transfers user information mapped to the fingerprint authentication results to the device.
BS2_VerifyUserFaceEx
+ v2.7.2 Transfers user information mapped to the card or user ID authentication results to the device.
BS2_SetUserPhraseHandler
+ v2.7.0 Registers the server user phrase handler.
BS2_ResponseUserPhrase
+ v2.7.0 Transfers the user phrase to the device.
BS2_SetBarcodeScanListener
+ v2.8.2 Register the listener function that detects barcode input.
BS2_SetOsdpStandardDeviceStatusListener
+ v2.9.1 Register a listener function that detects state changes of the OSDP device.
Callback Function
typedef void (*OnVerifyUser)(uint32_t deviceId, uint16_t seq, uint8_t isCard, uint8_t cardType, const uint8_t* data, uint32_t dataLen);
typedef void (*OnIdentifyUser)(uint32_t deviceId, uint16_t seq, uint8_t format, const uint8_t* templateData, uint32_t templateSize);
-
OnVerifyUserCallback function that is called when the BioStar application needs to distinguish whether the card or user ID matches.
-
OnIdentifyUserCallback function that is called when the BioStar application needs to distinguish whether the fingerprint matches.
OnUserPhrase
Callback function asking for user phrase to the server.
typedef void (*OnUserPhrase)(uint32_t deviceId, uint16_t seq, const char* userID);
-
deviceIdDevice ID
-
seqPacket sequence
-
userIDUser ID
OnBarcodeScanned
Callback function called when barcode is scanned on the device.
typedef void (*OnBarcodeScanned)(uint32_t deviceId, const char* barcode);
-
deviceIdDevice ID that sent the scanned barcode.
-
barcodeBarcode string read from device.
OnOsdpStandardDeviceStatusChanged
This is a callback function that is called when the state of the OSDP device changes.
typedef void (*OnOsdpStandardDeviceStatusChanged)(uint32_t deviceId, const BS2OsdpStandardDeviceNotify* notifyData);
-
deviceIdOSDP device identifier.
-
notifyDataOSDP device information.