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 Both sides next revision
en:server_api [2021/08/06 15:09]
kateyu
en:server_api [2022/04/21 10:10]
mark
Line 46: Line 46:
 3. //userID// \\  3. //userID// \\ 
 User ID  \\ \\  User ID  \\ \\ 
 +
 +==== OnBarcodeScanned ====
 +장치에서 barcode가 scan 되었을 때 호출되는 콜백 함수입니다. ​ \\ \\ 
 +<code cpp>
 +typedef void (*OnBarcodeScanned)(uint32_t deviceId, const char* barcode);
 +</​code>​
 +\\
 +1. //​deviceId//​ \\ 
 +읽혀진 barcode를 보내준 장치 ID입니다. ​ \\ \\ 
 +2. //barcode// \\ 
 +장치로부터 읽혀진 barcode 문자열입니다. ​ \\ \\ 
 +