CECD Services: Difference between revisions
→CECD Service "cecd:s": Put in the proper header codes |
|||
(13 intermediate revisions by 7 users not shown) | |||
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 34: | Line 34: | ||
|- | |- | ||
| 0x000900C2 | | 0x000900C2 | ||
| | | SetData (16*length+10 of CecMessageId buffer in cmdbuff[4] (always 16*8+10), CecMessageId* in cmdbuf[5]) | ||
|- | |- | ||
| 0x000A00C4 | | 0x000A00C4 | ||
| [[CECDU:GetSystemInfo|GetSystemInfo]] | | ReadData/[[CECDU:GetSystemInfo|GetSystemInfo]] | ||
|- | |- | ||
| 0x000B0040 | | 0x000B0040 | ||
| | | [[CECDU:Start|Start]] | ||
|- | |- | ||
| 0x000C0040 | | 0x000C0040 | ||
| | | [[CECDU:Stop|Stop]] | ||
|- | |- | ||
| 0x000D0082 | | 0x000D0082 | ||
| | | GetCecInfoBuffer | ||
|- | |- | ||
| 0x000E0000 | | 0x000E0000 | ||
| | | GetCecdState (returns CecStateAbbreviated in cmdbuf[2]) | ||
|- | |- | ||
| 0x000F0000 | | 0x000F0000 | ||
Line 64: | Line 64: | ||
|- | |- | ||
| 0x001E0082 | | 0x001E0082 | ||
| | | [[CECDU:GetEventLog|GetEventLog]] | ||
|- | |- | ||
| | | 0x001F0000 | ||
| | | [[CECDU:GetEventLogStart|GetEventLogStart]] | ||
|- | |- | ||
| | | 0x00200000 | ||
| | | [[CECDU:GetEventLogEntryCount|GetEventLogEntryCount]] | ||
|- | |- | ||
| 0x0021.... | | 0x0021.... | ||
Line 271: | Line 271: | ||
|- | |- | ||
| 0x04020002 | | 0x04020002 | ||
| | | GetCecInfoEventHandleSys | ||
|- | |- | ||
| | | 0x040A0000 | ||
| | | [[CECDS:SprCreate|SprCreate]] | ||
|- | |- | ||
| | | 0x040B0000 | ||
| | | [[CECDS:SprInitialise|SprInitialise]] | ||
|- | |- | ||
| 0x040C0042 | | 0x040C0042 | ||
| | | [[CECDS:SprGetSendSlotsMetadata|SprGetSendSlotsMetadata]] | ||
|- | |- | ||
| 0x040D0082 | | 0x040D0082 | ||
| | | [[CECDS:SprGetSlot|SprGetSlot]] | ||
|- | |- | ||
| | | 0x040E0080 | ||
| | | [[CECDS:SprSetTitleSent|SprSetTitleSent]] | ||
|- | |- | ||
| | | 0x040F0000 | ||
| | | [[CECDS:SprFinaliseSend|SprFinaliseSend]] | ||
|- | |- | ||
| | | 0x04100000 | ||
| | | [[CECDS:SprStartRecv|SprStartRecv]] | ||
|- | |- | ||
| 0x04110042 | | 0x04110042 | ||
| | | [[CECDS:SprSetRecvSlotsMetadata|SprSetRecvSlotsMetadata]] | ||
|- | |- | ||
| 0x041200C2 | | 0x041200C2 | ||
| | | [[CECDS:SprAddSlot|SprAddSlot]] | ||
|- | |- | ||
| | | 0x04130000 | ||
| | | [[CECDS:SprFinaliseRecv|SprFinaliseRecv]] | ||
|- | |- | ||
| | | 0x04140040 | ||
| | | [[CECDS:SprDone|SprDone]] | ||
|- | |- | ||
| | | 0x04150000 | ||
| | | [[CECDS:GenHashConsoleUnique|GenHashConsoleUnique]] | ||
|- | |- | ||
| 0x04160002 | | 0x04160002 | ||
Line 315: | Line 315: | ||
| ? | | ? | ||
|- | |- | ||
|} | |||
=== CecSprStatus === | |||
This enum is used internally of the cecd service to keep track of which state of an SPR exchange it is in currently. | |||
{| class="wikitable" border="1" | |||
! 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 | |||
| 6 | |||
| | |||
|} | |} | ||
Line 323: | Line 360: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0x00010000 | ||
| Initialize | | Initialize | ||
|- | |- | ||
| | | 0x00020000 | ||
| Deinitialize | | Deinitialize | ||
|- | |- | ||
| | | 0x00030000 | ||
| ResumeDaemon | | ResumeDaemon | ||
|- | |- | ||
| | | 0x00040040 | ||
| SuspendDaemon(bool immediately) | | SuspendDaemon(bool immediately) | ||
|- | |- | ||
| | | 0x00050000 | ||
| | | QueryStatus | ||
|- | |- | ||
| 0x00060042 | | 0x00060042 | ||
| | | GetNZoneInfo | ||
|- | |- | ||
| 0x00070042 | | 0x00070042 | ||
| | | SetNZoneSSIDList | ||
|- | |- | ||
| 0x00080042 | | 0x00080042 | ||
| | | SetNZoneMacFilter | ||
|- | |- | ||
|} | |} |