OMM services: Difference between revisions

No edit summary
Masagrator (talk | contribs)
 
(11 intermediate revisions by 3 users not shown)
Line 67: Line 67:
|-
|-
| 28 || [12.0.0+] [[#CreateCradleFirmwareUpdater]]
| 28 || [12.0.0+] [[#CreateCradleFirmwareUpdater]]
|-
| 29 || [19.0.0+] GetCradleStatusChangeEvent
|-
| 40 || [20.0.0+]
|-
| 41 || [20.0.0+]
|-
| 50 || [20.1.0+]
|-
| 300 || [21.0.0+] [[#Cmd300]]
|-
| 301 || [21.0.0+] [[#Cmd301]]
|-
|-
| 500 || [14.0.0+] LblSwitchBacklightOnForAm
| 500 || [14.0.0+] LblSwitchBacklightOnForAm
|-
|-
| 501 || [14.0.0+] LblSwitchBacklightOffForAm
| 501 || [14.0.0+] LblSwitchBacklightOffForAm
|-
| 502 || [22.0.0+]
|-
| 503 || [22.0.0+]
|-
| 504 || [22.0.0+]
|-
|-
| 900 || [14.0.0+] HideStartupLogo
| 900 || [14.0.0+] HideStartupLogo
Line 85: Line 103:
== CreateCradleFirmwareUpdater ==
== CreateCradleFirmwareUpdater ==
No input. Returns an [[#ICradleFirmwareUpdater]].
No input. Returns an [[#ICradleFirmwareUpdater]].
== Cmd300 ==
On NX this is stubbed, just returns 0.
== Cmd301 ==
On NX this is stubbed, just returns 0.


== ICradleFirmwareUpdater ==
== ICradleFirmwareUpdater ==
Line 99: Line 123:
| 1 || Finish
| 1 || Finish
|-
|-
| 2 || GetUpdateDeviceStatus
| 2 || [[#GetUpdateDeviceStatus|GetUpdateDeviceStatus]]
|-
|-
| 3 || GetUpdateProgress
| 3 || GetUpdateProgress
Line 107: Line 131:
| 5 || GetUpdateProgress2
| 5 || GetUpdateProgress2
|}
|}
=== GetUpdateDeviceStatus ===
[22.0.0+] Now returns a total of 0x10-bytes of output.


= ommdisp =
= ommdisp =
Line 195: Line 222:
| 410 ||
| 410 ||
|-
|-
| 500 ||
| 500 || [[#InitializeApplicationCopyrightSharedBuffer]]
|-
|-
| 501 ||
| 501 || FinalizeApplicationCopyrightSharedBuffer
|-
|-
| 510 ||
| 510 ||
Line 221: Line 248:
| 711 ||
| 711 ||
|-
|-
| 720 ||
| 720 || CopyImageFromCaptureBuffer
|-
|-
| 721 ||
| 721 ||
Line 234: Line 261:
|}
|}


== Cmd500 ==
== InitializeApplicationCopyrightSharedBuffer ==
Takes a total of 0x10-bytes of input and a handle, no output.
Takes a total of 0x10-bytes of input and a handle, no output.


This is used by [[Applet_Manager_services#InitializeApplicationCopyrightFrameBuffer|InitializeApplicationCopyrightFrameBuffer]].
This is used by [[Applet_Manager_services#InitializeApplicationCopyrightFrameBuffer|InitializeApplicationCopyrightFrameBuffer]].
== Cmd610 ==
Takes a type-0x15 input buffer containing a 0x4C8-byte struct. No output.
[19.0.0+] The struct size is now 0x4D0-bytes.
== Cmd611 ==
Takes a type-0x15 input buffer containing a 0x4C8-byte struct. No output.
[19.0.0+] The struct size is now 0x4D0-bytes.
== Cmd612 ==
Takes a type-0x15 input buffer containing a 0x4C8-byte struct. No output.
[19.0.0+] The struct size is now 0x4D0-bytes.


= idle:sys =
= idle:sys =
Line 256: Line 298:
| 4 || LoadAndApplySettings
| 4 || LoadAndApplySettings
|-
|-
| 5 || ReportUserIsActive
| 5 || [[#ReportUserIsActive]]
|}
|}


Line 263: Line 305:


[13.0.0+] Total input size is now 0x30 instead of 0x38.
[13.0.0+] Total input size is now 0x30 instead of 0x38.
== ReportUserIsActive ==
No input, no output. Resets sleep counter.


= spsm =
= spsm =
Line 295: Line 341:
| 11 || [1.0.0-3.0.2] InvalidateCurrentHomeButtonPressing
| 11 || [1.0.0-3.0.2] InvalidateCurrentHomeButtonPressing
|-
|-
| 12 || [17.0.0+]
| 12 || [17.0.0+] EmulatePowerButtonPressedBriefly
|-
| 13 || [17.0.0+] EmulatePowerButtonPressedFor7Sec
|-
| 14 || [17.0.0+] SetAlwaysRebootFlag
|-
|-
| 13 || [17.0.0+]
| 15 || [18.0.0+]
|-
|-
| 14 || [17.0.0+]
| 16 || [18.0.0+]
|}
|}