nn::uds::CTR::SendTo Functionnn::Result SendTo( const EndpointDescriptor & endpointDesc, const void* data, size_t dataSize, u16 destNodeId, u8 port, bit8 option = 0x00 );
| Name | Description | |
|---|---|---|
| in | endpointDesc | Descriptor indicating the endpoint to use. |
| in | data | Pointer to the data to send. |
| in | dataSize | Size of the data to send. The maximum size of the data to send is UDS_PACKET_PAYLOAD_MAX_SIZE bytes. |
| in | destNodeId | Sending destination. Specify BROADCAST_NODE_ID to broadcast the data. |
| in | port | The port to use. Port number 0x00 is reserved by the system and cannot be used. |
| in | option | Sending options. Specifying NO_WAIT here will cause the function to send data immediately without storing in the UDS internal sending buffer. |
Sends data to the specified port on the specified partner's system. This function blocks until it has finished sending data.
CONFIDENTIAL