Difference between revisions of "NWMUDS:SendTo"

From 3dbrew
Jump to navigation Jump to search
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| ?
+
| u32, unknown.
 
|-
 
|-
 
| 2
 
| 2
| ?
+
| u16 destination NodeID bitmask. 0xFFFF = broadcast/all. Bit1 set = NodeID1, Bit2 set = NodeID2, and so on.
 
|-
 
|-
 
| 3
 
| 3
| ?
+
| u8, unknown.
 
|-
 
|-
 
| 4
 
| 4
Line 24: Line 24:
 
|-
 
|-
 
| 6
 
| 6
| ?
+
| u8, unknown.
 
|-
 
|-
 
| 7
 
| 7

Revision as of 06:34, 1 April 2016

Request

Index Word Description
0 Header code [0x00170182]
1 u32, unknown.
2 u16 destination NodeID bitmask. 0xFFFF = broadcast/all. Bit1 set = NodeID1, Bit2 set = NodeID2, and so on.
3 u8, unknown.
4 BufSize >> 2
5 Actual data size
6 u8, unknown.
7 (BufSize<<14) | 0x402
8 Pointer to the input buffer

Response

Index Word Description
0 Header code
1 Result code

Description

This sends a broadcast data frame, while connected to the UDS network. This is the sending version of NWMUDS:RecvBroadcastDataFrame. BufSize is 4-byte aligned version of "Actual data size".