Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:server_api [2023/02/28 15:54]
mwkim
en:server_api [2024/04/09 19:04] (current)
alex [Server API]
Line 21: Line 21:
   * [[BS2_SetUserPhraseHandler]]:​​ [+ 2.7.0] Registers 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.
 +  * [[BS2_SetBarcodeScanListener]]:​ [+2.8.2] Register the listener function that detects barcode input.
   * [[BS2_SetOsdpStandardDeviceStatusListener]]:​ [+ 2.9.1] Register a listener function that detects state changes of the OSDP device.   * [[BS2_SetOsdpStandardDeviceStatusListener]]:​ [+ 2.9.1] Register a listener function that detects state changes of the OSDP device.
 ===== Callback Function ====== ===== Callback Function ======
Line 55: Line 56:
 \\ \\
 1. //​deviceId//​ \\  1. //​deviceId//​ \\ 
-Callback function called when barcode is scanned on the device.  \\ \\ +Device ID that sent the scanned barcode.  \\ \\ 
 2. //barcode// \\  2. //barcode// \\ 
 Barcode string read from device. ​ \\ \\  Barcode string read from device. ​ \\ \\