Line 10: |
Line 10: |
| |- | | |- |
| | 0x000100C2 | | | 0x000100C2 |
− | | [[CECDU:OpenRawFile|OpenRawFile]] | + | | Open/[[CECDU:OpenRawFile|OpenRawFile]] |
| |- | | |- |
| | 0x00020042 | | | 0x00020042 |
− | | [[CECDU:ReadRawFile|ReadRawFile]] | + | | Read/[[CECDU:ReadRawFile|ReadRawFile]] |
| |- | | |- |
| | 0x00030104 | | | 0x00030104 |
Line 22: |
Line 22: |
| |- | | |- |
| | 0x00050042 | | | 0x00050042 |
− | | [[CECDU:WriteRawFile|WriteRawFile]] | + | | Write/[[CECDU:WriteRawFile|WriteRawFile]] |
| |- | | |- |
| | 0x00060104 | | | 0x00060104 |
Line 31: |
Line 31: |
| |- | | |- |
| | 0x00080102 | | | 0x00080102 |
− | | DeleteMailbox (cmdbuff[1] title_id, cmdbuff[2] CecDataPathType, cmdbuff[3]?, cmdbuff[4] message_id_size?, cmdbuff[5] BufferMappingDescriptor(R), cmdbuff[6] CecMessageId*?) | + | | [[CECDU:Delete|Delete]] |
| |- | | |- |
| | 0x000900C2 | | | 0x000900C2 |
− | | ? (16*length+10 of CecMessageId buffer in cmdbuff[4] (always 16*8+10), CecMessageId* in cmdbuf[5]) | + | | SetData (16*length+10 of CecMessageId buffer in cmdbuff[4] (always 16*8+10), CecMessageId* in cmdbuf[5]) |
| |- | | |- |
| | 0x000A00C4 | | | 0x000A00C4 |
− | | GetSystemInfo (cmdbuff[1] buffer_size, cmdbuff[2] info_type, cmdbuff[3]param_size?, cmdbuff[4] BufferMappingDescriptor(R), cmdbuff[5] param_addr?, cmdbuff[6] BufferMappingDescriptor(W), cmdbuff[7] buffer_addr) | + | | ReadData/[[CECDU:GetSystemInfo|GetSystemInfo]] |
| |- | | |- |
| | 0x000B0040 | | | 0x000B0040 |
− | | RunCommand | + | | [[CECDU:Start|Start]] |
| |- | | |- |
| | 0x000C0040 | | | 0x000C0040 |
− | | RunCommandAlt (seems to be the same as RunCommand besides some extra checks) | + | | [[CECDU:Stop|Stop]] |
| |- | | |- |
| | 0x000D0082 | | | 0x000D0082 |
− | | ? | + | | GetCecInfoBuffer |
| |- | | |- |
| | 0x000E0000 | | | 0x000E0000 |
− | | GetCecStateAbbreviated (returns CecStateAbbreviated in cmdbuf[2]) | + | | GetCecdState (returns CecStateAbbreviated in cmdbuf[2]) |
| |- | | |- |
| | 0x000F0000 | | | 0x000F0000 |
Line 58: |
Line 58: |
| |- | | |- |
| | 0x00110104 | | | 0x00110104 |
− | | OpenAndWrite (cmdbuf[3]: CecMessageType type, cmdbuf[5]: 0x20, cmdbuf[6]: u8* data_buf, cmdbuf[7]: u32 16*data_size+10) | + | | [[CECDU:OpenAndWrite|OpenAndWrite]] |
| |- | | |- |
| | 0x00120104 | | | 0x00120104 |
Line 64: |
Line 64: |
| |- | | |- |
| | 0x001E0082 | | | 0x001E0082 |
− | | ? | + | | GetEventLog |
| |- | | |- |
− | | 0x001F.... | + | | 0x001F0000 |
− | | ? | + | | GetEventLogStart |
| |- | | |- |
| | 0x0020.... | | | 0x0020.... |
Line 118: |
Line 118: |
| | || 101 thru 199 (inclusive) | | | || 101 thru 199 (inclusive) |
| | data:/CEC/<id>/MBoxData.0<i-100> | | | data:/CEC/<id>/MBoxData.0<i-100> |
| + | |- |
| + | | CECMESSAGE_BOX_ICON || 101 |
| + | | data:/CEC/<id>/MBoxData.001 |
| + | |- |
| + | | CECMESSAGE_BOX_TITLE || 110 |
| + | | data:/CEC/<id>/MBoxData.010 |
| |} | | |} |
| | | |
Line 250: |
Line 256: |
| | char[8] | | | char[8] |
| | data | | | data |
− | |-
| |
− | |}
| |
− |
| |
− | === CecMessageType ===
| |
− | {| class="wikitable" border="1"
| |
− | ! 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
| |
| |- | | |- |
| |} | | |} |
Line 285: |
Line 271: |
| |- | | |- |
| | 0x04020002 | | | 0x04020002 |
− | | ? | + | | GetCecInfoEventHandleSys |
| |- | | |- |
| | 0x040A.... | | | 0x040A.... |
Line 337: |
Line 323: |
| ! Description | | ! Description |
| |- | | |- |
− | | 0x0001.... | + | | 0x00010000 |
| | Initialize | | | Initialize |
| |- | | |- |
− | | 0x0002.... | + | | 0x00020000 |
| | Deinitialize | | | Deinitialize |
| |- | | |- |
− | | 0x0003.... | + | | 0x00030000 |
| | ResumeDaemon | | | ResumeDaemon |
| |- | | |- |
− | | 0x0004.... | + | | 0x00040040 |
| | SuspendDaemon(bool immediately) | | | SuspendDaemon(bool immediately) |
| |- | | |- |
− | | 0x0005.... | + | | 0x00050000 |
− | | ? | + | | QueryStatus |
| |- | | |- |
| | 0x00060042 | | | 0x00060042 |
− | | ? | + | | GetNZoneInfo |
| |- | | |- |
| | 0x00070042 | | | 0x00070042 |
− | | ? | + | | SetNZoneSSIDList |
| |- | | |- |
| | 0x00080042 | | | 0x00080042 |
− | | ? | + | | SetNZoneMacFilter |
| |- | | |- |
| |} | | |} |