APT:InquireNotification: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
m moved APT:GetSignalType to APT:InquireNotification: ...also the name is wrong.
Steveice10 (talk | contribs)
No edit summary
 
Line 9: Line 9:
|-
|-
| 1
| 1
| AppID
| [[NS_and_APT_Services#AppIDs|AppID]]
|}
|}


Line 25: Line 25:
|-
|-
| 2
| 2
| u8 Signal Type
| [[NS_and_APT_Services#Notification|Notification]]
|}
|}
=Signal Types=
{| class="wikitable" border="1"
|-
!  Type
!  Description
|-
| 0x1
| Home button pressed.
|-
| 0x2
| Sleep-mode related?
|-
| 0x3
| This indicates that the system is preparing to enter sleep-mode.
|-
| 0x4
| Triggered when ptm:s GetShellStatus() (cmd 0x8110000) returns 5.
|-
| 0x5
| This indicates that the system is entering sleep-mode.
|-
| 0x6
| This indicates that the system is leaving sleep-mode.
|-
| 0x7
| Triggered by aptInitialize()/aptEnable() when SomeState != 0.
|-
| 0x8
| Power button pressed. Triggered by a call to aptAppletUtility() type12.
|-
| 0x9
| Triggered by a call to aptAppletUtility() type0.
|-
| 0xA
| This indicates that the process should use command [[NS|APT:SleepSystem]].
|-
| 0xB
| Error? Triggered by aptInitialize()/aptEnable() when SomeState == 0, and elsewhere.
|}
These signals are triggered regardless of whether the process using this command is currently active(like with a suspended application).

Latest revision as of 00:52, 22 November 2015

Request

Index Word Description
0 Header code [0x000B0040]
1 AppID

Response

Index Word Description
0 Header code
1 Result code
2 Notification