User's Manual
IDSmart UHF Security Gate User Manual
© Copyright 2014 ClarIDy Solutions, Inc. All rights reserved. 24/40
run the "./demo.sh" shell script.
sshuser@freescale ~$ cd /usr/local/security-gate-demo
sshuser@freescale /usr/local/security-gate-demo$ ./demo.sh
After executing the demo program, the context shell of the demo program is loaded. Type
"help" to see commands available for the demo program. Please refer to the SDK reference
manual for detailed usage.
sshuser@freescale ~$ cd /usr/local/security-gate-demo
sshuser@freescale /usr/local/security-gate-demo$ ./demo.sh
[Demo] Start Demo Program.
$>
$>help
[Demo] Commands ::
[Demo] Command Description
[Demo] "help" "Display all command and description"
[Demo] "connect" "Connect to CS468"
[Demo] "disconnect" "Disconnect from CS468"
[Demo] "inventory" "Start Inventory"
[Demo] "read-user-memory" "Read the user memory data"
[Demo] "read-tid" "Read the TID data"
[Demo] "stop" "Stop Operation"
[Demo] "set-power" "Set the antenna power."
[Demo] "get-power" "Get the antenna power."
[Demo] "enable-ant" "Enable the antenna port"
[Demo] "disable-ant" "Disable the antenna port"
[Demo] "set-fix-q" "Set Fix-Q Algorithm"
[Demo] "set-dwell-time" "Set the dwell time of the antenna"
[Demo] "set-ant-inv-count" "Set the inventory round counts of the antenna"
[Demo] "start-scenario" "Run Scenario"
[Demo] "stop-scenario" "Stop Scenario"
[Demo] "get-ir-state" "Get the state of the IR pin (0 or 1)"
[Demo] "start-ir" "Start monitor the IR pin state."
[Demo] "stop-ir" "Stop monitor the IR pin state"
[Demo] "get-pir-state" "Get the state of the PIR pin (0 or 1)"
[Demo] "start-pir" "Start monitor the PIR pin state."
[Demo] "stop-pir" "Stop monitor the PIR pin state"
[Demo] "turn-red-led-on" "Turn red led on"
[Demo] "turn-red-led-off" "Turn red led off"
[Demo] "blink-red-led" "Blink the red led"
[Demo] "turn-blue-led-on" "Turn blue led on"
[Demo] "turn-blue-led-off" "Turn blue led off"
[Demo] "blink-blue-led" "Blink the blue led"
[Demo] "add-counter" "Add counter by 1"
[Demo] "reset-counter" "Reset counter "
[Demo] "beep" "Make beep."
[Demo] "trigger-alarm" "Trigger Alram."
[Demo] "turn-reserved-port-on" "Turn on the reserved port."
[Demo] "turn-reserved-port-off" "Turn off the reserved port"
[Demo] "q" "quit "
$>
5.4. LED Light Bar Verification
The two-color LED light bar can be controlled separately. The following example turns the
blue LED off and turn the red LED on. The blink function allows user to blink the LED light bar
for a desired time in seconds. The example also makes the red LED blink for 5 seconds.
[Demo] Start Demo Program.
$>
$>turn-blue-led-off
[Demo] Turn Blue led off
$>turn-red-led-on
[Demo] Turn the red led on