Streetpass stuff.
CECD Service “cecd:u”
#
CecDataPathType
#
CecCommand
#
Name | Value | Notes |
---|
CEC_COMMAND_NONE | 0 | |
CEC_COMMAND_START | 1 | |
CEC_COMMAND_RESET_START | 2 | |
CEC_COMMAND_READYSCAN | 3 | |
CEC_COMMAND_READYSCANWAIT | 4 | |
CEC_COMMAND_STARTSCAN | 5 | |
CEC_COMMAND_RESCAN | 6 | |
CEC_COMMAND_NDM_RESUME | 7 | |
CEC_COMMAND_NDM_SUSPEND | 8 | |
CEC_COMMAND_NDM_SUSPEND_IMMEDIATE | 9 | |
CEC_COMMAND_STOPWAIT | 0xA | |
CEC_COMMAND_STOP | 0xB | |
CEC_COMMAND_STOP_FORCE | 0xC | |
CEC_COMMAND_STOP_FORCE_WAIT | 0xD | |
CEC_COMMAND_RESET_FILTER | 0xE | |
CEC_COMMAND_DAEMON_STOP | 0xF | |
CEC_COMMAND_DAEMON_START | 0x10 | |
CEC_COMMAND_EXIT | 0x11 | |
CEC_COMMAND_OVER_BOSS | 0x12 | |
CEC_COMMAND_OVER_BOSS_FORCE | 0x13 | |
CEC_COMMAND_OVER_BOSS_FORCE_WAIT | 0x14 | |
CEC_COMMAND_END | 0x15 | |
CecStateAbbreviated
#
Name | Value | Notes |
---|
CEC_STATE_ABBREV_IDLE | 1 | Corresponds to CEC_STATE_IDLE |
CEC_STATE_ABBREV_INACTIVE | 2 | Corresponds to CEC_STATEs *FINISH*, *POST, and OVER_BOSS |
CEC_STATE_ABBREV_SCANNING | 3 | Corresponds to CEC_STATE_SCANNING |
CEC_STATE_ABBREV_WLREADY? | 4 | Corresponds to CEC_STATE_WIRELESS_READY when some unknown bool is true |
CEC_STATE_ABBREV_OTHER | 5 | Corresponds to CEC_STATEs besides *FINISH*, *POST, and OVER_BOSS and those listed here |
CecMessageId
#
CECD Service “cecd:s”
#
This contains a similar (probably the same) command handler from
0x0001…. to 0x0021…. as them in cecd:u. In addition, it also
contains
Command Header | Description |
---|
0x0401…. | ? |
0x04020002 | GetCecInfoEventHandleSys |
0x040A…. | SprCreate |
0x040B…. | SprInitialise |
0x040C0042 | SprGetSendSlotsMetadata |
0x040D0082 | SprGetSlot title_id, write_buffer, buffer_size |
0x040E…. | SprSetTitleSent title_id, bool success |
0x040F…. | SprFinaliseSend |
0x0410…. | SprStartRecv |
0x04110042 | SprAddSlotsMetadata |
0x041200C2 | SprAddSlot |
0x0413…. | SprFinaliseRecv |
0x0414…. | SprDone bool success |
0x04150000 | GenHashConsoleUnique |
0x04160002 | ? |
0x0417…. | ? |
CecSprStatus
#
This enum is used internally of the cecd service to keep track of which
state of an SPR exchange it is in currently.
Name | Value | Notes |
---|
CEC_SPR_SEND_RECV_START | 0 | The internal objects were just created |
CEC_SPR_SEND_RECV_INIT | 1 | The internal objects for sending and receiving have been initialised |
CEC_SPR_SEND_READY | 2 | The sysmodule is ready for SPR Send, now it is possible to fetch the SPR data needed |
CEC_SPR_SEND | 3 | The other program should be sending the SPR request now |
CEC_SPR_RECEIVE_READY | 4 | The sysmodule is ready to receive SPR data now |
CEC_SPR_RECEIVE | 5 | The sysmodule is done receiving SPR data |
CEC_SPR_CONNECTION_FINISHED_TCP | 6 | |
CEC_SPR_CONNECTION_FINISHED | 7 | ??? Enum usage not found in source |
CEC_SPR_SEND_POST | 8 | ??? Enum usage not found in source |
CEC_SPR_RECEIVE_POST | 9 | ??? Enum usage not found in source |
CEC_SPR_FINISHING | 0x0F | ??? Enum usage not found in source |
CEC_SPR_FINISHED | 0x10 | ??? Enum usage not found in source |
CECD Service “cecd:ndm”
#
Command Header | Description |
---|
0x00010000 | Initialize |
0x00020000 | Deinitialize |
0x00030000 | ResumeDaemon |
0x00040040 | SuspendDaemon(bool immediately) |
0x00050000 | QueryStatus |
0x00060042 | GetNZoneInfo |
0x00070042 | SetNZoneSSIDList |
0x00080042 | SetNZoneMacFilter |
Category:Services