NWMUDS:SendTo

NWMUDS:SendTo

Request #

Index WordDescription
0Header code [0x00170182]
1Unused u32. Normally 0x1.
2u16 destination NetworkNodeID.
3u8 data_channel
4BufSize >> 2
5Actual data size
6u8 flags
7(BufSize<<14) | 0x402
8Pointer to the input buffer

Response #

Index WordDescription
0Header code
1Result code

Flags #

BitDescription
0Unknown, normally set.
1When 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 #

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.