Line 88:
Line 88:
|-
|-
! ID
! ID
+
! Published by
+
! Subscribed by
! Description
! Description
|-
|-
| 0x100
| 0x100
−
| This indicates that the recipient must terminate. Does not require subscription.
+
|
+
| Not Needed
+
| This indicates that the recipient must terminate.
|-
|-
| 0x101
| 0x101
−
| Signaled to NS on sleep mode entry.
+
| PTM
+
| NS
+
| Signaled on sleep mode entry.
|-
|-
| 0x102
| 0x102
−
| Sleep Mode related? Published by PTM
+
| PTM
+
| NS
+
| Sleep Mode related?
|-
|-
| 0x103
| 0x103
−
| Fired on sleep mode entry, subscribed to by NS, CSND, NWM, AC and NIM.
+
| PTM
+
| NS, CSND, NWM, AC, NIM
+
| Fired on sleep mode entry (Kernel state is modified by PTM after publishing this)
|-
|-
| 0x104
| 0x104
−
| This indicates that the system is entering sleep mode. (PTM:NotifySleepPreparationComplete needed for this and the following?)
+
| PTM
+
| HID
+
| This indicates that the system is entering sleep mode. (Kernel state is modified by PTM before publishing this)
|-
|-
| 0x105
| 0x105
+
| PTM
+
| NS, DSP, CSND, GSP, CODEC, CAMERA, HID, QTM, MIC, IR, NWM, FRIENDS, AC, CECD, ACT, NDM, NIM
| This indicates that the system has exited sleep mode.
| This indicates that the system has exited sleep mode.
|-
|-
| 0x106
| 0x106
−
| Fired after sleep mode exit, subscribed to by NS, MIC, AC, NEWS, CECD and BOSS.
+
| PTM
+
| NS, MIC, AC, NEWS, CECD, BOSS
+
| Fired after sleep mode exit.
|-
|-
| 0x107
| 0x107
−
| Unknown. Subscribed to by CECD module.
+
| PTM
+
| NWM, CECD, BOSS, NDM, NIM, NEWS
+
| Unknown.
|-
|-
| 0x108
| 0x108
−
| error at boot?
+
| PTM
+
| GSP, QTM
+
| System is going to Power Down.
|-
|-
| 0x109
| 0x109
−
| ? (Subscribed to by GSP)
+
| CFG
+
| GSP
+
| CFG block 0x00050001 has been modified, change LCD brightness/PWM settings
+
|-
+
| 0x10B
+
| CFG
+
| CAMERA
+
| ?
|-
|-
| 0x10C
| 0x10C
−
| Sent by PM after it starts a regular application.
+
| PM
+
|
+
| A Regular application has started.
|-
|-
| 0x110-0x11F
| 0x110-0x11F
−
| Sent to NS on application exit. See [[PMApp:LaunchTitle#Launch_Flags|PM launch flags]].
+
| PM
+
| NS
+
| Sent on application exit. See [[PMApp:LaunchTitle#Launch_Flags|PM launch flags]].
|-
|-
| 0x179
| 0x179
−
| Unknown.
+
| PM
+
| PTM, NS
+
| All processes other than PTM and NS have terminated.
|-
|-
| 0x200
| 0x200
−
| Signaled just before sleep mode is exited from, subscribed to by NS.
+
|
+
| NS
+
| Signaled just before sleep mode is exited from.
|-
|-
| 0x202
| 0x202
+
| MCU
+
| NS
| POWER button pressed
| POWER button pressed
|-
|-
| 0x203
| 0x203
+
| MCU
+
| NS
| POWER button held long
| POWER button held long
|-
|-
| 0x204
| 0x204
+
| MCU
+
| NS
| HOME button pressed
| HOME button pressed
|-
|-
| 0x205
| 0x205
+
| MCU
+
| NS
| HOME button released
| HOME button released
|-
|-
| 0x206
| 0x206
−
| This is signaled by [[NWMEXT:ControlWirelessEnabled]] and when the physical Wi-Fi slider is enabled
+
| MCU / NWM
+
| NWM
+
| The physical Wi-Fi slider state changed
|-
|-
| 0x207
| 0x207
+
|
+
| MENU
| SD card inserted
| SD card inserted
|-
|-
| 0x208
| 0x208
+
|
+
| MENU
| Game cartridge inserted
| Game cartridge inserted
|-
|-
| 0x209
| 0x209
+
|
+
| NS, MENU
| SD card removed
| SD card removed
|-
|-
| 0x20A
| 0x20A
+
|
+
| NS, MENU
| Game cartridge removed
| Game cartridge removed
|-
|-
| 0x20B
| 0x20B
+
|
+
| NS, MENU
| Game cartridge inserted or removed
| Game cartridge inserted or removed
|-
|-
| 0x20C
| 0x20C
−
| mcu-module publishes this on a (fatal) hardware condition?, ptm throws fatal error F960D407 in receipt of this
+
| MCU
+
| PTM
+
| Published on a fatal hardware condition, when the MCU WDT triggers, ptm throws fatal error F960D407 in receipt of this
|-
|-
| 0x20D
| 0x20D
−
| Charger plugged out
+
| MCU
+
| GSP
+
| Charger plugged out.
|-
|-
| 0x20E
| 0x20E
−
| Charger plugged in
+
| MCU
+
| GSP
+
| Charger plugged in.
|-
|-
| 0x20F
| 0x20F
−
| Published by the mcu module when (bitmask & 0x8000) is true. This bitmask is obtained by reading i2c register 0x10.
+
| MCU
+
|
+
| Published by the mcu module when (bitmask & 0x8000) is true (started charging). This bitmask is obtained by reading i2c register 0x10.
|-
|-
| 0x210
| 0x210
−
| Published by the mcu module when (bitmask & 0x4000) is true. This bitmask is obtained by reading i2c register 0x10.
+
| MCU
+
|
+
| Published by the mcu module when (bitmask & 0x4000) is true (stopped charging). This bitmask is obtained by reading i2c register 0x10.
|-
|-
| 0x211
| 0x211
−
| Battery Related? (Published by PTM module)
+
| PTM
+
|
+
| Battery very low (5%)
|-
|-
| 0x212
| 0x212
−
| Battery Related? (Published by PTM module)
+
| PTM
+
|
+
| Battery low (10%)
|-
|-
| 0x213
| 0x213
−
| Signaled after exiting sleep mode and early during system boot. Subscribed to by CODEC, HID, GSP, CAMERA, MIC, NDM and PTM. GSP powers LCD on in receipt to this, etc.
+
| NS
+
| CODEC, HID, GSP, CAMERA, MIC, NDM, QTM, PTM
+
| Shell opened.
|-
|-
| 0x214
| 0x214
−
| Signaled before entering sleep mode. Subscribed to by CODEC, HID, GSP, CAMERA, MIC, NDM and PTM. GSP shutdowns LCD in receipt to this, etc.
+
| NS
+
| CODEC, HID, GSP, CAMERA, MIC, NDM, QTM, PTM.
+
| Shell closed.
|-
|-
| 0x300
| 0x300
−
| Signaled after sleep mode exit and during system boot, subscribed to by NDM.
+
| AC
+
| NDM, MENU
+
| Signaled after sleep mode exit and during system boot.
|-
|-
| 0x301
| 0x301
−
| Signaled just before sleep mode is exited from, subscribed to by FRIENDS and NDM.
+
| AC
+
| FRIENDS, NDM
+
| Signaled just before sleep mode is exited from.
|-
|-
| 0x302
| 0x302
−
| Unknown. Signaled by nwm/AC module.
+
| NWM
+
| NDM, SOCKET, FRIENDS, AC
+
| WiFi is turning off, triggered by using the WiFi switch on O3DS models and the toggle in the N3DS HOME menu (maybe disconnecting from any connected networks?)
|-
|-
| 0x303
| 0x303
−
| Unknown. Subscribed to by CECD module.
+
| NWM
+
| CECD, NDM
+
| WiFi has turned off. (fires shortly after 0x302)
|-
|-
| 0x304
| 0x304
−
| Unknown. Subscribed to by CECD module.
+
| NWM
+
| CECD, NDM, SOCKET
+
| WiFi was turned on.
|}
|}
+
[[Category:Services]]