Difference between revisions of "APT:InquireNotification"

From 3dbrew
Jump to navigation Jump to search
Line 44: Line 44:
 
|-
 
|-
 
| 0x4
 
| 0x4
| ?
+
| Triggered when ptu:s GetShellStatus() (cmd 0x8110000) returns 5.
 
|-
 
|-
 
| 0x5
 
| 0x5
Line 53: Line 53:
 
|-
 
|-
 
| 0x7
 
| 0x7
| System is shutting down / power-button related?
+
| Triggered by aptInitialize()/aptEnable() when SomeState != 0.
 
|-
 
|-
 
| 0x8
 
| 0x8
| Power button pressed.
+
| Power button pressed. Triggered by a call to aptAppletUtility() type12.
 
|-
 
|-
 
| 0x9
 
| 0x9
| ?
+
| Triggered by a call to aptAppletUtility() type0.
 
|-
 
|-
 
| 0xA
 
| 0xA
Line 65: Line 65:
 
|-
 
|-
 
| 0xB
 
| 0xB
| ?
+
| Error? Triggered by aptInitialize()/aptEnable() when SomeState == 0.
 
|}
 
|}
  
 
These signals are triggered regardless of whether the process using this command is currently active(like with a suspended application).
 
These signals are triggered regardless of whether the process using this command is currently active(like with a suspended application).

Revision as of 00:27, 13 August 2014

Request

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

Response

Index Word Description
0 Header code
1 Result code
2 u8 Signal Type

Signal Types

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 ptu: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 APT:SleepSystem.
0xB Error? Triggered by aptInitialize()/aptEnable() when SomeState == 0.

These signals are triggered regardless of whether the process using this command is currently active(like with a suspended application).