Chapter 3 – Sample Application
3.1 Sample Application - Inventory
Description:
Inventory
application using SDK.
Source
Dir:
rm300-sdk/host/rfid_library/samples
Hierarchy of /host/rfid_library/samples/
inventory_live
:
inventory_live.c
: Main program code
SConscript
: Makefile of inventory_live using scons
Output
Dir:
rm300-sdk/bin/linux/x86_64
Target
App:
inventory_live
1. Build:
$
cd rm300-sdk
$
scons
2. Run (UART port: /dev/ttyUSB0)
$
cd rm300-sdk/bin/linux/x86_64
$
echo “port=/dev/ttyUSB0” > RFIDcomm.cfg
$
sudo ./inventory_live
- 9 -
©
2020 unitech Electronics Co., Ltd. All rights reserved.
unitech is a registered trademark of unitech Electronics Co., Ltd.
All product and company names are trademarks, service marks, or registered trademarks of their respective owners