Specifications
Emulation Requirements ....................................................................................................... 76
Device Design Considerations ......................................................................................... 77
Microsoft Compatible Device Descriptor.......................................................................... 82
Commands and Responses ............................................................................................ 85
Commands That Set Device State .................................................................................. 86
Commands That Query Device State .............................................................................. 92
Responses to Commands: Non-Error Cases .................................................................. 99
Responses to Commands: Error Cases ........................................................................ 111
Illegal Command Handling ............................................................................................. 112
Bootloader Implementation ............................................................................................ 114
Bootloader Commands .................................................................................................. 121
Bootloader Responses .................................................................................................. 126
Format for Transmitting and Receiving IR ..................................................................... 129
Suggested Firmware Memory Organization .................................................................. 132
Port Driver Requirements .................................................................................................... 133
Basic CIR Architecture ................................................................................................... 134
Introduction to the CIRClass Framework ....................................................................... 135
CIR Version 1 DDI and Version 2 DDI ........................................................................... 137
CIRClass and CIR Port Interface Details ....................................................................... 139
Example CIR Port Driver – Hardware Design Requirements and Considerations ........ 147
IOCTL Definitions........................................................................................................... 151
IR_ENTER_PRIORITY_RECEIVE_PARAMS ............................................................... 160
IR_DEV_CAPS .............................................................................................................. 160
IR_DEV_CAPS_V1 ........................................................................................................ 161
IR_DEV_CAPS_V2 (Version 2 Only)............................................................................. 161
IR_PRIORITY_RECEIVE_PARAMS ............................................................................. 162
IR_RECEIVE_PARAMS ................................................................................................ 163
IR_SET_WAKE_PATTERN_PARAMS (Version 2 Only) .............................................. 164
IR_TRANSMIT_PARAMS .............................................................................................. 164
IR_TRANSMIT_CHUNK ................................................................................................ 165
HID Device Requirements ................................................................................................... 165
HID Remote Control Receiver Requirements ................................................................ 166
HID Usage Codes .......................................................................................................... 167
Reserved Button Codes ................................................................................................. 173










