DualShock 4 HID Commands

From PS4 Developer wiki
Jump to navigation Jump to search

Audio Codec Select[edit | edit source]

	ReportID = 160,
	DeviceID = 16,
	ActionID = 1


BlueTooth Patch[edit | edit source]

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


BlueTooth Patch Init[edit | edit source]

	ReportID = 208,
	DeviceID = 18,
	ActionID = 1


BlueTooth Patch Restart[edit | edit source]

	ReportID = 208,
	DeviceID = 18,
	ActionID = 6


BlueTooth Patch Verify[edit | edit source]

	ReportID = 208,
	DeviceID = 18,
	ActionID = 3


BlueTooth Patch Version Confirm[edit | edit source]

	ReportID = 208,
	DeviceID = 18,
	ActionID = 4


BlueTooth Patch finalize[edit | edit source]

	ReportID = 208,
	DeviceID = 18,
	ActionID = 5


Blue Tooth Restart Result[edit | edit source]

	ReportID = 212,
	DeviceID = 18,
	ActionID = 6

Flash[edit | edit source]

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


Get Audio Codec State[edit | edit source]

	ReportID = 164,
	DeviceID = 16,
	ActionID = 1


Get BD Address[edit | edit source]

	ReportID = 129,
	DataLen = 6


Get BlueTooth Patch Data[edit | edit source]

	ReportID = 212,
	DeviceID = 18,
	ActionID = 3


Get BlueTooth Table[edit | edit source]

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


Get Firmware Info[edit | edit source]

	ReportID = 163


Get Gyroscope Offset State[edit | edit source]

	ReportID = 145,
	DeviceID = 2,
	TargetID = 7


Get PC BAID[edit | edit source]

	ReportID = 134,
	DataLen = 6


Get Read OTP[edit | edit source]

	ReportID = 164,
	DeviceID = 3,
	ActionID = 9


Get Table ID[edit | edit source]

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


Get bonding[edit | edit source]

	ReportID = 212,
	DeviceID = 4,
	ActionID = 7


Read BlueTooth Patch[edit | edit source]

	ReportID = 208,
	DeviceID = 3,
	ActionID = 18


Read BlueTooth Patch Info[edit | edit source]

	ReportID = 212,
	DeviceID = 3,
	ActionID = 18


Request Table ID[edit | edit source]

	ReportID = 160,
	DeviceID = 3,
	ActionID = 2


Reset[edit | edit source]

	ReportID = 160,
	DeviceID = 4,
	ActionID = 1


Set BD Address[edit | edit source]

	ReportID = 128,
	DataLen = 6


Set BlueTooth Disable Enable[edit | edit source]

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


Set BlueTooth Enable[edit | edit source]

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


Set BlueTooth Table[edit | edit source]

	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[edit | edit source]

	ReportID = 162,
	DisableMode = 0,
	EnableMode = 1


Set Hardware Version[edit | edit source]

	ReportID = 160,
	DeviceID = 4,
	ActionID = 2


Set PC BAID[edit | edit source]

	ReportID = 133,
	DataLen = 6


Set Power Charge Off[edit | edit source]

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


Set Power Charge On[edit | edit source]

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


Set Read OTP[edit | edit source]

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


Set VDD EX Power Off[edit | edit source]

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


Set VDD EX Power On[edit | edit source]

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


Set bonding[edit | edit source]

	ReportID = 208,
	DeviceID = 4,
	ActionID = 7


Start Gyroscope Offset[edit | edit source]

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