Programming Manual

i480e&i480e-MD2 Programming Manual
88 / 139
Repor
t ID
(Fixed
as
0x01)
8-bit
(Keyc
ode-2
24-23
1)
8-bit
(Reser
ved)
Ke
y1
(8-
bit
)
Ke
y2
Key
3
Key
4
Key
5
Key
6 6
Note
1.
When the module is in report mode, this command is used to send
an input report to the host. The first field length is 8 bit, every bit
refers to Usage ID 224~231 statuses in HID Keyboard Usage Page.
Key1~Key6 respectively represents the pressed keys Usage ID. The
range of Usage ID is 0~101.
2.
If using AT+B SPRO command to only enable HID keyboard
function, it needs to send keyboard input as follows:
\x0c\x00\xa1[(raw_data)]
Under this circumstance, the module will not return the indication.
The HIDORPT event is the output report sent by the host when the module is in
the report mode.
Event
AT-B HIDORPT [len], [(raw_data)]
Parameter
len
Data length
raw_data
Format definition as follows:
Report ID
(Fixed as
0x01)
5-bit
(Num Lock ---
Kana)
3-bt
(Reserved)
Note
When the module is in report mode, this event represents the host
sends an output report to the module. The output report’s length is 1
byte. The first 5 bits refer to Usage ID 1~5 statuses in HID LED Usage
Page.
The HIDBIRPT command is used to send input report when the module is in the
boot mode.
Command
AT+B HIDBIRPT [len],[ (raw_data)]
Indication
Succeeded: AT-B HIDBIRPT 0
Barrot Confidential