Function SimOneAPI::SendRouteMessage

Function Documentation

bool SimOneAPI::SendRouteMessage(int length, void *pBuffer, int msgId, int toNodeId, ESimOne_Client_Type toNodeType)

节点通信数据发送API

  • function: SendRouteMessage

  • brief: send data to other node.

参数
  • length[in] send data length.

  • pBuffer[in] send data

  • msgId[in] message id

  • toNodeId[in] the node’s id which the message send to

  • toNodeType[in] the node’s type which the message send to

返回

Success or not