5.1.1.9 PHONELAMPMODE

The PHONELAMPMODE bit flag constants describe various ways in which a phone's lamp can be lit.

PHONELAMPMODE_DUMMY

0x00000001

PHONELAMPMODE_OFF

0x00000002

PHONELAMPMODE_STEADY

0x00000004

PHONELAMPMODE_WINK

0x00000008

PHONELAMPMODE_FLASH

0x00000010

PHONELAMPMODE_FLUTTER

0x00000020

PHONELAMPMODE_BROKENFLUTTER

0x00000040

PHONELAMPMODE_UNKNOWN

0x00000080


Values

The PHONELAMPMODE constants have the following values:

PhoneLampMode_dummy
This value is used to describe a button/lamp position that has no corresponding lamp.

PhoneLampMode_off
The lamp is off.

PhoneLampMode_steady
Steady means the lamp is continuously lit.

PhoneLampMode_wink
Wink means normal rate on and off.

PhoneLampMode_flash
Flash means slow on and off.

PhoneLampMode_flutter
Flutter means fast on and off.

PhoneLampMode_brokenflutter
Broken flutter is the superposition of flash and flutter.

PhoneLampMode_unknown
The lamp mode is currently unknown.

Extensibility

The high order 16 bits can be assigned for device specific extensions. The low order 16 bits are reserved.

Comments

Where the exact on and off cadences may differ across phone sets from different vendors, mapping of actual lamp lighting patterns for most phones onto the values listed above should be straightforward.

See Also

Functions: phoneSetLamp, phoneGetLamp, phoneGetDevCaps, phoneGetStatus
Data Types: PHONECAPS, PHONESTATUS