Editing DS4-BT
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 437: | Line 437: | ||
=== HID Report header & footer === | === HID Report header & footer === | ||
==== Examples ==== | ==== Examples ==== | ||
Here's a sample HCI ACL Data Packet transaction that represents a report from the DS4 to the PS4: | Here's a sample HCI ACL Data Packet transaction that represents a report from the DS4 to the PS4: | ||
Line 549: | Line 496: | ||
|- | |- | ||
|} | |} | ||
{{Spoiler|HCI Command Packet example| | |||
<pre> | |||
0000 01 13 0c f8 57 69 72 65 6c 65 73 73 20 43 6f 6e ....Wireless Con | |||
0010 74 72 6f 6c 6c 65 72 00 00 00 00 00 00 00 00 00 troller......... | |||
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | |||
00f0 00 00 00 00 00 00 00 00 00 00 00 00 ............ | |||
</pre> | |||
*0x01: HCI Command Packet (send commands to the Host Controller) | |||
*0x130C (0x0C13) Op-code (16 bits): identifies the command: | |||
OGF (Op-code Group Field, most significant 6 bits): | |||
OCF (Op-code Command Field, least significant 10 bits): | |||
*0xF8 (248) Length of Packet | |||
}} | |||
{{Spoiler|HCI Event Packet example| | |||
<pre> | |||
04 13 05 01 15 00 01 00 | |||
</pre> | |||
*0x04 Packet Type: HCI Event Packet | |||
*0x13 Event code | |||
*0x05 Parameter total length | |||
*0x01 Number of Connection handles | |||
*0x1500 (0x15) Connection handle | |||
*0x0100 (1) Number of completed packets | |||
}} | |||
=== Structure HID transaction (portion) === | === Structure HID transaction (portion) === |