User's Manual

Viewsonic Tweety RF Remote
Rev 2.9A November 05, 2001
Universal Electronics Inc. Confidential Page 16 of 63
3.4 Remote UEI Key and Pointing Device Data Packet
Data Packet Definition
:
Byte10 Byte09 Byte08 Byte07 Byte06 Byte05 Byte04 Byte03 Byte02 Byte01 Byte0
(MSB)
0x0F
0x0F
0x0F
0x0F
0x55
0x55
0-0x63
(0-99
decimal)
(LSB)
Sync Bytes
Preamble
Device
Number
Dev Addr /
Status
X Coord
Y Coord /
ScanCode
CheckSum
32 bits 16 bits 8 bits 8 bits 8 bits 8 bits 8 bits
Sync Bytes: Four data bytes of 0x0F each are used to stabilize the demodulation of the Receiver side after a period of no
signal input.
Preamble: Two data bytes of 0x55 each are used for decoder bit sync.
Device Number: Device number from 0 to 99 (decimal)
Device Address / Status:
Device Address / Status
Batt Pointing Device Status Device Address
b7 b6 b5 b4 b3 b2 b1 b0
Described Function
0 0 0 RF Receiver
0 0 1 NMB Keyboard Keypad
0 1 0 UEI Remote Control Keypad
0 1 1 NMB Keyboard Pointing Device
1 0 0 UEI Remote Control Pointing Device
Pointing Device Left Button Status (0=Up, 1=Down)
Pointing Device Right Button Status (0=Up, 1=Down)
X-Coordinate sign bit (0=Positive, 1=Negative)
Y-Coordinate sign bit (0=Positive, 1=Negative)
Battery power level Status (0=Ok, 1=Low)
X-Coordinate: Keyboard Data (0), X-Data for Pointing Device.
Y-Coordinate / Scan Code:
Keyboard Data: Scan Code (Make/Break) [See Table 3: Scan Code Table], Y-Data for Pointing Device.