CECD Service "cecd:u"

Command Header Description
0x000100C2 ?
0x00030104 ?
0x00070106 ? (16*length+10 of CecMessage buffer in cmdbuff[9] (always 16*8+10), CecMessage* in cmdbuf[10])
0x00080102 ?
0x000900C2 ? (16*length+10 of CecMessage buffer in cmdbuff[4] (always 16*8+10), CecMessage* in cmdbuf[5])
0x000A00C4 ?
0x000B0040 ?
0x000C0040 ?
0x000D0082 ?
0x000E0000 ? (returns some kind of enum value in cmdbuf[2])
0x000F0000 ? (returns some kind of synchronizable handle in cmdbuf[3])
0x00100000 ?
0x00110104 SetSendingData? (cmdbuf[3]: CecMessageType type, cmdbuf[5]: 0x20, cmdbuf[6]: u8* data_buf, cmdbuf[7]: u32 16*data_size+10)
0x00120104 ?

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

CecMessage

Type Field
char[8] data

CecMessageType

Name Value Notes
? 0x2 Corresponds to some 0x60-byte data
CECMESSAGE_BOX_ICON 0x65 Corresponds to the StreetPass "box" icon
CECMESSAGE_BOX_TITLE 0x6E Corresponds to the StreetPass "box" title

CECD Service "cecd:ndm"

Command Header Description
0x0001.... Initialize
0x0002.... Deinitialize
0x0003.... ResumeDaemon
0x0004.... SuspendDaemon(bool immediately)