2.2.3.2.9 PHONELAMPMODE_Constants

The PHONELAMPMODE_Constants are bit-flag constants that describe various ways in which the lamp of the phone can be lit.

Constant/value

Description

PHONELAMPMODE_DUMMY

0x00000001

This value must be used to describe a button/lamp position that has no corresponding lamp.

PHONELAMPMODE_OFF

0x00000002

The lamp is off.

PHONELAMPMODE_STEADY

0x00000004

The lamp is continuously lit.

PHONELAMPMODE_WINK

0x00000008

The normal rate of on and off.

PHONELAMPMODE_FLASH

0x00000010

The slow rate of on and off.

PHONELAMPMODE_FLUTTER

0x00000020

The fast rate of on and off.

PHONELAMPMODE_BROKENFLUTTER

0x00000040

The superposition of flash and flutter.

PHONELAMPMODE_UNKNOWN

0x00000080

The lamp mode is currently unknown.

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

Although the exact on and off cadences can differ for phones that are from different vendors, the mapping of actual lamp lighting patterns for most phones onto the previously listed values SHOULD be straightforward.