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:18] yjjung [Server API] |
en:server_api [2020/07/29 13:22] yjjung [OnUserPhrase] |
||
---|---|---|---|
Line 33: | Line 33: | ||
2. //OnIdentifyUser// \\ | 2. //OnIdentifyUser// \\ | ||
Callback function that is called when the BioStar application needs to distinguish whether the fingerprint matches. \\ | Callback 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. | ||
+ | <code cpp> | ||
+ | typedef void (*OnUserPhrase)(uint32_t deviceId, uint16_t seq, const char* userID); | ||
+ | </code> | ||
+ | \\ | ||
+ | |||
+ | 1. //deviceId// \\ | ||
+ | Device ID \\ \\ | ||
+ | 2. //seq// \\ | ||
+ | Packet sequence \\ \\ | ||
+ | 3. //userID// \\ | ||
+ | User ID \\ \\ | ||
+ |