Function SimOneAPI::SendRouteMessage
-
Defined in File SimOneServiceAPI.h
Function Documentation
-
bool
SimOneAPI
::
SendRouteMessage
(
int
length
,
void
*
pBuffer
,
int
msgId
,
int
toNodeId
,
ESimOne_Client_Type
toNodeType
)
-
节点通信数据发送API
Node communication data sending API.
该函数用于向指定节点发送数据
This function is used to send data to a specified node.
- 参数 :
-
-
length – [in]
发送数据的长度
The length of the data to send.
-
pBuffer – [in]
发送数据的缓冲区指针
Pointer to the data buffer to be sent.
-
msgId – [in]
发送的消息ID
The ID of the message being sent.
-
toNodeId – [in]
消息接收节点的ID
ID of the node to which the message is sent.
-
toNodeType – [in]
消息接收节点的类型
Type of the node to which the message is sent.
-
- 返回 :
-
成功返回true,失败返回false
Returns true if successful, false otherwise.