NDM Services

NDM Services

NDM service “ndm:u” #

Command HeaderDescription
0x00010042EnterExclusiveState
0x00020002LeaveExclusiveState
0x00030000QueryExclusiveMode
0x00040002LockState
0x00050002UnlockState
0x00060040SuspendDaemons
0x00070040ResumeDaemons
0x00080040SuspendScheduler
0x00090000ResumeScheduler
0x000A0000GetCurrentState
0x000B0000GetTargetState
0x000C0000Stubbed. (Not implemented)
0x000D0040QueryStatus
0x000E0040GetDaemonDisableCount
0x000F0000GetSchedulerDisableCount
0x00100040SetScanInterval
0x00110000GetScanInterval
0x00120040SetRetryInterval
0x00130000GetRetryInterval
0x00140040OverrideDefaultDaemons
0x00150000ResetDefaultDaemons
0x00160000GetDefaultDaemons
0x00170000ClearHalfAwakeMacFilter

enum ExclusiveState

EnumValue
EXCLUSIVE_STATE_NONE0
EXCLUSIVE_STATE_INFRASTRUCTURE1
EXCLUSIVE_STATE_LOCAL_COMMUNICATIONS2
EXCLUSIVE_STATE_STREETPASS3
EXCLUSIVE_STATE_STREETPASS_DATA4

enum Daemon

EnumValue
DAEMON_CEC0
DAEMON_BOSS1
DAEMON_NIM2
DAEMON_FRIENDS3

enum DaemonMask

EnumValue
DAEMON_MASK_CEC1 << DAEMON_CEC
DAEMON_MASK_BOSS1 << DAEMON_BOSS
DAEMON_MASK_NIM1 << DAEMON_NIM
DAEMON_MASK_FRIENDS1 << DAEMON_FRIENDS

enum DaemonStatus

EnumValue
DAEMON_STATUS_BUSY0
DAEMON_STATUS_IDLE1
DAEMON_STATUS_SUSPENDING2
DAEMON_STATUS_SUSPENDED3

enum State

EnumValue
STATE_INITIAL0
STATE_SUSPENDED1
STATE_INFRASTRUCTURE_CONNECTING2
STATE_INFRASTRUCTURE_CONNECTED3
STATE_INFRASTRUCTURE_WORKING4
STATE_INFRASTRUCTURE_SUSPENDING5
STATE_INFRASTRUCTURE_FORCE_SUSPENDING6
STATE_INFRASTRUCTURE_DISCONNECTING7
STATE_INFRASTRUCTURE_FORCE_DISCONNECTING8
STATE_CEC_WORKING9
STATE_CEC_FORCE_SUSPENDING10
STATE_CEC_SUSPENDING11

Category:Services