DualSense HID Commands: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
Line 57: Line 57:
DeviceID = 1,
DeviceID = 1,
ActionID = 5
ActionID = 5
</pre>
= Set PC BAID =
<pre>
ReportID = 128,
DeviceID = 1,
ActionID = 3,
ReadCmd = 4,
DataLen = 6
</pre>
</pre>



Revision as of 23:05, 1 April 2024

Set BD Address

    ReportID = 128,
	DeviceID = 9,
	ActionID = 1,
	ReadCmd = 2,
	DataLen = 6

Set BlueTooth Disable Enable

	ReportID = 128,
	DeviceID = 9,
	ActionID = 5,
	Param = 0

Set BlueTooth Enable

    ReportID = 128,
	DeviceID = 9,
	ActionID = 5,
	Param = 1

Set BlueTooth Table

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

Set DFU Mode (DANGEROUS)

    ReportID = 160,
	DisableMode = 0,
	EnablePBLMode = 1,
	EnableSBLMode = 2,
	EnableMode = 1

Set Hardware Version

    ReportID = 128,
	DeviceID = 1,
	ActionID = 5

Set PC BAID

ReportID = 128,
	DeviceID = 1,
	ActionID = 3,
	ReadCmd = 4,
	DataLen = 6

NVS Unlock

  ReportID = 128, 
  DeviceID = 3,
  ActionID = 2,
  Param0 = 101,
  Param1 = 50,
  Param2 = 64,
  Param3 = 12

to unlock NVS, use the command

SET 0x80 {3, 2, 101, 50, 64, 12}