IR Services: Difference between revisions
Socram8888 (talk | contribs) No edit summary  | 
				Socram8888 (talk | contribs) m Undo revision 12392 by Socram8888 (talk)  | 
				||
| Line 81: | Line 81: | ||
= IR Service "ir:USER" =  | = IR Service "ir:USER" =  | ||
{| class="wikitable" border="1"  | |||
|-  | |||
!  Command Header  | |||
!  Available since system version  | |||
!  Description  | |||
|-  | |||
| 0x00010182  | |||
| [[2.0.0-2]]  | |||
| InitializeIrnop  | |||
|-  | |||
| 0x00020000  | |||
| [[2.0.0-2]]  | |||
| FinalizeIrnop  | |||
|-  | |||
| 0x00030000  | |||
| [[2.0.0-2]]  | |||
| ClearReceiveBuffer  | |||
|-  | |||
| 0x00040000  | |||
| [[2.0.0-2]]  | |||
| ClearSendBuffer  | |||
|-  | |||
| 0x0005....  | |||
| [[2.0.0-2]]  | |||
| WaitConnection  | |||
|-  | |||
| 0x00060040  | |||
| [[2.0.0-2]]  | |||
| RequireConnection (u8 input)  | |||
|-  | |||
| 0x0007....  | |||
| [[2.0.0-2]]  | |||
| AutoConnection  | |||
|-  | |||
| 0x0008....  | |||
| [[2.0.0-2]]  | |||
| AnyConnection  | |||
|-  | |||
| 0x00090000  | |||
| [[2.0.0-2]]  | |||
| Disconnect  | |||
|-  | |||
| 0x000A0000  | |||
| [[2.0.0-2]]  | |||
| GetReceiveEvent (writes event handle to cmdreply[3])  | |||
|-  | |||
| 0x000B0000  | |||
| [[2.0.0-2]]  | |||
| GetSendEvent (writes event handle to cmdreply[3])  | |||
|-  | |||
| 0x000C0000  | |||
| [[2.0.0-2]]  | |||
| GetConnectionStatusEvent (writes event handle to cmdreply[3])  | |||
|-  | |||
| 0x000D0042  | |||
| [[2.0.0-2]]  | |||
| SendIrnop (u32 size, ((Size<<14) <nowiki>|</nowiki> 2), inbufptr)  | |||
|-  | |||
| 0x000E0042  | |||
| [[2.0.0-2]]  | |||
| SendIrnopLarge (u32 size, ((Size<<8) <nowiki>|</nowiki> 10), inbufptr)  | |||
|-  | |||
| 0x000F....  | |||
| [[2.0.0-2]]  | |||
| ReceiveIrnop  | |||
|-  | |||
| 0x0010....  | |||
| [[2.0.0-2]]  | |||
| ReceiveIrnopLarge  | |||
|-  | |||
| 0x0011....  | |||
| [[2.0.0-2]]  | |||
| GetLatestReceiveErrorResult  | |||
|-  | |||
| 0x0012....  | |||
| [[2.0.0-2]]  | |||
| GetLatestSendErrorResult  | |||
|-  | |||
| 0x0013....  | |||
| [[2.0.0-2]]  | |||
| GetConnectionStatus  | |||
|-  | |||
| 0x0014....  | |||
| [[2.0.0-2]]  | |||
| GetTryingToConnectStatus  | |||
|-  | |||
| 0x0015....  | |||
| [[2.0.0-2]]  | |||
| GetReceiveSizeFreeAndUsed  | |||
|-  | |||
| 0x0016....  | |||
| [[2.0.0-2]]  | |||
| GetSendSizeFreeAndUsed  | |||
|-  | |||
| 0x0017....  | |||
| [[2.2.0-X]]  | |||
| GetConnectionRole  | |||
|-  | |||
| 0x00180182  | |||
| [[2.2.0-X]]  | |||
| InitializeIrnopShared (u32, u32, u32, u32, u32, u8, 0, handle)  | |||
|-  | |||
| 0x00190040  | |||
| [[2.2.0-X]]  | |||
| ReleaseReceivedData (32bit_value input)  | |||
|-  | |||
| 0x001A0040  | |||
| [[2.2.0-X]]  | |||
| SetOwnMachineId (u8 input)  | |||
|}  | |||
This service was added with [[2.0.0-2]].  | |||
When sending data, SendIrnop is used when the size is <=0xFC, otherwise SendIrnopLarge is used.  | |||
= IR Service "ir:rst" =  | = IR Service "ir:rst" =  | ||