NWMUDS:SendTo: Difference between revisions
No edit summary |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Unused u32. Normally 0x1. | ||
|- | |- | ||
| 2 | | 2 | ||
| | | u16 destination NetworkNodeID. | ||
|- | |- | ||
| 3 | | 3 | ||
| | | u8 [[NWMUDS:Bind|data_channel]] | ||
|- | |- | ||
| 4 | | 4 | ||
Line 24: | Line 24: | ||
|- | |- | ||
| 6 | | 6 | ||
| | | u8 flags | ||
|- | |- | ||
| 7 | | 7 | ||
Line 45: | Line 45: | ||
| Result code | | Result code | ||
|} | |} | ||
=Flags= | |||
{| class="wikitable" border="1" | |||
|- | |||
! Bit | |||
! Description | |||
|- | |||
| 0 | |||
| Unknown, normally set. | |||
|- | |||
| 1 | |||
| When set, broadcast the data frame via the destination MAC address, even when the NetworkNodeID isn't set for broadcast. | |||
|} | |||
This command ''only'' uses the input flags field for checking the above 2 bits, nothing more. | |||
=Description= | =Description= | ||
This sends a | This sends a data frame, while connected to the UDS network. This is the sending version of [[NWMUDS:PullPacket]]. BufSize is 4-byte aligned version of "Actual data size". The actual_datasize must be <= 0x5C6. |