DualShock 4 HID Commands: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
(Created page with " = Audio Codec Select = <pre> ReportID = 160, DeviceID = 16, ActionID = 1 </pre> = BlueTooth Patch = <pre> ReportID = 208, DeviceID = 18, ActionID = 2, DataLen = 60 </pre> = BlueTooth Patch Init = <pre> ReportID = 208, DeviceID = 18, ActionID = 1 </pre> = BlueTooth Patch Restart = <pre> ReportID = 208, DeviceID = 18, ActionID = 6 </pre> = BlueTooth Patch Verify = <pre> ReportID = 208, DeviceID = 18, ActionID = 3 </pre> = BlueTooth Patch Version...")
 
mNo edit summary
Line 314: Line 314:
TargetID = 7
TargetID = 7
</pre>
</pre>
{{Reverse Engineering}}
<noinclude>[[Category:Main]]</noinclude>

Revision as of 04:28, 8 April 2024


Audio Codec Select

	ReportID = 160,
	DeviceID = 16,
	ActionID = 1


BlueTooth Patch

	ReportID = 208,
	DeviceID = 18,
	ActionID = 2,
	DataLen = 60


BlueTooth Patch Init

	ReportID = 208,
	DeviceID = 18,
	ActionID = 1


BlueTooth Patch Restart

	ReportID = 208,
	DeviceID = 18,
	ActionID = 6


BlueTooth Patch Verify

	ReportID = 208,
	DeviceID = 18,
	ActionID = 3


BlueTooth Patch Version Confirm

	ReportID = 208,
	DeviceID = 18,
	ActionID = 4


BlueTooth Patch finalize

	ReportID = 208,
	DeviceID = 18,
	ActionID = 5


Blue Tooth Restart Result

	ReportID = 212,
	DeviceID = 18,
	ActionID = 6

Flash

	ReportID = 240,
	Download = 0,
	DataLen = 57,
	Write = 1


Get Audio Codec State

	ReportID = 164,
	DeviceID = 16,
	ActionID = 1


Get BD Address

	ReportID = 129,
	DataLen = 6


Get BlueTooth Patch Data

	ReportID = 212,
	DeviceID = 18,
	ActionID = 3


Get BlueTooth Table

	ReportID = 166,
	PowerTable = 1,
	RadioTable = 2,
	DataLen = 16,
	OffsetStart = 0


Get Firmware Info

	ReportID = 163


Get Gyroscope Offset State

	ReportID = 145,
	DeviceID = 2,
	TargetID = 7


Get PC BAID

	ReportID = 134,
	DataLen = 6


Get Read OTP

	ReportID = 164,
	DeviceID = 3,
	ActionID = 9


Get Table ID

	ReportID = 164,
	DeviceID = 3,
	ActionID = 2,
	DataLenLocal = 5


Get bonding

	ReportID = 212,
	DeviceID = 4,
	ActionID = 7


Read BlueTooth Patch

	ReportID = 208,
	DeviceID = 3,
	ActionID = 18


Read BlueTooth Patch Info

	ReportID = 212,
	DeviceID = 3,
	ActionID = 18


Request Table ID

	ReportID = 160,
	DeviceID = 3,
	ActionID = 2


Reset

	ReportID = 160,
	DeviceID = 4,
	ActionID = 1


Set BD Address

	ReportID = 128,
	DataLen = 6


Set BlueTooth Disable Enable

	ReportID = 160,
	DeviceID = 3,
	ActionID = 3,
	Param = 0


Set BlueTooth Enable

	ReportID = 160,
	DeviceID = 3,
	ActionID = 3,
	Param = 1


Set BlueTooth Table

	ReportID = 165,
	PowerTable = 1,
	RadioTable = 2,
	DataLen = 16,
	DataBegin = 0,
	PowerTableSize = 224,
	RadioTableSize = 112,
	DataMaxLen = 255 (max value of byte),
	DataMinLen = 0


Set DFU Mode

	ReportID = 162,
	DisableMode = 0,
	EnableMode = 1


Set Hardware Version

	ReportID = 160,
	DeviceID = 4,
	ActionID = 2


Set PC BAID

	ReportID = 133,
	DataLen = 6


Set Power Charge Off

	ReportID = 160,
	DeviceID = 17,
	ActionID = 33,
	Param0 = 192,
	Param1 = 117,
	Param2 = 38,
	Param3 = 208


Set Power Charge On

	ReportID = 160,
	DeviceID = 17,
	ActionID = 32,
	Param0 = 192,
	Param1 = 117,
	Param2 = 38,
	Param3 = 208


Set Read OTP

	ReportID = 160,
	DeviceID = 3,
	ActionID = 9,
	Offset = 23,
	Length = 1


Set VDD EX Power Off

	ReportID = 160,
	DeviceID = 17,
	ActionID = 1,
	Param = 0


Set VDD EX Power On

	ReportID = 160,
	DeviceID = 17,
	ActionID = 1,
	Param = 1


Set bonding

	ReportID = 208,
	DeviceID = 4,
	ActionID = 7


Start Gyroscope Offset

	ReportID = 144,
	ActionID = 1,
	DeviceID = 2,
	TargetID = 7