CECD Services: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 43: | Line 43: | ||
|- | |- | ||
| 0x00110104 | | 0x00110104 | ||
| ? | | SetSendingData? (cmdbuf[3]: CecMessageType type, cmdbuf[5]: 0x20, cmdbuf[6]: u8* data_buf, cmdbuf[7]: u32 16*data_size+10) | ||
|- | |- | ||
| 0x00120104 | | 0x00120104 | ||
| Line 82: | Line 82: | ||
| u32 | | u32 | ||
| padding/unknown? | | padding/unknown? | ||
|- | |||
|} | |||
=== CecMessage === | |||
{| class="wikitable" border="1" | |||
! Type | |||
! Field | |||
|- | |||
| char[8] | |||
| 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 | |||
|- | |- | ||
|} | |} | ||
Revision as of 06:19, 2 November 2015
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 | ? |
CecMessage
| Type | Field |
|---|---|
| char[8] | data |
CecMessageData
| Type | Field |
|---|---|
| CecMessage | message |
| char[3200] | icon |
| uchar16_t[64] | title |
| char?[256] | body |
| u32 | unknown? |
| u32 | padding/unknown? |
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 |