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 45: | Line 45: | ||
In comparison, USB has 250x (4ms) | In comparison, USB has 250x (4ms) | ||
=== Overlapping channels BT/ | === Overlapping channels BT/WiFi === | ||
* [[Bluetooth#Overlapping_channels_BT.2FWiFi|Overlapping channels BT/WiFi]] | |||
=== Bluetooth Adressing === | |||
=== Bluetooth | |||
Each Bluetooth unit has a unique 48-bit address (BD_ADDR). | Each Bluetooth unit has a unique 48-bit address (BD_ADDR). | ||
Line 211: | Line 210: | ||
**0x0100: L2CAP | **0x0100: L2CAP | ||
*0x0800: Maximum Attribute Byte count (2048)? | *0x0800: Maximum Attribute Byte count (2048)? | ||
*0x0A: Data element (type:1, Size index: 2 (4 bytes) | |||
**0x0000FFFF: Attribute ID list | **0x0000FFFF: Attribute ID list | ||
*0x00: Continuation State | *0x00: Continuation State | ||
Line 600: | Line 598: | ||
===== 0x01 ===== | ===== 0x01 ===== | ||
The transaction type is DATA (0x0a), and the report type is INPUT (0x01). | The transaction type is DATA (0x0a), and the report type is INPUT (0x01). | ||
The protocol code is | The protocol code is 0x11. | ||
This report is sent until the GET REPORT FEATURE 0x02 is received. | This report is sent until the GET REPORT FEATURE 0x02 is received. | ||
Line 764: | Line 762: | ||
|- | |- | ||
|[16 - 17] | |[16 - 17] | ||
|colspan="8"| | |colspan="8"|Acceleration X | ||
|- | |- | ||
|[18 - 19] | |[18 - 19] | ||
|colspan="8"| | |colspan="8"|Acceleration Y | ||
|- | |- | ||
|[20 - 21] | |[20 - 21] | ||
|colspan="8"| | |colspan="8"|Acceleration Z | ||
|- | |- | ||
|[22 - 23] | |[22 - 23] | ||
|colspan="8"| | |colspan="8"|Gyroscope Roll? | ||
|- | |- | ||
|[24 - 25] | |[24 - 25] | ||
|colspan="8"| | |colspan="8"|Gyroscope Yaw? | ||
|- | |- | ||
|[26 - 27] | |[26 - 27] | ||
|colspan="8"| | |colspan="8"|Gyroscope Pitch? | ||
|- | |- | ||
|[28 - 32] | |[28 - 32] | ||
Line 814: | Line 812: | ||
|colspan="8"|finger 2 coordinates | |colspan="8"|finger 2 coordinates | ||
|- | |- | ||
|[ | |[36] | ||
|colspan="8"|packet counter | |colspan="8"|packet counter | ||
|- | |- | ||
Line 899: | Line 897: | ||
The protocol code is 0x11. | The protocol code is 0x11. | ||
Byte at index 4 changes from 0xf0 to 0xf3 in the first reports. Making it always 0xf0 does not seem to change something. | |||
Report example: | Report example: | ||
Line 907: | Line 905: | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, <span style="background:lime">0xd8, 0x8e, 0x94, 0xdd</span> | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, <span style="background:lime">0xd8, 0x8e, 0x94, 0xdd</span> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 936: | Line 927: | ||
|colspan="8"|'''0x11''' | |colspan="8"|'''0x11''' | ||
|- | |- | ||
|[2 | |[2 - 3] | ||
|colspan="8"|Unknown | |colspan="8"|Unknown | ||
|- | |- | ||
|[4] | |[4] | ||
|colspan=" | |colspan="8"|0xf0 disables the rumble motors, 0xf3 enables them | ||
|- | |- | ||
|[5 - 6] | |[5 - 6] | ||
Line 1,073: | Line 1,056: | ||
0030 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 ................ | 0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | ||
0050 00 00 00 | 0050 00 00 00 f6 69 02 9c 75 19 24 00 00 00 00 00 00 ....i..u.$...... | ||
0060 00 00 76 db 6d bb 6d b6 dd b6 db 6e db 6d b7 6d ..v.m.m....n.m.m | 0060 00 00 76 db 6d bb 6d b6 dd b6 db 6e db 6d b7 6d ..v.m.m....n.m.m | ||
0070 b6 db b6 db 6d db 6d b6 ed b6 db 76 db 6d bb 6d ....m.m....v.m.m | 0070 b6 db b6 db 6d db 6d b6 ed b6 db 76 db 6d bb 6d ....m.m....v.m.m | ||
Line 1,080: | Line 1,063: | ||
00a0 b7 6d b6 db b6 db 6d db 6d b6 ed b6 db 76 db 6d .m....m.m....v.m | 00a0 b7 6d b6 db b6 db 6d db 6d b6 ed b6 db 76 db 6d .m....m.m....v.m | ||
00b0 bb 6d b6 dd b6 db 6e db 6d b7 6d b6 db b6 db 6d .m....n.m.m....m | 00b0 bb 6d b6 dd b6 db 6e db 6d b7 6d b6 db b6 db 6d .m....n.m.m....m | ||
00c0 db 6d b6 ed b6 db | 00c0 db 6d b6 ed b6 db 9c 75 19 24 00 00 00 00 00 00 .m.....u.$...... | ||
00d0 00 00 76 db 6d bb 6d b6 dd b6 db 6e db 6d b7 6d ..v.m.m....n.m.m | 00d0 00 00 76 db 6d bb 6d b6 dd b6 db 6e db 6d b7 6d ..v.m.m....n.m.m | ||
00e0 b6 db b6 db 6d db 6d b6 ed b6 db 76 db 6d bb 6d ....m.m....v.m.m | 00e0 b6 db b6 db 6d db 6d b6 ed b6 db 76 db 6d bb 6d ....m.m....v.m.m | ||
Line 1,343: | Line 1,326: | ||
==== HID features reports ==== | ==== HID features reports ==== | ||
A user-mode application can obtain (get) and set feature information by using this report designation. | A user-mode application can obtain (get) and set feature information by using this report designation. | ||
===== GET FEATURE===== | |||
====== 0x02 ====== | |||
===== | ====== 0x04 ====== | ||
====== 0x06 ====== | |||
The transaction type is DATA (0x0a), and the report type is FEATURE (0x03). | |||
The protocol code is 0x06. | |||
The bytes in this report do not seem to fluctuate. They are the same in two different controllers. | |||
The bytes in this report do not seem to fluctuate. They are the same in two different controllers. | |||
Report example: | Report example: | ||
Line 1,595: | Line 1,461: | ||
|} | |} | ||
The | The packets with report counter from 0x00 to 0x09 carry 528 bytes of data.<br /> | ||
Packet 0x09 contains 24 bytes of data and is padded with zeros.<br /> | |||
The packets with report counter from 0x0a to 0x0c are padded with zeros.<br /> | |||
Packet 0x0d is padded with zeros, except bytes 58 and 60 (both are 0x01).<br /> | |||
The packets with report counter from 0x0e to 0x12 carry 256 bytes of data.<br /> | |||
Packet 0x12 contains 32 bytes of data and is padded with zeros.<br /> | |||
</ | |||
====== 0xF2 ====== | ====== 0xF2 ====== |