Difference between revisions of "MP Services"

From 3dbrew
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Services]]
 
[[Category:Services]]
  
This is used for 3DS<>DS(i) local-WLAN communications.
+
This is used for 3DS<>DS(i) local-WLAN communications, via the DS<>DS wifi protocol.
  
 
See also [[MP_Registers|here]].
 
See also [[MP_Registers|here]].
Line 19: Line 19:
 
| 0x00020000
 
| 0x00020000
 
|  
 
|  
| ?
+
| [[MP:Initialize|Initialize]]
 
|-
 
|-
 
| 0x00030000
 
| 0x00030000
 
|  
 
|  
| ?
+
| [[MP:Shutdown|Shutdown]]
 
|-
 
|-
 
| 0x000400C0
 
| 0x000400C0
 
|  
 
|  
| (u32 unk0, s8 unk1, u32 unk2) ?
+
| [[MP:Bind|Bind]]
 
|-
 
|-
 
| 0x00050042
 
| 0x00050042
Line 35: Line 35:
 
| 0x00060000
 
| 0x00060000
 
|  
 
|  
| ?
+
| Used prior to [[MP:Shutdown]].
 
|-
 
|-
 
| 0x00070042
 
| 0x00070042
 
|  
 
|  
| ?
+
| [[MP:SetAppData|SetAppData]]
 
|-
 
|-
 
| 0x00080040
 
| 0x00080040
 
|  
 
|  
| (s8 unk) ?
+
| (s8 unk) Writes the input value into state as an u16, etc.
 
|-
 
|-
 
| 0x00090040
 
| 0x00090040
Line 79: Line 79:
 
| 0x00110080
 
| 0x00110080
 
|  
 
|  
| (u32 size, u32 unk) Sends data to a static buffer for output. Uses size value 0x1880 when size is >0x1880.
+
| [[MP:RecvDataFrame|RecvDataFrame]]
 
|-
 
|-
 
| 0x00120082
 
| 0x00120082
Line 91: Line 91:
 
| 0x001400C2
 
| 0x001400C2
 
|  
 
|  
| ?
+
| [[MP:SendDataFrame|SendDataFrame]]
 
|}
 
|}
 +
 +
=nodeID=
 +
This is an u32 value where the intended range is <16. It's unknown whether this is for nodes or some sessionID.

Latest revision as of 23:37, 28 January 2017


This is used for 3DS<>DS(i) local-WLAN communications, via the DS<>DS wifi protocol.

See also here.

MP service "mp:u"[edit]

Command Header Available since system-version Description
0x00010040 GetHandle
0x00020000 Initialize
0x00030000 Shutdown
0x000400C0 Bind
0x00050042 SetBeaconData
0x00060000 Used prior to MP:Shutdown.
0x00070042 SetAppData
0x00080040 (s8 unk) Writes the input value into state as an u16, etc.
0x00090040 (u16 unk) ?
0x000A0000 Unknown. Writes the output u16 to cmdreply[2].
0x000B0000 Unknown. Writes the output u32 to cmdreply[2].
0x000C0000 Unknown. Writes the output u32 to cmdreply[2].
0x000D00C2 ?
0x000E0084 ?
0x000F00C2 ?
0x00100000 ?
0x00110080 RecvDataFrame
0x00120082 ?
0x00130040 (u32 unk) ?
0x001400C2 SendDataFrame

nodeID[edit]

This is an u32 value where the intended range is <16. It's unknown whether this is for nodes or some sessionID.