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
Last revision Both sides next revision
en:server_api [2023/02/28 15:52]
mwkim [Server API]
en:server_api [2023/03/08 09:15]
kkshin [OnBarcodeScanned]
Line 55: Line 55:
 \\ \\
 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. ​ \\ \\ 
  
 +
 +==== OnOsdpStandardDeviceStatusChanged ====
 +This is a callback function that is called when the state of the OSDP device changes. ​ \\ \\ 
 +<code cpp>
 +typedef void (*OnOsdpStandardDeviceStatusChanged)(uint32_t deviceId, const BS2OsdpStandardDeviceNotify* notifyData);​
 +</​code>​
 +\\
 +1. //​deviceId//​ \\ 
 +OSDP device identifier. ​ \\ \\ 
 +2. //​notifyData//​ \\ 
 +OSDP device information. ​ \\ \\