Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:server_api [2020/07/29 13:21] yjjung |
en:server_api [2020/07/29 15:09] yjjung [Server API] |
||
---|---|---|---|
Line 13: | Line 13: | ||
Please try to copy the license file to example folder (Example > cli > csharp > common > lib > x86) and see if can use server matching.</callout> | Please try to copy the license file to example folder (Example > cli > csharp > common > lib > x86) and see if can use server matching.</callout> | ||
- | * [[BS2_SetServerMatchingHandler]]: Configures the server matching handler. | + | * [[BS2_SetServerMatchingHandler]]: Registers the server matching handler. |
* [[BS2_VerifyUser]]: Transfers user information mapped to the card or user ID authentication results to the device. | * [[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_IdentifyUser]]: Transfers user information mapped to the fingerprint authentication results to the device. | ||
Line 22: | Line 22: | ||
* [[BS2_VerifyUserSmallEx]]: [+ 2.6.3] Transfers user information mapped to the card or user ID authentication results to the device. | * [[BS2_VerifyUserSmallEx]]: [+ 2.6.3] Transfers user information mapped to the card or user ID authentication results to the device. | ||
* [[BS2_IdentifyUserSmallEx]]: [+ 2.6.3] Transfers user information mapped to the fingerprint authentication results to the device. | * [[BS2_IdentifyUserSmallEx]]: [+ 2.6.3] Transfers user information mapped to the fingerprint authentication results to the device. | ||
- | * [[BS2_SetUserPhraseHandler]]: [+ 2.7.0] Configures the server user phrase handler. | + | * [[BS2_SetUserPhraseHandler]]: [+ 2.7.0] Registers the server user phrase handler. |
* [[BS2_ResponseUserPhrase]]: [+ 2.7.0] Transfers the user phrase to the device. | * [[BS2_ResponseUserPhrase]]: [+ 2.7.0] Transfers the user phrase to the device. | ||
===== Callback Function ====== | ===== Callback Function ====== | ||
Line 37: | Line 37: | ||
==== OnUserPhrase ==== | ==== OnUserPhrase ==== | ||
- | 개인 메시지를 서버에 요청하는 콜백 함수입니다. | + | Callback function asking for user phrase to the server. |
<code cpp> | <code cpp> | ||
typedef void (*OnUserPhrase)(uint32_t deviceId, uint16_t seq, const char* userID); | typedef void (*OnUserPhrase)(uint32_t deviceId, uint16_t seq, const char* userID); | ||
Line 44: | Line 44: | ||
1. //deviceId// \\ | 1. //deviceId// \\ | ||
- | 장치 식별자입니다. \\ \\ | + | Device ID \\ \\ |
2. //seq// \\ | 2. //seq// \\ | ||
- | 패킷 일련번호입니다. \\ \\ | + | Packet sequence \\ \\ |
3. //userID// \\ | 3. //userID// \\ | ||
- | 사용자 ID 입니다. \\ \\ | + | User ID \\ \\ |