Section 6. led application, Get/set/save property commands, Led state property – MagTek IntelliStripe 320 99875168 User Manual

Page 59

Advertising
background image

53

SECTION 6. LED APPLICATION


Application ID: 81 (Hex)

Description:

This application deals with the host controlled LED.

GET/SET/SAVE PROPERTY COMMANDS

Get Property Command ID: 00 (Hex)

Set Property Command ID: 01 (Hex)

Save Property Command ID: 02 (Hex)

Description:

These commands are used to get, set and save the value of application properties. Details of
these commands are described in the Generic command section of this document. The following
describes each property this application supports.

LED STATE PROPERTY

Property ID: 00 (Hex)

Property Type: Dword

Power Up/Reset Value: 0 (OFF)

Get/Set/Save support: All

Description:

Changing this property changes the LED state. The LED state can be retrieved by getting this
property.

Values:

The lowest order byte governs the color of the LED as follows:

Value LED

State

0 OFF
1 RED
2 GREEN


The next byte signals whether the LED will blink and the frequency of the blink. Blinking will
only be active if the specified color is Red or Green. A value of zero specifies solid color with
no blinking. A value in the range of 1 – 254 specifies, at 10 milliseconds per count, how long
both the on and off period of the LED should be. A value of 255 is not allowed and will result in
an error.

Advertising