NDM Services: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) m Forgot to update my draft. >.< |
Steveice10 (talk | contribs) Add enums to main page. |
||
| Line 74: | Line 74: | ||
| 0x00170000 | | 0x00170000 | ||
| [[NDMU:ClearHalfAwakeMacFilter|ClearHalfAwakeMacFilter]] | | [[NDMU:ClearHalfAwakeMacFilter|ClearHalfAwakeMacFilter]] | ||
|} | |||
'''enum ExclusiveState''' | |||
{| class="wikitable" border="1" | |||
|- | |||
! Enum | |||
! Value | |||
|- | |||
| STATE_NONE | |||
| 0 | |||
|- | |||
| STATE_INFRASTRUCTURE | |||
| 1 | |||
|- | |||
| STATE_LOCAL_COMMUNICATIONS | |||
| 2 | |||
|- | |||
| STATE_STREETPASS | |||
| 3 | |||
|- | |||
| STATE_STREETPASS_DATA | |||
| 4 | |||
|} | |||
'''enum Daemon''' | |||
{| class="wikitable" border="1" | |||
|- | |||
! Enum | |||
! Value | |||
|- | |||
| DAEMON_CEC | |||
| 0 | |||
|- | |||
| DAEMON_BOSS | |||
| 1 | |||
|- | |||
| DAEMON_NIM | |||
| 2 | |||
|- | |||
| DAEMON_FRIENDS | |||
| 3 | |||
|} | |||
'''enum DaemonMask''' | |||
{| class="wikitable" border="1" | |||
|- | |||
! Enum | |||
! Value | |||
|- | |||
| DAEMONMASK_CEC | |||
| 1 << DAEMON_CEC | |||
|- | |||
| DAEMONMASK_BOSS | |||
| 1 << DAEMON_BOSS | |||
|- | |||
| DAEMONMASK_NIM | |||
| 1 << DAEMON_NIM | |||
|- | |||
| DAEMONMASK_FRIENDS | |||
| 1 << DAEMON_FRIENDS | |||
|} | |} | ||
Revision as of 05:01, 7 October 2015
NDM service "ndm:u"
| Command Header | Description |
|---|---|
| 0x00010042 | EnterExclusiveState |
| 0x00020002 | LeaveExclusiveState |
| 0x00030000 | QueryExclusiveMode |
| 0x00040002 | LockState |
| 0x00050002 | UnlockState |
| 0x00060040 | SuspendDaemons |
| 0x00070040 | ResumeDaemons |
| 0x00080040 | SuspendScheduler |
| 0x00090000 | ResumeScheduler |
| 0x000A0000 | GetCurrentState |
| 0x000B0000 | GetTargetState |
| 0x000C0000 | Stubbed. (Not implemented) |
| 0x000D0040 | QueryStatus |
| 0x000E0040 | GetDaemonDisableCount |
| 0x000F0000 | GetSchedulerDisableCount |
| 0x00100040 | SetScanInterval |
| 0x00110000 | GetScanInterval |
| 0x00120040 | SetRetryInterval |
| 0x00130000 | GetRetryInterval |
| 0x00140040 | OverrideDefaultDaemons |
| 0x00150000 | ResetDefaultDaemons |
| 0x00160000 | GetDefaultDaemons |
| 0x00170000 | ClearHalfAwakeMacFilter |
enum ExclusiveState
| Enum | Value |
|---|---|
| STATE_NONE | 0 |
| STATE_INFRASTRUCTURE | 1 |
| STATE_LOCAL_COMMUNICATIONS | 2 |
| STATE_STREETPASS | 3 |
| STATE_STREETPASS_DATA | 4 |
enum Daemon
| Enum | Value |
|---|---|
| DAEMON_CEC | 0 |
| DAEMON_BOSS | 1 |
| DAEMON_NIM | 2 |
| DAEMON_FRIENDS | 3 |
enum DaemonMask
| Enum | Value |
|---|---|
| DAEMONMASK_CEC | 1 << DAEMON_CEC |
| DAEMONMASK_BOSS | 1 << DAEMON_BOSS |
| DAEMONMASK_NIM | 1 << DAEMON_NIM |
| DAEMONMASK_FRIENDS | 1 << DAEMON_FRIENDS |